portupgrade, packages, and same versions
David Syphers
dsyphers at u.washington.edu
Thu Dec 2 18:27:48 PST 2004
On Thursday 02 December 2004 05:54 pm, Kris Kennaway wrote:
> On Thu, Dec 02, 2004 at 05:33:50PM -0800, David Syphers wrote:
> > On Thursday 02 December 2004 05:23 pm, David Syphers wrote:
> > > On Thursday 02 December 2004 03:13 pm, Kris Kennaway wrote:
> > > > What command-line are you using?
> > >
> > > Oops, sorry for the noise. I just realized that I was giving the -u
> > > option to portupgrade, and I can understand why it can't do that
> > > without building the port. Doing it without -u works fine.
> >
> > Or not, actually. It has nothing to do with the -u option. It fails
> > whenever it has to fetch the package (which it does successfully). The
> > next time it's run, when it has the package already, it succeeds. That
> > can't be a feature, can it?
>
> Again, show us, don't tell us.
yggdrasil# portupgrade -fuPP nasm-0.98.38_1,1
---> Checking for the latest package of 'devel/nasm'
---> Fetching the package(s) for 'nasm-0.98.38_1,1' (devel/nasm)
---> Fetching nasm-0.98.38_1,1
/var/tmp/nasm-0.98.38_1,1.tbz 100% of 133 kB 232 kBps
---> Downloaded as nasm-0.98.38_1,1.tbz
---> Identifying the package /var/tmp/nasm-0.98.38_1,1.tbz
---> Saved as /usr/ports/packages/All/nasm-0.98.38_1,1.tbz
---> Found a package of 'devel/nasm': nasm-0.98.38_1,1.tbz (nasm-0.98.38_1,1)
---> Located a package version 0.98.38_1,1 (nasm-0.98.38_1,1.tbz)
** Ignoring the package, which is the same version as is installed
(0.98.38_1,1)
** No package available: devel/nasm
** Listing the failed packages (*:skipped / !:failed)
! devel/nasm (nasm-0.98.38_1,1) (package not found)
---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
yggdrasil# portupgrade -fuPP nasm-0.98.38_1,1
---> Checking for the latest package of 'devel/nasm'
---> Found a package of 'devel/nasm': nasm-0.98.38_1,1.tbz (nasm-0.98.38_1,1)
---> Reinstalling 'nasm-0.98.38_1,1' (devel/nasm) using a package
---> Backing up the old version
---> Uninstalling the old version
---> Deinstalling 'nasm-0.98.38_1,1'
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 185 packages
found (-1 +0) (...) done]
pkg_info: can't find package 'nasm-0.98.38_1,1.tbz' installed or in a file!
---> Installing the new version via the package
---> Cleaning out obsolete shared libraries
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 186 packages
found (-0 +1) . done]
-David
--
"To get out of the Metaphysical Void, you either have to
grasp the meaning of the universe or roll doubles twice."
-Cecil Adams
More information about the freebsd-questions
mailing list