On 9/20/05, Neil Bothwick <[EMAIL PROTECTED]> wrote:
On Tue, 20 Sep 2005 09:04:02 +0800, W.Kenworthy wrote:

> One point I have never seen mentioned is *why* would you *not* want a
> package in the world file - especially if you want it to be managed by
> the system?

The world file is for packages you have explicitly installed for
yourself, not their dependencies. If you put every package in world,
emerge will no longer be able to clean out dependencies that are no
longer needed.

For example, I have a package installed that used to depend on id3lib, but
the authors switched over to libid3tag for the latest version, so an
upgrade pulled in that package and id3lib is no longer required. Because
it is not in world, my next emerge depclean will remove it, provided
nothing else needs it. If it had been in world, it would have stayed on
my system forever, despite being totally unnecessary.

Since you've touched that detail, here is what I have:
- I run emerge -pv depclean and I get a list where I find these:
>>> These are the packages that I would unmerge:

 media-libs/libmpeg3
    selected: 1.5.2
   protected: none
     omitted: none

 x11-plugins/e_modules
    selected: 9999
   protected: none
     omitted: none

 media-libs/win32codecs
    selected: 20050216
   protected: none
     omitted: none

 x11-wm/e
    selected: 9999
   protected: none
     omitted: none

and so on..

So, I have two problems:
1) I'm using E(nlightenment) from cvs, and I don't have it (my option) in my world file. Therefore it's understandable why emerge wants to clean it. So, what can I do to be able to use depclean and not loose E. Adding all E-related packages to world would be a solution, but there's any other?

2) win32codecs was marked to be clean. why?
# equery d win32codecs
[ Searching for packages depending on win32codecs... ]
media-libs/xine-lib-1.0.1-r3
media-video/avifile-0.7.41.20041001-r1
media-video/mplayer-1.0_pre7-r1

This shows me that 3 other apps depend on win32codecs (or am I getting it wrong?). So I assume I shouldn't clean this otherwise I'll have problems next time I run mplayer, right?

Also,
# equery d libmpeg3  
[ Searching for packages depending on libmpeg3... ]
app-misc/evidence-9999

takes me back to 1). How can I ensure that dependencies of packages that are not in world file are not erased?

Cheers,
Fernando

Reply via email to