portmanager confusion

Matthew D. Fuller fullermd at over-yonder.net
Tue Mar 14 02:12:05 UTC 2006

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 at over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.

More information about the freebsd-ports mailing list