[another "me too"] Re: portindex/portindexdb

Matthew Seaman m.seaman at infracaninophile.co.uk
Mon Sep 6 23:24:56 PDT 2004


On Tue, Sep 07, 2004 at 06:32:23AM +0200, Nico Meijer wrote:
> Hi Joe,
> 
> >Sigh:
> 
> Lighten up! ;-)
> 
> >/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587:
> >[BUG] Bus Error
> >ruby 1.8.2 (2004-07-29) [i386-freebsd4]
> 
> Have you tried replacing the portsdb-sequence with `portindex && 
> portindexdb`?
> 
> So:
> 
> - cvsup (or whatever tool you use)
> - portindex
> - portindexdb
> - portversion -vL = (or whatever switches you use)
> 
> The upside to using portindex is that it merges changes instead of 
> building the entire index every time. So your first run will take quite 
> some time, but your following runs will run quite a bit faster.

Another workaround is simply to set:

    PORTS_DBDRIVER=bdb1_hash

in your environment, and then use portsdb and portupgrade as usual.
There are a number of variations on this workaround, but the other
ways of doing that involve installing some extra software.

See:

    http://lists.freebsd.org/pipermail/freebsd-ports/2004-September/015902.html    
    http://lists.freebsd.org/pipermail/freebsd-ports/2004-September/015922.html

	Cheers,

	Matthew

-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040907/3e9d206a/attachment.bin


More information about the freebsd-questions mailing list