armada# portupgrade -PP kde ---> Checking the availability of the latest package of 'x11/kde3' ---> Fetching the package(s) for 'kde-3.1.4' (x11/kde3) ---> Fetching kde-3.1.4 fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-5.1-release/All/kde -3.1.4.tbz: File unavailable (e.g., file not found, no access) ** The command returned a non-zero exit status: 1 ** Failed to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-5.1-rel ease/All/kde-3.1.4.tbz fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-5.1-release/All/kde -3.1.4.tgz: File unavailable (e.g., file not found, no access) ** The command returned a non-zero exit status: 1 ** Failed to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-5.1-rel ease/All/kde-3.1.4.tgz ** Failed to fetch kde-3.1.4 ** The following packages were not downloaded (*:skipped / !:failed) ! kde-3.1.4 (fetch error) ** No latest link for '' (x11/kde3) -- giving up ** Could not fetch the latest version '3.1.4' ** The package of 'x11/kde3' is not found. ** The following packages were not installed or upgraded (*:skipped / !:failed) ! x11/kde3 (kde-3.1.2) (package not found)
It looks like kde-3.1.4 is the latest package and it is not found at this (supposedly correct) URI: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-5.1-release/All/
OTOH I can see that kde-3.1.4 is located at this URI:
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages/All
This happens to many of packages installed on my system, not only kde.
Can I freely grab all I need from the above URI or I may be getting something compiled for a different platform?
Thanks a lot, Andrew
Kris Kennaway wrote:
On Wed, Oct 01, 2003 at 09:48:54PM -0700, Andrew Terekhov wrote:
Hi all,
I am running FreeBSD 5.1 Release. I updated all sources, ports and docs by cvsup. I am trying to do a binary upgrade of my system by installing latest packages. I run: portupgrade -aPPR. fetch phase fails to get packages because it goes to a wrong site: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-5.1-release/All
OTOH I can see that the latest packages that portupgrade trying to fetch are located here:
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-stable/All
Nope, those are the packages for RELENG_4; the 5.x packages are in packages-5-current. However fetch is actually doing the right thing in only fetching from the packages-5.1-release directory on your 5.1-RELEASE, because packages built for newer versions of FreeBSD-CURRENT are not guaranteed to work on 5.1-RELEASE.
How can I change URIs where fetch is looking for the latest packages?
See the pkg_add manpage.
Setting PKG_SITES environment variable doesn't have any effect.
Because that's not the right environment variable.
Kris
_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"