Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jun 2004 12:29:35 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Stephen Liu <satimis@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: cvsup vs portupgrade
Message-ID:  <20040607112935.GA19640@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <20040607091314.35152.qmail@web40304.mail.yahoo.com>
References:  <40C3FF3E.50100@elvandar.org> <20040607091314.35152.qmail@web40304.mail.yahoo.com>

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

--82I3+IH0IqGh5yIs
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jun 07, 2004 at 05:13:14PM +0800, Stephen Liu wrote:

> After running
>=20
> # cvsup -g /usr/local/etc/cvsup/ports-supfile
> # cvsup -g /usr/local/etc/cvsup/stable-supfile
> before running
> # portupgrade -aRr
>=20
> whether I need to run
>=20
> # pkgdb -F=20

You don't generally need to run this every time -- it does no harm if
you do though.  portupgrade(1) and friends will generally run this
automatically if needed.  If the dependencies get a bit mixed up, you
will be told that you need to run 'pkgdb -Fu'.

> # portsdb -Uu

This, or an equivalent command, is necessary.  Basically what it does
is build the INDEX or INDEX-5 file.  The command:

    # cd /usr/ports
    # make index

does basically the same thing.  Takes a while -- perhaps 10 -- 20
minutes on a typical machine.  Alternatively you can download a
freshly built copy from one of:

    http://www.freebsd.org/ports/INDEX
    http://www.freebsd.org/ports/INDEX-5

Those are about 5MiB apiece and they don't contain the effects of any
local settings from your /etc/make.conf.

	Cheers,

	Matthew=09

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--82I3+IH0IqGh5yIs
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAxFGfiD657aJF7eIRAqaHAJ9TjIsh2z9kcoLHBdD91rf4u9uBawCgqu7l
XcMccXiZCF8V36A3Krn5XPM=
=xaeu
-----END PGP SIGNATURE-----

--82I3+IH0IqGh5yIs--



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