[gentoo-user] Re: provided kernel

2008-12-27 Thread Nikos Chantziaras

Simon wrote:

Hi there,
  long ago i installed a 2.6.24 kernel in /usr/src manually.  I had 
added the

line sys-kernel/vanilla-sources-2.6.24 (without quotes) to the file
/etc/portage/profile/package.provided.  There is no kernel in
/var/lib/portage/world...  This may be related to the fact i recently 
moved my

make.profile to point to 2008 instead of 2007...


Remove that again and try emerge =sys-kernel/vanilla-sources-2.6.24.


Now, I'm trying to do a simple `emerge -uDN world` and for some 
reason, the

nvidia-drivers keep trying to pull a gentoo-sources.  Here's the output of
`emerge -vpt nvidia-drivers`:
[ebuild U ] x11-drivers/nvidia-drivers-96.43.09 [96.43.07] USE=gtk 
-acpi

-custom-cflags% (-multilib) 7,067 kB
[ebuild  N]  sys-kernel/gentoo-sources-2.6.27-r7  USE=-build 
-symlink 0 kB


nvidia-drivers doesn't depend on gentoo-sources, but on 
virtual/linux-sources.  That means you have to emerge either 
gentoo-sources or vanilla-sources.  And I don't think you should be 
messing with /etc/portage/profile/package.provided that way :P  Just 
emerge vanilla-sources.





Re: [gentoo-user] Re: provided kernel

2008-12-27 Thread Steven Susbauer
Nikos Chantziaras wrote:
 Simon wrote:
 Hi there,
   long ago i installed a 2.6.24 kernel in /usr/src manually.  I had
 added the
 line sys-kernel/vanilla-sources-2.6.24 (without quotes) to the file
 /etc/portage/profile/package.provided.  There is no kernel in
 /var/lib/portage/world...  This may be related to the fact i recently
 moved my
 make.profile to point to 2008 instead of 2007...
 nvidia-drivers doesn't depend on gentoo-sources, but on
 virtual/linux-sources.  That means you have to emerge either
 gentoo-sources or vanilla-sources.  And I don't think you should be
 messing with /etc/portage/profile/package.provided that way :P  Just
 emerge vanilla-sources.

You don't need to emerge vanilla-sources. Also, that is exactly the use
of /etc/portage/profile/package.provided

With a little bit of testing, I was unable to get vanilla-sources of any
version to work with package.provided, but it works fine if actually
installed.

Adding sys-kernel/gentoo-sources-2.6.24 to your package.provided should
prevent it from trying to grab new ones. It did for me. :) I blame the
virtuals file.

   -Steve



signature.asc
Description: OpenPGP digital signature