Re: Setting fetch URIs for portupgrade
On Wed, Oct 01, 2003 at 09:48:54PM -0700, Andrew Terekhov wrote: 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 packages-stable is for FreeBSD 4.x -- these are not the packages you are looking for -- you should be looking for packages-current, as in: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-current/All which are compile for 5.x How can I change URIs where fetch is looking for the latest packages? Setting PKG_SITES environment variable doesn't have any effect. Editing /usr/local/etc/pkgtools.conf to set PKG_SITES also doesn't change where fetch is going. Handbook, man pages, googling, etc didn't find any references regarding how to configure fetch URIs. I don't want to compile everything through ports because life is short. What should I do? setenv PACKAGESITE ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-current/All/ pkg_add -r somepackagename-9.99.9.tbz (NB. the trailing slash / on that URL is important. Don't leave it out.) There are equivalents to these settings in pkgtools.conf Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: Setting fetch URIs for portupgrade
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 pgp0.pgp Description: PGP signature
Re: Setting fetch URIs for portupgrade
I am confused regarding where correct packages for 5.1 release are located. It seems that portupgrade is looking for correct names of the latest packages, but they are never located at the right URI. For example, 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]
Setting fetch URIs for portupgrade
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 How can I change URIs where fetch is looking for the latest packages? Setting PKG_SITES environment variable doesn't have any effect. Editing /usr/local/etc/pkgtools.conf to set PKG_SITES also doesn't change where fetch is going. Handbook, man pages, googling, etc didn't find any references regarding how to configure fetch URIs. I don't want to compile everything through ports because life is short. What should I do? Thanks a lot, Andrew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]