Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 2002 17:53:10 +0200
From:      Morsal Rodbay <morsal@swipnet.se>
To:        Ozone <ozone@theshop.net>
Cc:        rbm49@ext.canterbury.ac.nz, freebsd-questions@FreeBSD.ORG
Subject:   Re: pkgdb -u fails | ruby core dumps
Message-ID:  <20020411175310.A45395@darius.2y.net>
In-Reply-To: <3255.63.67.33.111.1018528708.squirrel@squirrel.theshop.net>; from ozone@theshop.net on Thu, Apr 11, 2002 at 07:38:28AM -0500
References:  <20020411010446.GA3589@ext.canterbury.ac.nz> <3255.63.67.33.111.1018528708.squirrel@squirrel.theshop.net>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Thu, Apr 11, 2002 at 07:38:28AM -0500, Ozone wrote:
> I had this happen to me about 3 months ago. I just portupgrade -fRr ruby and
> it went away.
> 
> > Readers,
> > 
> > I've recently upgraded portupgrade and ruby to the following versions:
> > 
> > portupgrade-20020330
> > ruby-1.6.7.2002.03.27
> > 
> > The trouble is that now I can't upgrade my pkg database. Whenever ruby
> > is called it core dumps. Here is a log of what occurs:
> > 
> > Script started on Thu Apr 11 12:57:02 2002
> > 
> > rbm49# pkgdb -u
> > 
> > [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 273
> >  packages found (-5 +5)
> >  (...)/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:375: [BUG]
> >  Segmentation fault
> > 
> > ruby 1.6.7 (2002-03-27) [i386-freebsd4]
> > 
> > Abort (core dumped)
> > 
> > rbm49# exit
> > 
> > Script done on Thu Apr 11 12:57:28 2002
> > 
> > 
> > Does anyone know how I can resolve this?

Rebuild your pkg database:

pkgdb -fu


Morsal
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjy1sWYACgkQMbZoiYpHA3ArTQCfZTzE1Q/UOoVnODM2fN54pEHl
0wIAn1bV2jH2xXc/MxzHGTFvyFuznsuP
=J2gO
-----END PGP SIGNATURE-----
help

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