pkgdb core dumb

John Nielsen lists at jnielsen.net
Thu Mar 23 16:53:49 UTC 2006


On Thursday 23 March 2006 11:11, Kaveh Ahmadian wrote:
> After a recent update, whenever I try to run the pkgdb (or any other
> command that in turn calls pkgdb I get an error resulting in a core dump:
>
> [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 24 packages
> found (-1 +2) (...).ruby18 in free(): error: chunk is already free
> Abort (core dumped)

I've seen this a number of times; it usually means a corrupt pkgdb.  Rebuild 
it from scratch (pkgdb -fu).  If that fails or if you still get the error 
afterwards, rebuild and reinstall portupgrade and ruby (without using 
portupgrade in the process).  Run 'pkgdb -fu' again after the reinstall.

JN


More information about the freebsd-stable mailing list