1 |
On 02/25/2010 01:13 AM, Sebastian Beßler wrote: |
2 |
> Am 24.02.2010 23:48, schrieb Thanasis: |
3 |
>> I want to revert to the stable version of a specific package |
4 |
>> (sys-fs/cryptsetup-1.0.6-r2), while in /etc/make.conf I have |
5 |
>> ACCEPT_KEYWORDS="~amd64". |
6 |
>> For that I have put in /etc/portage/package.keywords: |
7 |
>> sys-fs/cryptsetup amd64 |
8 |
>> and then I run |
9 |
>> emerge -1 =sys-fs/cryptsetup-1.0.6-r2 |
10 |
>> Is that the way I should go? |
11 |
>> Because I tried it, but when I run |
12 |
>> emerge -DNu world |
13 |
>> it still wants to upgrade to sys-fs/cryptsetup-1.1.0. |
14 |
>> |
15 |
> |
16 |
> It is not possible to set keyword "arch" for specific packages only |
17 |
> "~arch". To prevent upgrade you have to mask the never version via |
18 |
> /etc/portage/package.mask |
19 |
> |
20 |
> echo "~sys-fs/cryptsetup-1.1.0">>/etc/portage/package.mask |
21 |
> should do the trick. The ~ instead of = masks minor revisions of that |
22 |
> version (for example sys-fs/cryptsetup-1.1.0-r1) too |
23 |
|
24 |
It is possible and I posted how to do it ;) You can unset keywords just |
25 |
like you can unset USE flags. |