Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 May 2003 20:00:56 -0400
From:      Andrew J Caines <A.J.Caines@halplant.com>
To:        FreeBSD-STABLE <FreeBSD-STABLE@FreeBSD.org>
Subject:   Re: issue with ports
Message-ID:  <20030524000056.GJ383@hal9000.halplant.com>
In-Reply-To: <20030523214236.GA64636@moo.holy.cow>
References:  <00af01c320e0$271fe270$426f2a40@boondocks> <20030523065702.GD383@hal9000.halplant.com> <20030523214236.GA64636@moo.holy.cow>

next in thread | previous in thread | raw e-mail | index | archive | help
Parv,

> > # cd /usr/ports/ ; > INDEX ; > INDEX.db ; make index ; portsdb -Uu
> > # > /var/db/pkg/pkgdb.db ; pkgdb -u
> O! The Horrors!

That's nothing compared to updating Mozilla and JDK, at least on my box.

> Why are you obliterating INDEX* & pkgdb.db files?

I was answering a question. I don't mess with my INDEX like this.

> You do realize that you are digging your own grave in case indexing or
> installed ports db making fails, or the processes need to be stopped?

Nope. I can always get my INDEX file back if needed, or download it. The
db file can be remade any time.

> make index already takes care of INDEX, unfortunately, instead of keeping
> around the old copy unless index making succeeds.

I've never seen "make index" fail, so I doubt this is significant. I'm all
in favour of preserving data for recovery in case of failure, but in this
case wouldn't a filed "make index" imply that INDEX is/was inaccurate?

> By using -U option, you are rebuilding INDEX.  Why then you already built
> it once?  Like much the cooing & warmth oozing out of your computer?

I'm under contract with the ministry for redundancy ministry.

Actually, I only run "portsdb -Uu", not "make index". Again, mentioned
only for illustrative purposes. Thanks for spotting the unnecessary step.


-Andrew-
-- 
 _______________________________________________________________________
| -Andrew J. Caines-   Unix Systems Engineer   A.J.Caines@halplant.com  |
| "They that can give up essential liberty to obtain a little temporary |
|  safety deserve neither liberty nor safety" - Benjamin Franklin, 1759 |



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