Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Apr 2004 00:42:56 -0700 (PDT)
From:      David Moler <dbmoler@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   broken pkgdb
Message-ID:  <20040422074256.32231.qmail@web10403.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
Greetings all,

I hope someone might be able to help me out.
My computer crashed while I was doing a portupgrade
-arR.  It seems that the +CONTENTS file was lost for
100 installed packages.  Following advice from various
mailing lists, I've tried rebuilding the pkgdb with
pkgdb -Fu (didn't fix problem) and creating empty
+CONTENTS files where they were deleted and rebuilding
with pkgdb -Fu (pkg_info runs okay, but pkg_version
reports each package "does not appear to be a valid
package!").  Others suggested deleting and
reinstalling the invalid packages, but I'm reluctant
to do this for 100 packages.  Is there any other way?

Thanks for your help.
David


	
		
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash



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