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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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, > > > > > > This doesn't look healthy: > > > > > > [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) > > > > > > pkgdb -F doesn't correct it. Any ideas how I would go about manually > > > correcting the problem? > > > > Remove the portupgrade database files and let them be recreated. > > Like so: > > rm -rf /var/db/pkg/* > pkgdb -F > > ? 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE8/V8xWry0BWjoQKURAmZ4AJ9dxbthBhtbZezfoO6lXk9wVM9vnACeMPzp rmkcs1JzTvgBpHNKb4KuyR0= =sKMt -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020604174537.A69404>
