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

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

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



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

Attachment: pgpAOnppkitGA.pgp
Description: PGP signature

Reply via email to