1 |
Nikos Chantziaras wrote: |
2 |
> Simon wrote: |
3 |
>> Hi there, |
4 |
>> long ago i installed a 2.6.24 kernel in /usr/src manually. I had |
5 |
>> added the |
6 |
>> line "sys-kernel/vanilla-sources-2.6.24" (without quotes) to the file |
7 |
>> /etc/portage/profile/package.provided. There is no kernel in |
8 |
>> /var/lib/portage/world... This may be related to the fact i recently |
9 |
>> moved my |
10 |
>> make.profile to point to 2008 instead of 2007... |
11 |
> nvidia-drivers doesn't depend on gentoo-sources, but on |
12 |
> virtual/linux-sources. That means you have to emerge either |
13 |
> gentoo-sources or vanilla-sources. And I don't think you should be |
14 |
> messing with /etc/portage/profile/package.provided that way :P Just |
15 |
> emerge vanilla-sources. |
16 |
|
17 |
You don't need to emerge vanilla-sources. Also, that is exactly the use |
18 |
of /etc/portage/profile/package.provided |
19 |
|
20 |
With a little bit of testing, I was unable to get vanilla-sources of any |
21 |
version to work with package.provided, but it works fine if actually |
22 |
installed. |
23 |
|
24 |
Adding sys-kernel/gentoo-sources-2.6.24 to your package.provided should |
25 |
prevent it from trying to grab new ones. It did for me. :) I blame the |
26 |
virtuals file. |
27 |
|
28 |
-Steve |