Gentoo Archives: gentoo-user

From: Pupino <pupinux@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't mask a package
Date: Thu, 02 Jul 2009 21:17:30
Message-Id: dad98e440907021417l1d65a842l21ba2479e1489a9d@mail.gmail.com
In Reply to: Re: [gentoo-user] Can't mask a package by David
1 2009/7/2 David <david@×××××××××.com>:
2 > Dale wrote:
3 >>
4 >> Pupino wrote:
5 >>>
6 >>> Hello everybody,
7 >>> i'm having troubles with the policykit package, and i've discovered
8 >>> that the new version (0.92) has broken all APIs and this causes some
9 >>> packages to not compile anymore (network manager in my case).
10 >>> So i tried to mask it and keep the 0.9-r1 version instead, but with no
11 >>> result.
12 >>> I've added it to /etc/portage/package.mask and tried this forms:
13 >>> =sys-auth/policykit-0.92
14 >>>
15 >>>>
16 >>>> =sys-auth/policykit-0.92
17 >>>>
18 >>>
19 >>> and also
20 >>> sys-auth/policykit-0.92
21 >>> that should prenvet any version of it being merged, right?
22 >>> none of those attempts worked for me, and emerge keeps trying to merge
23 >>> it...
24 >>> i'm running a x86 system with no accept keywords set.
25 >>> any ideas?
26 >>>
27 >>> Thanks in advance.
28 >>> Davide
29 >>>
30 >>>
31 >>>
32 >>
33 >> Well, actually all policykit packages are masked and keyworded by
34 >> portage already.
35 >> [-P-] [M~] sys-auth/policykit-0.9 (0)
36 >> [-P-] [M~] sys-auth/policykit-0.9-r1 (0)
37 >> [-P-] [M~] sys-auth/policykit-0.92 (0)
38 >>
39 >> So I would think you need to unmask the version you do want to install
40 >> and then leave the rest alone.  Basically remove everything policykit
41 >> from mask and just add =sys-auth/policykit-0.9-r1 to unmask and keyword
42 >> files.  If it ever goes stable, it will upgrade at that time as well.
43 >>
44 >> I hope that helps.
45 >>
46 >> Dale
47 >>
48 >> :-)  :-)
49 >>
50 >>
51 > Is hal trying to pull it in?
52 > emerge -pv hal
53 > [ebuild   R   ] sys-apps/hal-0.5.12_rc1-r6  USE="X acpi consolekit crypt
54 > policykit -apm -debug -dell -disk-partition -doc -laptop (-selinux)" 0 kB
55 >
56 > --
57 > Powered by Gentoo GNU/Linux
58 > http://linuxcrazy.com
59 >
60 >
61
62 Dale is right, the package was listed in both package.unmask and
63 package.keywords, and that has been made by autounmask to satisfy some
64 kde4 dependencies, that's why i didn't know it...
65 Deleted it from there and network manager is compiling fine again.
66 Thanks to all and sorry for the stupid question...
67
68 Davide