Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2006 20:12:02 -0600
From:      "Matthew D. Fuller" <fullermd@over-yonder.net>
To:        Randy Bush <randy@psg.com>
Cc:        freebsd-ports@freebsd.org, "Donald J. O'Neill" <duncan.fbsd@gmail.com>
Subject:   Re: portmanager confusion
Message-ID:  <20060314021202.GB58250@over-yonder.net>
In-Reply-To: <17430.9604.354593.968868@roam.psg.com>
References:  <17428.48090.416936.142264@roam.psg.com> <200603130644.04315.duncan.fbsd@gmail.com> <17429.38749.849413.396269@roam.psg.com> <200603131753.15083.duncan.fbsd@gmail.com> <17430.9604.354593.968868@roam.psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 13, 2006 at 04:08:04PM -1000 I heard the voice of
Randy Bush, and lo! it spake thus:
> 
> # portversion -v
> [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 542 packages found (-534 +534) (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:466: [BUG] Segmentation fault
> ruby 1.8.4 (2005-12-24) [i386-freebsd7]
> 
> Abort trap: 6 (core dumped)
> 
> as i said, i suspect a broken data structure in a file.  but what do
> i know?

The simple answer is "blow away the db file and rebuild it".  It takes
a couple minutes to do so on my system (with ~460 packages).


-- 
Matthew Fuller     (MF4839)   |  fullermd@over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.



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