Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Oct 2005 13:36:54 +0400
From:      "Andrew P." <infofarmer@gmail.com>
To:        bsd <bsd@todoo.biz>
Cc:        Liste FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Core Dump using portversion
Message-ID:  <cb5206420510060236g49de34f5s4b1434292d38ff44@mail.gmail.com>
In-Reply-To: <EC8A6AA6-BD22-4EBF-A621-0E13C819D954@todoo.biz>
References:  <EC8A6AA6-BD22-4EBF-A621-0E13C819D954@todoo.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/6/05, bsd <bsd@todoo.biz> wrote:
> Hello,
>
>
> We have one of our server that core dumps when we are trying to use
> portversion
>
> > ns2# portversion -l "<"
> > [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 168
> > packages found (-1 +1) (...). done]
> > [Failed `Inappropriate file type or format'] [Updating the portsdb
> > <format:bdb1_btree> in /usr/ports ... - 13568 port entries
> > found .........1000.........2000...[BUG] Segmentation fault
> > ruby 1.8.2 (2004-12-25) [i386-freebsd5]
> >
> > Abort (core dumped)
>
> So far I have :
>
> - de-install and re-install ruby.
> - de-install and re-install portupgrade.
>
> Nothing has changed...
>
>
> Our system is FreeBSD 5.2.1
>
>
> Do you have any clue regarding the way we can solve this issue ??


Try adding these lines to /usr/local/etc/pkgtools.conf, just
after other ENV's:

  ENV['PORTS_DBDRIVER'] =3D 'dbm_hash'
  ENV['PKG_DBDRIVER'] =3D 'dbm_hash'



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