I get this error now from 'emerge -Dpn world'
These are the packages that would be merged, in order:
Calculating dependencies... done!
emerge: there are no ebuilds built with USE flags to satisfy
"sys-auth/consolekit[policykit]".
!!! One of the following packages is required to complete your request:
- sys-auth/consolekit-0.2.10 (Missing IUSE: policykit)
- sys-auth/consolekit-0.2.3 (Missing IUSE: policykit)
(dependency required by "sys-apps/hal-0.5.12_rc1-r6" [ebuild])
(dependency required by "world" [argument])
You could say IUSE = USE.
In your case you need to recompile consolekit with the USE=policykit, I do
recommend you add the USE key to /etc/make.conf or specifict for consolekit in
/etc/portage/package.use
--
//Aho
>> - sys-auth/consolekit-0.2.3 (Missing IUSE: policykit)
>> (dependency required by "sys-apps/hal-0.5.12_rc1-r6" [ebuild])
>> (dependency required by "world" [argument])
>You could say IUSE = USE.
>In your case you need to recompile consolekit with the USE=policykit, I do
>recommend you add the USE key to /etc/make.conf or specifict for consolekit in
>/etc/portage/package.use
Adding policykit to USE, adding it to an IUSE variable in make.conf,
doing emerge with --newuse, and reemerging consolekit (0.2.10) didn't
help.
consolekit doesn't even use policykit as a useflag:
$ emerge -pv consolekit
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-auth/consolekit-0.2.10 USE="pam -debug" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB
It don't say you don't have it installed, it says that you don't have it
compiled with an USE flag that is required by a package depending on it.
>
>>> - sys-auth/consolekit-0.2.3 (Missing IUSE: policykit)
>>> (dependency required by "sys-apps/hal-0.5.12_rc1-r6" [ebuild])
>>> (dependency required by "world" [argument])
>
>> You could say IUSE = USE.
>> In your case you need to recompile consolekit with the USE=policykit, I do
>> recommend you add the USE key to /etc/make.conf or specifict for consolekit in
>> /etc/portage/package.use
>
> Adding policykit to USE, adding it to an IUSE variable in make.conf,
> doing emerge with --newuse, and reemerging consolekit (0.2.10) didn't
> help.
There is no IUSE variable to use in mkae.conf, IUSE is used in the ebuild
files, telling which options are available for the ebuild in question.
> consolekit doesn't even use policykit as a useflag:
> $ emerge -pv consolekit
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
> [ebuild R ] sys-auth/consolekit-0.2.10 USE="pam -debug" 0 kB
>
> Total: 1 package (1 reinstall), Size of downloads: 0 kB
consolekit 0.2 don't have support for policykit, so you have two options,
disable the policykit for hal or build consolekit 0.3 with policykit.
--
//Aho
Thanks. Looks like the problem was that I had 'sys-apps/hal ~amd64' in my my
package.keywords and it wanted the unstable version of consolekit. My --pretend
emerge ran without errors with 'sys-auth/consolekit ~amd64'.