Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 2002 17:45:37 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Tillman Hodgson <tillman@seekingfire.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Ports database problem
Message-ID:  <20020604174537.A69404@xor.obsecurity.org>
In-Reply-To: <20020604183230.C29935@seekingfire.com>; from tillman@seekingfire.com on Tue, Jun 04, 2002 at 06:32:30PM -0600
References:  <20020604180503.A29935@seekingfire.com> <20020604172401.A68777@xor.obsecurity.org> <20020604183230.C29935@seekingfire.com>

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

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




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