Hi,
   Is hand editing /var/lib/portage/world OK?

   I had noticed this problem the other day while working on an
Evolution problem on my dad's machine. In that case I had started and
emerge -e gnome, emerge was after alsa-driver but then the alsa-driver
ebuild correctly decided to not install alsa-driver and in the end I
just worked around it. There were some inputs at the time that
possibly some other package wanted alsa-driver and that's why it was
being called.

   To investigate what's going on I've gone back and finished up the
emerge world operation on the machine. At every step along the way
emerge has wanted alsa-driver but, if I emerged the packages on the
list by hand, alsa-driver wasn't needed. I am now down to this point:

gandalf root # uname -r
2.6.9-gentoo-r4
gandalf root # emerge -pv world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild  NS   ] media-sound/alsa-driver-1.0.8  -debug -doc +oss 0 kB

Total size of downloads: 0 kB
gandalf root # emerge -pv system

These are the packages that I would merge, in order:

Calculating system dependencies ...done!

Total size of downloads: 0 kB
gandalf root #


So it seems to me that on this system it is  nothing other than the
'world' class which is incorrectly telling portage to emerge
alsa-driver. Am I right?

According to man emerge the world class is system plus the files
listed in /var/lib/portage/world. Looking at that file I see this:

gandalf root # cat /var/lib/portage/world | grep alsa
media-sound/alsa-utils
media-libs/alsa-oss
media-libs/alsa-lib
media-sound/alsa-headers
media-sound/alsa-tools
media-sound/alsaplayer
media-sound/alsa-driver
media-plugins/alsa-jack
media-sound/alsa-firmware

It would seem to me that I could remove alsa-driver from this file by
hand and the problem would likely go away but I wanted to make sure I
wasn't missing some corner case that says I shouldn't do that. If I
comment it out then emerge seems happy. Will I be happy too?

gandalf root # emerge -pv world
 
These are the packages that I would merge, in order:
 
Calculating world dependencies ...done!
 
Total size of downloads: 0 kB
gandalf root #


Thanks in advance,
Mark

--
[email protected] mailing list

Reply via email to