Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 May 2005 16:41:03 -0300
From:      Renato Botelho <rbgarga@gmail.com>
To:        "Jim C. Nasby" <decibel@decibel.org>
Cc:        stable@freebsd.org
Subject:   Re: Problem with portupgrade
Message-ID:  <747dc8f305052312415237b3a1@mail.gmail.com>
In-Reply-To: <20050523185010.GM44623@decibel.org>
References:  <20050523185010.GM44623@decibel.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 23/05/05, Jim C. Nasby <decibel@decibel.org> wrote:
> After updating my ports tree I'm getting this:
>=20
> decibel@flake.2[13:40]/usr/ports/sysutils/portupgrade:157>sudo portupgrad=
e -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 f=
ault
> ruby 1.8.2 (2004-12-25) [i386-freebsd4]
>=20
> 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'] ||=3D 'dbm_hash'
ENV['PORTS_DBDRIVER'] ||=3D 'dbm_hash'

and after it run these 2 commands

pkgdb -F
portsdb -u

to re-create the databases.

Regards
--=20
Renato Botelho
ICQ: 54596223
AIM: RBGargaBR



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