On Sun, 18 Dec 2005 20:24:43 -0500, Philip Webb wrote:

> > No wonder you find world unsatisfactory
> > unless you use --oneshot every time
> 
> Of course I do, when the package is not already in world or system:
> there's now an easy abbreviation '-1'.

I know about, and use, -1, but the full name makes the post more
understandable to those that don't.


> >> Otherwise, I keep a list of all the packages I have installed
> >> -- something Gentoo should provide automatically, but 'world'
> >> doesn't,

> > Yes it does. world provides a list of all packages YOU have installed.
> 
> Rubbish !  It doesn't list packages installed in support of another
> during the same emerge command.

Read what I wrote again. Hell, I even emphasised YOU and you missed it.
Dependencies are installed by portage, not the user. I don't give a
flying fig whether libfoo is installed or why it was installed, as long
as the packages that need it can find it. However, I don't want cruft on
my system, and world lets me avoid that, because I can remove all
packages that were neither installed by me nor a dependency of something
else.

> >   qpkg -I
> >   equery list
> >   find /var/db/pkg -name '*.ebuild'
> > will all do this.
> 
> Yes exactly, as I said, I started my own list from 'qpkg -I',
> but that doesn't update the list nor tell me when/why I installed
> things.

The list is automatically updated, it is in /var/db, just not as a single
text file like world. As for when you installed things, this information
is in /var/log/emerge.log, which can be read manually or parsed by tools
like genlop. I don't think anything is intelligent enough to work out why
you installed a package. If you mean to mark what pulled it in as a
dependency, that information is irrelevant. Does it really matter which
package caused X to be installed (probably kdebase on my systems)
when so many others depend on it. The original dependent package may not
even be present, as with kdebase here.

> Really, I am constantly shocked by the blinkers some people wear:
> "That's the way you're supposed to do it & everyone else does".

The quote should be "that's how world is supposed to be used". You are
trying to do something for which world was not designed. Don't blame a
hammer because it does a poor job of driving in screws, find a
screwdriver instead.

> Anyway, enough of this side-issue for now.

The world concept is a core part of Gentoo, it can never be considered a
side issue. The main problem with world is the number of people that do
not understand the concept correctly. Not because they are stupid, but
because it is not obviously documented in the handbook, I too screwed up
my world file on my first Gentoo system. 


-- 
Neil Bothwick

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

Attachment: signature.asc
Description: PGP signature

Reply via email to