Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2003 00:02:02 +0200
From:      Viny <viny@scientiae.net>
To:        Robert Huff <roberthuff@rcn.com>, FREEBSD-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Pkgdb corrupted : doesn't recognized installed ports
Message-ID:  <20030611220202.GA49242@tchoubou.scientiae.net>
In-Reply-To: <16103.41594.620810.565966@jerusalem.litteratus.org>
References:  <20030611195110.GA48453@tchoubou.scientiae.net> <16103.41594.620810.565966@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 11, 2003 at 05:43:22PM -0400 or thereabouts, Robert Huff may have written :
> 	make a copy of the db
> 	delete the db
> 	rebuild the db from scratch
> 
> 	The last may take a while, depending on how fast your machine
> is, but it may save you a lot of grief.
> 	Then run pkg_version (or equivalent) and update as desired.

	Thanks for the answer.

	What exactly do you call the db ? /var/db/pkg/pkgdb.db ? or the whole
directory /var/db/pkg ?
	Upon examination it seems that some files disappeared with the crash.
Actually, some +CONTENTS files to be more precise. Which explains I can't do
anything with these ports.
	If there was a way to build /var/db/pkg from scratch I'd be very
happy =) Else, I plan to retrieve the cvs ports files matching the versions of
the programs installed on my computer and reinstall them.

	Viny



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