Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Mar 2004 07:18:45 -0500
From:      stan <stanb@panix.com>
To:        Free BSD Questions list <freebsd-questions@freebsd.org>
Subject:   Re: How can I rebuild prots databases?
Message-ID:  <20040305121845.GD2116@teddy.fas.com>
In-Reply-To: <20040305010629.GA89717@xor.obsecurity.org>
References:  <20040304130754.GA30619@teddy.fas.com> <20040304195232.GA75417@xor.obsecurity.org> <20040304213621.GA14544@teddy.fas.com> <20040305010629.GA89717@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 04, 2004 at 05:06:29PM -0800, Kris Kennaway wrote:
> On Thu, Mar 04, 2004 at 04:36:21PM -0500, stan wrote:
> > On Thu, Mar 04, 2004 at 11:52:32AM -0800, Kris Kennaway wrote:
> > > On Thu, Mar 04, 2004 at 08:07:54AM -0500, stan wrote:
> > > > I'n updating a bunch of older (around 4.2) machines. On ne of them I seem
> > > > to have managed to toatly muck up the ports dayabases :0(
> > > > 
> > > > I'm getting things like this when I run portupgrade:
> > > > 
> > > > !  (pgaccess-0.98.6)    (missing origin)
> > > > !  (acroread-3.02)      (missing origin)
> > > > !  (netscape-wrapper-2000.07.07)        (missing origin)
> > > 
> > > Whichever way you go you'll have to either reinstall these ports by
> > > hand or tell portupgrade where they live in the ports tree (see
> > > e.g. the -o flag to portupgrade).  You installed them before the ports
> > > collection started recording the location of the port used to install
> > > the package, so you can rebuild the databases as much as you like, but
> > > it won't fix it :)
> > 
> > 
> > AH, that explains what's goin on.
> > 
> > Is there a way to do this without spending a whole day or so doing things
> > manually?
> 
> I told you above how you'll have to go about solving it.  It shouldn't
> take more than a couple of minutes.

Well I spent about 3 hours yesterday afternoon filling in package names to pkgdb -F's prompts,
and I still can't get portupfrade to work :-)

What do I need to delete to just start from scratch, and build this by had?
Is portdb -F the correct way to be building it by hand?


-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
						-- Benjamin Franklin



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