Date: Thu, 20 May 2004 10:22:49 -0400 From: Michael Edenfield <kutulu@kutulu.org> To: Kris Kennaway <kris@obsecurity.org> Cc: Adam McLaurin <adam.mclaurin@gmx.net> Subject: Re: portupgrade misbehavior Message-ID: <20040520142249.GA9779@wombat.localnet> In-Reply-To: <20040520072031.GB65068@xor.obsecurity.org> References: <20040520025535.41b274ac.adam.mclaurin@gmx.net> <20040520070136.GA62040@xor.obsecurity.org> <20040520030710.448ae885.adam.mclaurin@gmx.net> <20040520031402.53da5a56.adam.mclaurin@gmx.net> <20040520072031.GB65068@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Kj7319i9nmIyA2yE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Kris Kennaway <kris@obsecurity.org> [040520 03:26]: > On Thu, May 20, 2004 at 03:14:02AM -0400, Adam McLaurin wrote: > > On Thu, 20 May 2004 03:07:10 -0400 > > Adam McLaurin <adam.mclaurin@gmx.net> wrote: > >=20 > > > -# ls -al /usr/ports/INDEX* > > > -rw-r--r-- 1 root wheel 5089899 May 1 08:57 /usr/ports/INDEX > > > -rw-r--r-- 1 root wheel 4947853 Mar 15 18:20 /usr/ports/INDEX-5 > > > -rw-r--r-- 1 root wheel 10911744 Apr 6 01:21 /usr/ports/INDEX.db > > >=20 > > > Looking at http://www.freshports.org/shells/zsh , the zsh port hasn't > > > been modified since March 23rd, so I should be OK on that front. > > >=20 > > >=20 > > > And portversion does also report that zsh is up-to-date: > > >=20 > > > -# portversion -v |grep -i zsh > > > zsh-4.2.0 =3D up-to-date with port > >=20 > > Hmm now I've got myself confused; is it INDEX or INDEX-5 I should be > > looking at here?=20 >=20 > INDEX-5 is for 5.x. >=20 > > In any case, even portversion reports zsh as up-to-date, so something > > does appear to be wrong. >=20 > Maybe portupgrade doesn't use the INDEX files any more. Try updating > your INDEX-5 either with portsdb -uU or by downloading from > www.freebsd.org/ports/INDEX-5 and retry. I'm pretty sure it doesn't, as my INDEX files are way out of date (I don't have Perl installed so 'make index' fails.) portversion hasn't noticed any updates in months but portupgrade still works as expected. (Of course, having the INDEXes online for download has solved this problem for me :) portversion also uses the INDEX.db, which hasn't been updated on Adam's machine since April 6. If you (Adam) run pkg_versio= n=20 you will note that is has quite a lot more outdated ports than portversion shows.=20 The fastest way to keep things updates is to download the new INDEX-5 entry then run 'portsdb -u', in that order. The -u will update INDEX.db =66rom the current INDEX file, and that's what portversion needs. I have this stuff running in my periodic/daily scripts and it works like a champ. --Mike --Kj7319i9nmIyA2yE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFArL85CczNhKRsh48RAhwmAKC5iEVRpOz9KHdWGX+/VJj6+UGwOACgjHfC so1UKifWQr7QTkz8bkxp+F4= =vPn6 -----END PGP SIGNATURE----- --Kj7319i9nmIyA2yE--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040520142249.GA9779>