From owner-freebsd-questions@FreeBSD.ORG Fri Dec 3 02:27:48 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75A6816A4CE for ; Fri, 3 Dec 2004 02:27:48 +0000 (GMT) Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1041443D2D for ; Fri, 3 Dec 2004 02:27:48 +0000 (GMT) (envelope-from dsyphers@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) ESMTP id iB32Rl8W032307; Thu, 2 Dec 2004 18:27:47 -0800 Received: from yggdrasil.seektruth.org (c-67-171-38-33.client.comcast.net [67.171.38.33]) (authenticated bits=0)iB32Rko2006935 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Thu, 2 Dec 2004 18:27:46 -0800 From: David Syphers To: Kris Kennaway Date: Thu, 2 Dec 2004 18:27:50 -0800 User-Agent: KMail/1.7.1 References: <200412021201.50234.dsyphers@u.washington.edu> <200412021733.50294.dsyphers@u.washington.edu> <20041203015416.GA75573@xor.obsecurity.org> In-Reply-To: <20041203015416.GA75573@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200412021827.51245.dsyphers@u.washington.edu> cc: questions@freebsd.org Subject: Re: portupgrade, packages, and same versions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Dec 2004 02:27:48 -0000 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 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 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