From owner-freebsd-questions Thu Apr 11 8:53:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from darius.2y.net (korpen-86-209.ip-pluggen.com [212.181.86.209]) by hub.freebsd.org (Postfix) with ESMTP id BED9637B417 for ; Thu, 11 Apr 2002 08:53:16 -0700 (PDT) Received: by darius.2y.net (Postfix, from userid 1001) id DA2FD1C87; Thu, 11 Apr 2002 17:53:10 +0200 (CEST) Date: Thu, 11 Apr 2002 17:53:10 +0200 From: Morsal Rodbay To: Ozone 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> Reply-To: Morsal Rodbay References: <20020411010446.GA3589@ext.canterbury.ac.nz> <3255.63.67.33.111.1018528708.squirrel@squirrel.theshop.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i 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 X-Operating-System: FreeBSD 4.5 [up 6 days, 21:37, 1 user, load averages: 1.01, 1.01, 1.00] X-Return-Path: morsal@swipnet.se Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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 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