Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Dec 2004 18:27:50 -0800
From:      David Syphers <dsyphers@u.washington.edu>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        questions@freebsd.org
Subject:   Re: portupgrade, packages, and same versions
Message-ID:  <200412021827.51245.dsyphers@u.washington.edu>
In-Reply-To: <20041203015416.GA75573@xor.obsecurity.org>
References:  <200412021201.50234.dsyphers@u.washington.edu> <200412021733.50294.dsyphers@u.washington.edu> <20041203015416.GA75573@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412021827.51245.dsyphers>