Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't mask a package
Date: Thu, 02 Jul 2009 10:55:47
Message-Id: 4A4C91CE.80501@gmail.com
In Reply to: [gentoo-user] Can't mask a package by Pupino
1 Pupino wrote:
2 > Hello everybody,
3 > i'm having troubles with the policykit package, and i've discovered
4 > that the new version (0.92) has broken all APIs and this causes some
5 > packages to not compile anymore (network manager in my case).
6 > So i tried to mask it and keep the 0.9-r1 version instead, but with no result.
7 > I've added it to /etc/portage/package.mask and tried this forms:
8 > =sys-auth/policykit-0.92
9 >
10 >> =sys-auth/policykit-0.92
11 >>
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 it...
16 > i'm running a x86 system with no accept keywords set.
17 > any ideas?
18 >
19 > Thanks in advance.
20 > Davide
21 >
22 >
23 >
24
25 Well, actually all policykit packages are masked and keyworded by
26 portage already.
27
28 [-P-] [M~] sys-auth/policykit-0.9 (0)
29 [-P-] [M~] sys-auth/policykit-0.9-r1 (0)
30 [-P-] [M~] sys-auth/policykit-0.92 (0)
31
32 So I would think you need to unmask the version you do want to install
33 and then leave the rest alone. Basically remove everything policykit
34 from mask and just add =sys-auth/policykit-0.9-r1 to unmask and keyword
35 files. If it ever goes stable, it will upgrade at that time as well.
36
37 I hope that helps.
38
39 Dale
40
41 :-) :-)

Replies

Subject Author
Re: [gentoo-user] Can't mask a package David <david@×××××××××.com>