On Fri, 13 May 2005 05:27:25 -0700, Mark Knecht wrote:

> > Doing it this way will mess up your world file. 
> 
> Mess up?

Yes, by adding packages that shouldn't be there.

> > Most of the packages in
> > the list are dependencies that should be in world themselves. 
> 
> Should be in world...

Sorry, that should have read "should not be in world..."

> > with the result that if
> > you uninstall the package that required them in the first place, they
> > will remain as useless cruft on your system and not be cleaned out by
> > emerge depclean.
> 
> ???

For example. You emerge someprog, which has a dependency for somelib, so
emerge install both packages but only adds someprog to world. Then you
decide that you don't want someprog so you unmerge it, but somelib is
still there, even though nothing else requires it. Normally, emerge
depclean -p will show that somelib needs to be removed, but emerging
updates the way you suggest could result in it being in your world file,
so it will be considered as necessary to your system, even though the
only function it now fulfils is taking up hard disk space (and possibly
providing a security risk).


> > If you want to pick individual packages from "emerge -upv world" for
> > merging, merge them with the --oneshot argument to prevent them being
> > added to world.

> Humm....OK, or go back once in awhile and clean up your world file by
> hand.

Assuming you can remember which files you do and don't want, out of the
hundreds of extra lines you end up with in world. Trust me, I learned
this the hard way and spent some time cleaning things up. If you want to
do things the hard way, that's up to you - Gentoo is about choice :)

But you really shouldn't recommend this sort of bad practice to others
without at least warning them first.

The world file is a powerful concept in portage, if used correctly,.
Filling it up with a list of all installed packages completely negates
its usefulness.


-- 
Neil Bothwick

Hm..what's this red button fo|'».'NO CARRIER

Attachment: pgpTetX2M3x3T.pgp
Description: PGP signature

Reply via email to