From owner-freebsd-questions Tue Jun 4 17:45:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-56.dsl.lsan03.pacbell.net [63.207.60.56]) by hub.freebsd.org (Postfix) with ESMTP id 548A337B400 for ; Tue, 4 Jun 2002 17:45:38 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id DB79166DE1; Tue, 4 Jun 2002 17:45:37 -0700 (PDT) Date: Tue, 4 Jun 2002 17:45:37 -0700 From: Kris Kennaway To: Tillman Hodgson Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Ports database problem Message-ID: <20020604174537.A69404@xor.obsecurity.org> References: <20020604180503.A29935@seekingfire.com> <20020604172401.A68777@xor.obsecurity.org> <20020604183230.C29935@seekingfire.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020604183230.C29935@seekingfire.com>; from tillman@seekingfire.com on Tue, Jun 04, 2002 at 06:32:30PM -0600 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 --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 04, 2002 at 06:32:30PM -0600, Tillman Hodgson wrote: > On Tue, Jun 04, 2002 at 05:24:02PM -0700, Kris Kennaway wrote: > > On Tue, Jun 04, 2002 at 06:05:03PM -0600, Tillman Hodgson wrote: > > > Howdy, > > >=20 > > > This doesn't look healthy: > > >=20 > > > [root@coyote ports]# portversion > > > /usr/local/lib/ruby/site_ruby/1.6/portsdb.rb:474: [BUG] Segmentation = fault > > > ruby 1.6.7 (2002-05-01) [i386-freebsd4] > > > Abort trap (core dumped) > > >=20 > > > pkgdb -F doesn't correct it. Any ideas how I would go about manually > > > correcting the problem? > >=20 > > Remove the portupgrade database files and let them be recreated. >=20 > Like so: >=20 > rm -rf /var/db/pkg/* > pkgdb -F >=20 > ? No, the _portupgrade_ database files. /var/db/pkg/pkgdb.db /usr/ports/INDEX.db If you blow away all of your package registration files there'll be nothing at all left for portupgrade or the package system to work with. Kris --ZGiS0Q5IWpPtfppv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE8/V8xWry0BWjoQKURAmZ4AJ9dxbthBhtbZezfoO6lXk9wVM9vnACeMPzp rmkcs1JzTvgBpHNKb4KuyR0= =sKMt -----END PGP SIGNATURE----- --ZGiS0Q5IWpPtfppv-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message