Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Feb 2006 18:11:01 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        Freddie Cash <fcash@ocis.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Portsnap support on CURRENT
Message-ID:  <20060210231101.GA71545@xor.obsecurity.org>
In-Reply-To: <200602101440.50440.fcash@ocis.net>
References:  <1139607813.23382.20.camel@zappa.Chelsea-Ct.Org> <200602101440.50440.fcash@ocis.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--0OAP2g/MAC+5xKAE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Feb 10, 2006 at 02:40:49PM -0800, Freddie Cash wrote:
> On Friday 10 February 2006 01:43 pm, Paul Mather wrote:
> > I've noticed lately a lot of "succeeds port" messages when I run
> > portversion (from the portupgrade port) to list which of my packages
> > are out of date and require updating.  These messages are incorrect
> > (i.e., the "port has" version identified by portversion is older than
> > that in the actual port Makefile), and I don't get incorrect
> > identifications from either pkg_version or portmanager.  (I also don't
> > get this problem on a RELENG_6 system I have, either.)
>=20
> > After a little looking, I discovered that my /usr/ports/INDEX-7 file is
> > not being updated.  Investigation of the portsnap source reveals that
> > it only actually generates INDEX, INDEX-5, and INDEX-6 from portsnap
> > updates in extract_indices(); it doesn't generate INDEX-7.
>=20
> Workarounds until portsnap does it again, in order of length of time to=
=20
> generate INDEX-7:
>   cd /usr/ports ; make fetchindex
>   cd usr/ports ; make index
>   pkgdb -U

Should usually be good enough:

setenv INDEXFILE INDEX-6

Kris

--0OAP2g/MAC+5xKAE
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFD7R2FWry0BWjoQKURAnXjAJ4q4fWqAEHRWDeUSrP1e5vbuVWvkQCg9U72
yZcu81iuB1uWXMcuC9WQnV4=
=7iq0
-----END PGP SIGNATURE-----

--0OAP2g/MAC+5xKAE--



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