Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jan 2002 00:58:11 -0800 (PST)
From:      Annelise Anderson <andrsn@andrsn.stanford.edu>
To:        daniel.tang@chronicle.com
Cc:        newbies@FreeBSD.ORG
Subject:   Re: From cleaning ports to rebuilding ports
Message-ID:  <Pine.BSF.4.10.10201100054270.28141-100000@andrsn.stanford.edu>
In-Reply-To: <Pine.GSO.4.33.0201081338060.18952-100000@mencken>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 8 Jan 2002, Daniel Tang wrote:

> 
> Hello,
> 
> I used portupgrade to upgrade all my ports.  Seemed to work like a charm.
> But then, somehow my package database went bad.  I did make a
> backup of /var/db/pkg, but after installing some newer ports, the package
> database incorrectly lists the versions of the ports.
> 
> Is there a way to rebuild the package database from scratch?
> 
> 
> BTW, I followed the instructions per:
> 
> http://www.onlamp.com/pub/a/bsd/2001/11/29/Big_Scary_Daemons.html
> 
> 
> 					--D
> 
> 
portupgrade also comes with pkgdb, which you run with the -F switch
(I think pkgdb is listed on the portupgrade man page and also has
its own manual page). portupgrade -nav (don't do anything except,
verbosely, list what would be done) invites you to use pkgdb to
update the database before it is run.

	Annelise


-- 
Annelise Anderson
Author of: 		 FreeBSD: An Open-Source Operating System for Your PC
Available from:	 BSDmall.com and amazon.com
Book Website:    http://www.bittreepress.com/FreeBSD/introbook/	




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10201100054270.28141-100000>