Portsnap and port versions
m.seaman at infracaninophile.co.uk
Sat Feb 10 12:32:31 UTC 2007
Robert Inder wrote:
> This morning, I tried "portsnap fetch" and "portsnap upgrade"...
> Looking up portsnap.FreeBSD.org mirrors... 2 mirrors found.
> Fetching snapshot tag from portsnap1.FreeBSD.org... done.
> But although it reported 3 metadata patches and 91 patches, it didn't
> change the "portupgrade" port: it is still 22.214.171.124.
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.
To see if your index is out of date, compare the output of:
make search name=portindex
make -V PKGNAME
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.
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070210/9f93f85b/signature.pgp
More information about the freebsd-questions