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

next in thread | previous in thread | raw e-mail | index | archive | help
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

?

Thanks,

- Tillman

-- 
I discovered the secret of the sea in meditation upon the dewdrop.
	Kahlil Gibran

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?20020604183230.C29935>