Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Sep 2004 14:04:30 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Petre Bandac <petre.bandac@rdsnet.ro>
Cc:        pryan@singnet.com.sg
Subject:   Re: error after cvsup
Message-ID:  <20040914130430.GF43574@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <20040914155654.0dbec9a6@xxl.rdsbv.ro>
References:  <20040914132917.7c1396e5@xxl.rdsbv.ro> <200409141135.i8EBZV9H004919@northgate.starhub.net.sg> <20040914155654.0dbec9a6@xxl.rdsbv.ro>

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

--qp4W5+cUSnZs0RIF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Sep 14, 2004 at 03:56:54PM +0300, Petre Bandac wrote:

> conclusion:=20
>=20
> rm -rf /usr/ports
> mkdir /usr/ports && cvsup -g -L 2 ports-supfile
> make index
> portsdb -Uu
> pkgdb -Fvu
>=20
> is it the right method ?
=20
No.

You don't need to completely delete and redownload the whole ports
tree.  And running 'portsdb -U' does exactly the same thing as running
'make index' -- no need to do it twice.  And 'portsdb -u' will crash
in exactly the same way as you've seen before.

Just do this:

    # cvsup -g -L 2 ports-supfile
    # make index
    # setenv PORTS_DBDRIVER bdb1_hash
    # portsdb -u

The 'portsdb -u' command is where the crash usually occurs.  Once
you've got past that stage, you're home and dry.  Run
portupgrade/portversion/pkgdb as usual.

The bug is in the base system.  A fix has been committed to 6-CURRENT:
it should percolate down to 4-STABLE and 5-STABLE in the next few
days.

	Cheers,

	Matthew

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

--qp4W5+cUSnZs0RIF
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFBRuxeiD657aJF7eIRAjCIAJ9hozzXN8EU/QDnn1z1/vMwST/k/ACgr/8i
q04mKsf6azCrW2HYCWMeZSM=
=a2Bk
-----END PGP SIGNATURE-----

--qp4W5+cUSnZs0RIF--



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