error after cvsup

Matthew Seaman m.seaman at
Tue Sep 14 06:04:36 PDT 2004

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:         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list