Gentoo Archives: gentoo-user

From: Mark Shields <laebshade@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't mask a package
Date: Sat, 04 Jul 2009 16:11:29
Message-Id: 642958cc0907040911l4efd6a47yf8d339f336387be4@mail.gmail.com
In Reply to: [gentoo-user] Can't mask a package by Pupino
1 On Thu, Jul 2, 2009 at 6:31 AM, Pupino <pupinux@×××××.com> wrote:
2
3 > Hello everybody,
4 > i'm having troubles with the policykit package, and i've discovered
5 > that the new version (0.92) has broken all APIs and this causes some
6 > packages to not compile anymore (network manager in my case).
7 > So i tried to mask it and keep the 0.9-r1 version instead, but with no
8 > result.
9 > I've added it to /etc/portage/package.mask and tried this forms:
10 > =sys-auth/policykit-0.92
11 > >=sys-auth/policykit-0.92
12 > and also
13 > sys-auth/policykit-0.92
14 > that should prenvet any version of it being merged, right?
15 > none of those attempts worked for me, and emerge keeps trying to merge
16 > it...
17 > i'm running a x86 system with no accept keywords set.
18 > any ideas?
19 >
20 > Thanks in advance.
21 > Davide
22 >
23 >
24 Other people replied with the fixes, but I just want to chime in and say 1
25 of those isn't a valid package atom:
26 sys-auth/policykit-0.92
27
28 The other 2 are valid. The first one will mask
29 only version 0.92. The 2nd one will obviously mask 0.92 and above.
30 If you want to mask all policykit versions, just add:
31
32 sys-auth/policykit
33
34 --
35 - Mark Shields