Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Feb 2007 12:32:05 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Robert Inder <robert@interactive.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Portsnap and port versions
Message-ID:  <45CDBB45.3000906@infracaninophile.co.uk>
In-Reply-To: <f511wky43jv.fsf@3lg.org>

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

[-- Attachment #1 --]
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 2.1.3.3.

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:

    cd /usr/ports
    make search name=portindex

with 

   cd /usr/ports/ports-mgmt/portupgrade
   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.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.2 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFzbtL8Mjk52CukIwRCMITAJ4i2qiw9/f9tLPVVzP3NO41Oh2dsACferSt
tqDSU0RKymHDfj5nDSbEG80=
=jMIG
-----END PGP SIGNATURE-----
help

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