Portsnap support on CURRENT
Kris Kennaway
kris at obsecurity.org
Fri Feb 10 15:11:12 PST 2006
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.)
>
> > 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.
>
> Workarounds until portsnap does it again, in order of length of time to
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060210/e4c72bf3/attachment.bin
More information about the freebsd-current
mailing list