issue with ports
Andrew J Caines
A.J.Caines at halplant.com
Fri May 23 17:00:58 PDT 2003
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 at halplant.com |
| "They that can give up essential liberty to obtain a little temporary |
| safety deserve neither liberty nor safety" - Benjamin Franklin, 1759 |
More information about the freebsd-stable
mailing list