1 |
Jorge Almeida schreef: |
2 |
> On Thu, 13 Oct 2005, Holly Bostick wrote: |
3 |
> |
4 |
> |
5 |
>> Jorge Almeida schreef: |
6 |
>> |
7 |
>>> It seems it's a known bug. I emerged nvidia-kernel and nvidia-glx |
8 |
>>> with ACCEPT_KEYWORDS="~x86" and it works now. |
9 |
>>> |
10 |
>> |
11 |
>> Glad that worked for you, but please now remember to add |
12 |
>> nvidia-kernel and nvidia-glx to /etc/portage/package.keywords as |
13 |
>> allowed to be ~x86, or else Portage will try to downgrade them the |
14 |
>> next time you do an emerge world-- ACCEPT_KEYWORDS on an emerge |
15 |
>> command line is only *temporary for that emerge*, and *is not |
16 |
>> remembered permanently by Portage*. |
17 |
>> |
18 |
> |
19 |
> I don't know if it's a good idea, in this case. After all, the |
20 |
> current masked version will be unmasked one day, and I may not need |
21 |
> always the bleeding-edge version (I'd rather use stable things, if |
22 |
> they do the job). But I always issue emerge -pv before emerging |
23 |
> anything, so a possible downgrade would be detected in advance. |
24 |
|
25 |
Yes, I understand you-- but what then are you going to do when the |
26 |
downgrade is detected? |
27 |
|
28 |
You won't have a choice but to downgrade; if you try masking packages |
29 |
lower than the current one, you'll get an error saying that all |
30 |
available packages are masked, and if you do downgrade, your X will be |
31 |
broken again until you re-emerge the unstable version with |
32 |
ACCEPT_KEYWORDS on the command line-- EVERY TIME you do an emerge |
33 |
(-whatever) world. |
34 |
|
35 |
Is that what you want? |
36 |
|
37 |
The solution for your stated preference is to unmask the packages' |
38 |
keyword in /etc/portage/package.keywords, and mask all versions of the |
39 |
package above the one you have now, so that they do not appear if an |
40 |
update occurs and you do not want to update to a further unstable version: |
41 |
|
42 |
#echo 'media-video/nvidia-kernel ~x86' >>/etc/portage/package.keywords |
43 |
#echo 'media-video/nvidia-glx ~x86' >>/etc/portage/package.keywords |
44 |
#echo '>media-video/nvidia-kernel-1.0.7676' >>/etc/portage/package.mask |
45 |
#echo '>media-video/nvidia-glx-1.0.7676-r1' >>/etc/portage/package.mask |
46 |
|
47 |
You would of course have to keep an eye on the Portage tree so you would |
48 |
know when to remove the masks and unmask entries, but you could get |
49 |
through your daily life without having to re-emerge everything all the time. |
50 |
|
51 |
Hope this helps, |
52 |
Holly |
53 |
-- |
54 |
gentoo-user@g.o mailing list |