Core Dump using portversion

Andrew P. infofarmer at gmail.com
Thu Oct 6 02:36:56 PDT 2005


On 10/6/05, bsd <bsd at 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'] = 'dbm_hash'
  ENV['PKG_DBDRIVER'] = 'dbm_hash'


More information about the freebsd-questions mailing list