Re: Portsnap support on CURRENT
- From: Scott Robbins <scottro@xxxxxxxxxx>
- Date: Fri, 10 Feb 2006 17:27:33 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, Feb 10, 2006 at 04:43:33PM -0500, 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.
So, is /usr/sbin/portsnap currently supported on CURRENT? It appears to
keep /usr/ports up to date, just not the index file. For now, I've
switched to using sysutils/portmanager from ports for upgrading ports,
but I'm not entirely happy with that for a variety of reasons. Plus,
some /usr/ports/UPDATING instructions advocate using portupgrade
explicitly, so it would be nice to have portupgrade working fully. :-)
I had the same problem (on CURRENT, with 6.x working perfectly.) Like
you I tracked it down to the INDEX file not being updated.
My temporary hack is to simply rn pkgdb -Fu (hrm, who thought of those
flags?) :) before running portversion.
- --
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
Drusilla: Your face is a poem. I can read it.
Xander: It doesn't say 'spare me' by any chance?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
iD8DBQFD7RNV+lTVdes0Z9YRAut+AJ9DHw6gITkhvEFcaMIuQwBUmSiYzACghlWG
ya2mwldzlGpP0Eq2XUxQXVU=
=9/Uh
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"
- References:
- Portsnap support on CURRENT
- From: Paul Mather
- Portsnap support on CURRENT
- Prev by Date: Portsnap support on CURRENT
- Next by Date: Re: Portsnap support on CURRENT
- Previous by thread: Portsnap support on CURRENT
- Next by thread: Re: Portsnap support on CURRENT
- Index(es):
Relevant Pages
|