Date: Sat, 09 Jul 2011 12:05:55 -0700 From: "Thomas D. Dean" <tomdean@speakeasy.org> To: freebsd-questions@freebsd.org Subject: Re: Portupgrade Package Question Message-ID: <1310238355.10903.36.camel@asus> In-Reply-To: <20110709204737.0155d911.freebsd@edvax.de> References: <1310231643.10903.15.camel@asus> <4E189ACC.1090101@xaerolimit.net> <1310236380.10903.22.camel@asus> <20110709204737.0155d911.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2011-07-09 at 20:47 +0200, Polytropon wrote: > On Sat, 09 Jul 2011 11:33:00 -0700, Thomas D. Dean wrote: > > > /usr/bin/fetch -v > > 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8-STABLE/All/m4-1.4.16,1.tbz' > > looking up ftp.FreeBSD.org > > connecting to ftp.FreeBSD.org:21 > > fetch: > > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8-STABLE/All/m4-1.4.16,1.tbz: File unavailable (e.g., file not found, no access) > > It's quite simple if you investigate the content of the FTP server. :-) > > Doesn't work: > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-STABLE/All/m4-1.4.16,1.tbz > > Works: > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/All/m4-1.4.16,1.tbz > > Just change "packages-8-STABLE" to "packages-8-stable" and try again. > > > Yes. My error. I did not completely remove 8.2-RELEASE when I edited pkgtools.conf the 2nd time. I introduced this error when I typed the fetch command. Sorry. My original problem still exists: portupgrade fails with any out-of-date package. I should have sent the console output the first time... I restored pkgtools.conf to the original version, from the initial installation. Here is the output of the portupgrade attempt: > uname -a FreeBSD toshiba.tddhome 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > portupgrade --version portupgrade 2.4.8 > portupgrade -PPv m4 ---> Session started at: Sat, 09 Jul 2011 11:55:55 -0700 ---> Checking for the latest package of 'devel/m4' ---> Found a package of 'devel/m4': /usr/ports/packages/All/m4-1.4.15,1.tbz (m4-1.4.15,1) ---> Fetching the package(s) for 'm4-1.4.16,1' (devel/m4) ---> Fetching m4-1.4.16,1 ++ Will try the following sites in the order named: ftp://ftp.FreeBSD.org//pub/FreeBSD/ports/i386/packages-8.2-release/ ---> Invoking a command: /usr/bin/fetch -o '/var/tmp/portupgrademXjhTdVX/m4-1.4.16,1.tbz' 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8.2-release/All/m4-1.4.16,1.tbz' fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8.2-release/All/m4-1.4.16,1.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-8.2-release/All/m4-1.4.16,1.tbz ---> Invoking a command: /usr/bin/fetch -o '/var/tmp/portupgrademXjhTdVX/m4-1.4.16,1.txz' 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8.2-release/All/m4-1.4.16,1.txz' fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8.2-release/All/m4-1.4.16,1.txz: 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-8.2-release/All/m4-1.4.16,1.txz ---> Invoking a command: /usr/bin/fetch -o '/var/tmp/portupgrademXjhTdVX/m4-1.4.16,1.tgz' 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8.2-release/All/m4-1.4.16,1.tgz' fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8.2-release/All/m4-1.4.16,1.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-8.2-release/All/m4-1.4.16,1.tgz ** Failed to fetch m4-1.4.16,1 ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) ! m4-1.4.16,1 (fetch error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed ---> Fetching the latest package(s) for 'm4' (devel/m4) ---> Fetching m4 ++ Will try the following sites in the order named: ftp://ftp.FreeBSD.org//pub/FreeBSD/ports/i386/packages-8.2-release/ ---> Invoking a command: /usr/bin/fetch -o '/var/tmp/portupgradeyQuqTSRB/m4.tbz' 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8.2-release/Latest/m4.tbz' /var/tmp/portupgradeyQuqTSRB/m4.tbz 100% of 185 kB 144 kBps ---> Downloaded as m4.tbz ---> Identifying the package /var/tmp/portupgradeyQuqTSRB/m4.tbz ---> Saved as /usr/ports/packages/All/m4-1.4.15,1.tbz ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) + m4@ ---> Packages processed: 1 done, 0 ignored, 0 skipped and 0 failed ---> Found a package of 'devel/m4': /usr/ports/packages/All/m4-1.4.15,1.tbz (m4-1.4.15,1) ---> Located a package version 1.4.15,1 (/usr/ports/packages/All/m4-1.4.15,1.tbz) ---> ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) ! devel/m4 (m4-1.4.15,1) (package not found) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed ---> Session ended at: Sat, 09 Jul 2011 11:56:29 -0700 (consumed 00:00:33) tomdean
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1310238355.10903.36.camel>