From owner-freebsd-questions@FreeBSD.ORG Sun Feb 11 17:13:30 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 642DB16A400 for ; Sun, 11 Feb 2007 17:13:30 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id 019E213C4AC for ; Sun, 11 Feb 2007 17:13:28 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.4) with SMTP id EAA00489; Mon, 12 Feb 2007 04:13:13 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 12 Feb 2007 04:13:12 +1100 (EST) From: Ian Smith To: Robert Inder In-Reply-To: <20070210190538.B3FD816A4A9@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: Portsnap and port versions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Feb 2007 17:13:30 -0000 On Sat, 10 Feb 2007 18:22:07 +0000 Robert Inder wrote: > I asked for help because I was getting an out-of-date version of > portupgrade --- 2.1.3 instead of 2.2.2 --- even though I had usedn > portsnap. > > >>>>> Matthew Seaman writes: > > Subject: Re: Portsnap and port versions > > : > : > > > To see if your index is out of date, compare the output of: > > > cd /usr/ports > > make search name=portindex > > > with > > > cd /usr/ports/ports-mgmt/portupgrade > > make -V PKGNAME > > BINGO!!! I was installing sysutils/portupgrade. > > I knew that portupgrade was in sysutils, so I went straight to it and > used it... > > It didn't occur to me that there might be ANOTHER sysutils somewhere > else in the ports tree. > > But there was, and the one in ports-mgmt had been updated by > portsnap, so when I installed in THERE... That seems odd, actually. I did a portsnap fetch then portsnap update yesterday (albeit for 5-STABLE), which deleted a bunch of moved ports, including sysutils/portupgrade, as well as adding the ports-mgmt ones. I did have to do what Matthew and others have suggested, frankly a bit more helpful to me than the 20070205: clue in /usr/ports/UPDATING .. # pkgdb -F # pkg_delete portupgrade-\* # cd /usr/ports/ports-mgmt/portupgrade # make install .. but that was after noticing that pkgdb -F was already whinging that it couldn't chdir to /usr/ports/sysutils/portupgrade, so I'm surprised that portsnap fetch plus portsnap update hadn't deleted it for you too? > > Then use portupgrade as usual to upgrade whatever else you want to. > Yup! Cheers, Ian