Problem with portupgrade
rbgarga at gmail.com
Mon May 23 12:41:05 PDT 2005
On 23/05/05, Jim C. Nasby <decibel at decibel.org> wrote:
> After updating my ports tree I'm getting this:
> decibel at flake.2[13:40]/usr/ports/sysutils/portupgrade:157>sudo portupgrade -a
> [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 354 packages found (-3 +2)
> (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:466: [BUG] Segmentation fault
> ruby 1.8.2 (2004-12-25) [i386-freebsd4]
> I've tried manually reinstalling both ruby and portupgrade to no avail.
Try to add the following lines to your /usr/local/etc/pkgtools.conf
ENV['PKG_DBDRIVER'] ||= 'dbm_hash'
ENV['PORTS_DBDRIVER'] ||= 'dbm_hash'
and after it run these 2 commands
to re-create the databases.
More information about the freebsd-stable