[gentoo-user] Can't mask a package

2009-07-02 Thread Pupino
Hello everybody,
i'm having troubles with the policykit package, and i've discovered
that the new version (0.92) has broken all APIs and this causes some
packages to not compile anymore (network manager in my case).
So i tried to mask it and keep the 0.9-r1 version instead, but with no result.
I've added it to /etc/portage/package.mask and tried this forms:
=sys-auth/policykit-0.92
>=sys-auth/policykit-0.92
and also
sys-auth/policykit-0.92
that should prenvet any version of it being merged, right?
none of those attempts worked for me, and emerge keeps trying to merge it...
i'm running a x86 system with no accept keywords set.
any ideas?

Thanks in advance.
Davide



Re: [gentoo-user] Can't mask a package

2009-07-02 Thread Dale
Pupino wrote:
> Hello everybody,
> i'm having troubles with the policykit package, and i've discovered
> that the new version (0.92) has broken all APIs and this causes some
> packages to not compile anymore (network manager in my case).
> So i tried to mask it and keep the 0.9-r1 version instead, but with no result.
> I've added it to /etc/portage/package.mask and tried this forms:
> =sys-auth/policykit-0.92
>   
>> =sys-auth/policykit-0.92
>> 
> and also
> sys-auth/policykit-0.92
> that should prenvet any version of it being merged, right?
> none of those attempts worked for me, and emerge keeps trying to merge it...
> i'm running a x86 system with no accept keywords set.
> any ideas?
>
> Thanks in advance.
> Davide
>
>
>   

Well, actually all policykit packages are masked and keyworded by
portage already. 

[-P-] [M~] sys-auth/policykit-0.9 (0)
[-P-] [M~] sys-auth/policykit-0.9-r1 (0)
[-P-] [M~] sys-auth/policykit-0.92 (0)

So I would think you need to unmask the version you do want to install
and then leave the rest alone.  Basically remove everything policykit
from mask and just add =sys-auth/policykit-0.9-r1 to unmask and keyword
files.  If it ever goes stable, it will upgrade at that time as well.

I hope that helps.

Dale

:-)  :-)



Re: [gentoo-user] Can't mask a package

2009-07-02 Thread Volker Armin Hemmann
On Donnerstag 02 Juli 2009, Pupino wrote:
> Hello everybody,
> i'm having troubles with the policykit package, and i've discovered
> that the new version (0.92) has broken all APIs and this causes some
> packages to not compile anymore (network manager in my case).
> So i tried to mask it and keep the 0.9-r1 version instead, but with no
> result. I've added it to /etc/portage/package.mask and tried this forms:
> =sys-auth/policykit-0.92
>
> >=sys-auth/policykit-0.92
>
> and also
> sys-auth/policykit-0.92
> that should prenvet any version of it being merged, right?
> none of those attempts worked for me, and emerge keeps trying to merge
> it... i'm running a x86 system with no accept keywords set.
> any ideas?
>
> Thanks in advance.
> Davide

have you unmasked policykit?

because if you did - package.unmask always overrules package.mask. So you have 
to be very specific when unmasking stuff.



Re: [gentoo-user] Can't mask a package

2009-07-02 Thread David

Dale wrote:

Pupino wrote:

Hello everybody,
i'm having troubles with the policykit package, and i've discovered
that the new version (0.92) has broken all APIs and this causes some
packages to not compile anymore (network manager in my case).
So i tried to mask it and keep the 0.9-r1 version instead, but with no result.
I've added it to /etc/portage/package.mask and tried this forms:
=sys-auth/policykit-0.92
  

=sys-auth/policykit-0.92


and also
sys-auth/policykit-0.92
that should prenvet any version of it being merged, right?
none of those attempts worked for me, and emerge keeps trying to merge it...
i'm running a x86 system with no accept keywords set.
any ideas?

Thanks in advance.
Davide


  


Well, actually all policykit packages are masked and keyworded by
portage already. 


[-P-] [M~] sys-auth/policykit-0.9 (0)
[-P-] [M~] sys-auth/policykit-0.9-r1 (0)
[-P-] [M~] sys-auth/policykit-0.92 (0)

So I would think you need to unmask the version you do want to install
and then leave the rest alone.  Basically remove everything policykit
from mask and just add =sys-auth/policykit-0.9-r1 to unmask and keyword
files.  If it ever goes stable, it will upgrade at that time as well.

I hope that helps.

Dale

:-)  :-)



Is hal trying to pull it in?
emerge -pv hal
[ebuild   R   ] sys-apps/hal-0.5.12_rc1-r6  USE="X acpi consolekit crypt 
policykit -apm -debug -dell -disk-partition -doc -laptop (-selinux)" 0 kB


--
Powered by Gentoo GNU/Linux
http://linuxcrazy.com



Re: [gentoo-user] Can't mask a package

2009-07-02 Thread Pupino
2009/7/2 David :
> Dale wrote:
>>
>> Pupino wrote:
>>>
>>> Hello everybody,
>>> i'm having troubles with the policykit package, and i've discovered
>>> that the new version (0.92) has broken all APIs and this causes some
>>> packages to not compile anymore (network manager in my case).
>>> So i tried to mask it and keep the 0.9-r1 version instead, but with no
>>> result.
>>> I've added it to /etc/portage/package.mask and tried this forms:
>>> =sys-auth/policykit-0.92
>>>

 =sys-auth/policykit-0.92

>>>
>>> and also
>>> sys-auth/policykit-0.92
>>> that should prenvet any version of it being merged, right?
>>> none of those attempts worked for me, and emerge keeps trying to merge
>>> it...
>>> i'm running a x86 system with no accept keywords set.
>>> any ideas?
>>>
>>> Thanks in advance.
>>> Davide
>>>
>>>
>>>
>>
>> Well, actually all policykit packages are masked and keyworded by
>> portage already.
>> [-P-] [M~] sys-auth/policykit-0.9 (0)
>> [-P-] [M~] sys-auth/policykit-0.9-r1 (0)
>> [-P-] [M~] sys-auth/policykit-0.92 (0)
>>
>> So I would think you need to unmask the version you do want to install
>> and then leave the rest alone.  Basically remove everything policykit
>> from mask and just add =sys-auth/policykit-0.9-r1 to unmask and keyword
>> files.  If it ever goes stable, it will upgrade at that time as well.
>>
>> I hope that helps.
>>
>> Dale
>>
>> :-)  :-)
>>
>>
> Is hal trying to pull it in?
> emerge -pv hal
> [ebuild   R   ] sys-apps/hal-0.5.12_rc1-r6  USE="X acpi consolekit crypt
> policykit -apm -debug -dell -disk-partition -doc -laptop (-selinux)" 0 kB
>
> --
> Powered by Gentoo GNU/Linux
> http://linuxcrazy.com
>
>

Dale is right, the package was listed in both package.unmask and
package.keywords, and that has been made by autounmask to satisfy some
kde4 dependencies, that's why i didn't know it...
Deleted it from there and network manager is compiling fine again.
Thanks to all and sorry for the stupid question...

Davide



Re: [gentoo-user] Can't mask a package

2009-07-04 Thread Mark Shields
On Thu, Jul 2, 2009 at 6:31 AM, Pupino  wrote:

> Hello everybody,
> i'm having troubles with the policykit package, and i've discovered
> that the new version (0.92) has broken all APIs and this causes some
> packages to not compile anymore (network manager in my case).
> So i tried to mask it and keep the 0.9-r1 version instead, but with no
> result.
> I've added it to /etc/portage/package.mask and tried this forms:
> =sys-auth/policykit-0.92
> >=sys-auth/policykit-0.92
> and also
> sys-auth/policykit-0.92
> that should prenvet any version of it being merged, right?
> none of those attempts worked for me, and emerge keeps trying to merge
> it...
> i'm running a x86 system with no accept keywords set.
> any ideas?
>
> Thanks in advance.
> Davide
>
>
Other people replied with the fixes, but I just want to chime in and say 1
of those isn't a valid package atom:
sys-auth/policykit-0.92

The other 2 are valid.  The first one will mask
only version 0.92.  The 2nd one will obviously mask 0.92 and above.
If you want to mask all policykit versions, just add:

sys-auth/policykit

-- 
- Mark Shields