From owner-freebsd-questions@FreeBSD.ORG Sat Feb 10 12:32:31 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 9561216A4A6 for ; Sat, 10 Feb 2007 12:32:31 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.187.76.162]) by mx1.freebsd.org (Postfix) with ESMTP id E8E6B13C4BD for ; Sat, 10 Feb 2007 12:32:30 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from [IPv6:::1] (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.13.8/8.13.8) with ESMTP id l1ACWBZP057733; Sat, 10 Feb 2007 12:32:11 GMT (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <45CDBB45.3000906@infracaninophile.co.uk> Date: Sat, 10 Feb 2007 12:32:05 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 1.5.0.9 (X11/20070120) MIME-Version: 1.0 To: Robert Inder References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigB4C9244FC4B928F37EFDC491" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Sat, 10 Feb 2007 12:32:26 +0000 (GMT) X-Virus-Scanned: ClamAV 0.88.7/2546/Sat Feb 10 08:55:09 2007 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00, DKIM_POLICY_TESTING,NO_RELAYS autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on happy-idiot-talk.infracaninophile.co.uk 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: Sat, 10 Feb 2007 12:32:31 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB4C9244FC4B928F37EFDC491 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Robert Inder wrote: > This morning, I tried "portsnap fetch" and "portsnap upgrade"... >=20 > Looking up portsnap.FreeBSD.org mirrors... 2 mirrors found. > Fetching snapshot tag from portsnap1.FreeBSD.org... done. >=20 > But although it reported 3 metadata patches and 91 patches, it didn't > change the "portupgrade" port: it is still 2.1.3.3. Is your ports INDEX file up to date? I believe portsnap should provide you with an updated INDEX automatically, or you can use 'make fetchindex'= to grab something recently built or (blowing my own trumpet here) there's= the ports-mgmt/p5-FreeBSD-Portindex port if you'ld like to build your own= =2E To see if your index is out of date, compare the output of: cd /usr/ports make search name=3Dportindex with=20 cd /usr/ports/ports-mgmt/portupgrade make -V PKGNAME=20 The latst version (as of this morning) is portupgrade-2.2.2_4,2 Also note that the bug you encountered with portupgrade saying: "missing key: categories: Cannot read the portsdb!" was compounded by moving the portupgrade port from sysutils/portupgrade to ports-mgmt/portupgrade. That has caused some confusion to various tools. The fix is fairly simple: # pkgdb -F # pkg_delete portupgrade-\* # cd /usr/ports/ports-mgmt/portupgrade # make install Then use portupgrade as usual to upgrade whatever else you want to. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigB4C9244FC4B928F37EFDC491 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.2 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFzbtL8Mjk52CukIwRCMITAJ4i2qiw9/f9tLPVVzP3NO41Oh2dsACferSt tqDSU0RKymHDfj5nDSbEG80= =jMIG -----END PGP SIGNATURE----- --------------enigB4C9244FC4B928F37EFDC491--