On 06/09/2014 06:34 PM, Alan Mackenzie wrote:
> On Tue, Jun 03, 2014 at 05:11:32PM +0200, Silvio Siefke wrote:
>> On Tue, 3 Jun 2014 09:29:35 -0500 Canek Peláez Valdés
>> <can...@gmail.com> wrote:
>>> If I understood correctly, you need to:
>>> emerge -C sys-power/upower
>>> emerge -1v sys-power/upower-pm-utils
>>> and then update world as usual.
>> Yes is correct, i has find out after read ebuilds from the packages which
>> need upower.
> I do this:
>
> emerge --unmerge upower
> emerge -1vp sys-power/upower-pm-utils
>
> , and I still get portage threatening to merge that other init system:
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
> [ebuild N ] dev-python/lxml-3.3.5 USE="threads -beautifulsoup3 -doc
> -examples" PYTHON_TARGETS="python2_7 python3_3 -python3_2 (-python3_4)" 3,387
> kB
> [ebuild N ] sys-apps/systemd-212-r5:0/2 USE="acl filecaps
> firmware-loader gudev introspection kmod pam policykit python seccomp -audit
> -cryptsetup -doc -gcrypt -http (-kdbus) -lzma -qrcode (-selinux) (-ssl)
> {-test} -vanilla -xattr" ABI_X86="(64) (-32) (-x32)"
> PYTHON_SINGLE_TARGET="python2_7 -python3_2 -python3_3"
> PYTHON_TARGETS="python2_7 python3_3 -python3_2" 2,659 kB
> [ebuild N ] sys-apps/gentoo-systemd-integration-4 52 kB
> [ebuild N ] virtual/libgudev-208 USE="introspection -static-libs"
> ABI_X86="(64) (-32) (-x32)" 0 kB
> [ebuild N ] sys-power/upower-pm-utils-0.9.23 USE="introspection
> -doc -ios" 416 kB
> [blocks B ] sys-fs/udev ("sys-fs/udev" is blocking
> sys-apps/systemd-212-r5, sys-apps/gentoo-systemd-integration-4)
> [blocks B ] sys-apps/systemd ("sys-apps/systemd" is blocking
> sys-fs/udev-208)
>
> Total: 5 packages (5 new), Size of downloads: 6,513 kB
> Conflict: 2 blocks (2 unsatisfied)
>
> Would somebody please help me sort this out. What am I doing wrong?
> Where is systemd coming from? I look in upower-pm-utils-0.9.23.ebuild,
> and the only reference to systemd seems to be right at the beginning:
>
> EAPI=5
> inherit eutils systemd
>
> (, plus a couple of inconsequential references near the end.) I'm not
> quite sure exactly what "inherit" means here, but the FM (man (5) ebuild)
> says:
>
> Inherit is portage's maintenance of extra classes of functions that
> are external to ebuilds and provided as inheritable capabilities and
> data. They define functions and set data types as drop-in replacements,
> expanded, and simplified routines for extremely common tasks to
> streamline the build process. Call to inherit cannot depend on conditions
> which can vary in given ebuild. Specification of the eclasses contains
> only their name and not the .eclass extension. Also note that the
> inherit statement must come before other variable declarations unless
> these variables are used in global scope of eclasses.
>
> , which, being vague, leaves me still unsure what "inherit" means. ;-(
> Is there any documentation anywhere of what "inherit" actually DOES?
>
> What am I doing wrong?
>
>> Thanks for help & Nice Day
>> Silvio
Can you please verify that:
(1). sys-power/upower is gone by running this:
equery l (that's a lower case 'l') sys-power/upower
(2). sys-power/upower-pm-utils has been installed:
equery l sys-power/upower-pm-utils
(3). the 'p' flag does not actually install anything:
emerge(1)
--pretend (-p)
Instead of actually performing the merge, simply
display what
*would* have been installed if --pretend weren't used.
So if step 2 results in the negative, you may want to run the command
line without the 'p' flag, like so:
emerge -av1 sys-power/upower-pm-utils