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>

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

--gKMricLos+KVdGMg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.
>=20
> > Readers,
> >=20
> > I've recently upgraded portupgrade and ruby to the following versions:
> >=20
> > portupgrade-20020330
> > ruby-1.6.7.2002.03.27
> >=20
> > 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:
> >=20
> > Script started on Thu Apr 11 12:57:02 2002
> >=20
> > rbm49# pkgdb -u
> >=20
> > [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
> >=20
> > ruby 1.6.7 (2002-03-27) [i386-freebsd4]
> >=20
> > Abort (core dumped)
> >=20
> > rbm49# exit
> >=20
> > Script done on Thu Apr 11 12:57:28 2002
> >=20
> >=20
> > Does anyone know how I can resolve this?

Rebuild your pkg database:

pkgdb -fu


Morsal
--gKMricLos+KVdGMg
Content-Type: application/pgp-signature
Content-Disposition: inline

-----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-----

--gKMricLos+KVdGMg--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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