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>
References:  <f511wky43jv.fsf@3lg.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigB4C9244FC4B928F37EFDC491
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

Robert Inder wrote:

> This morning, I tried "portsnap fetch" and "portsnap upgrade"...
>=20
>    Looking up portsnap.FreeBSD.org mirrors... 2 mirrors found.
>    Fetching snapshot tag from portsnap1.FreeBSD.org... done.
>=20
> 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=
=2E

To see if your index is out of date, compare the output of:

    cd /usr/ports
    make search name=3Dportindex

with=20

   cd /usr/ports/ports-mgmt/portupgrade
   make -V PKGNAME=20

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

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


--------------enigB4C9244FC4B928F37EFDC491
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----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-----

--------------enigB4C9244FC4B928F37EFDC491--



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