Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Systemd upower
Date: Tue, 03 Jun 2014 16:29:07
Message-Id: 538DF79B.2040604@gmail.com
In Reply to: Re: [gentoo-user] Systemd upower by "Canek Peláez Valdés"
1 On 03/06/2014 16:29, Canek Peláez Valdés wrote:
2 > On Tue, Jun 3, 2014 at 9:14 AM, Silvio Siefke <siefke_listen@×××.de> wrote:
3 >> Hello,
4 >>
5 >> mean this i must install now systemd? What can do when i not want systemd.
6 >> The system what i have is good, i want not change to systemd.
7 >>
8 >> [ebuild U ~] sys-devel/gettext-0.19 [0.18.3.2] USE="acl cxx ncurses nls openmp -cvs -doc -emacs -git -java -static-libs" 16,221 kB
9 >> [ebuild R ] dev-libs/glib-2.38.2-r1:2 USE="(mime%*) -debug (-fam) (-selinux) -static-libs -systemtap {-test} -utils -xattr" PYTHON_TARGETS="python2_7 (-python2_6)" 0 kB
10 >> [ebuild N ] sys-apps/systemd-208-r3:0/1 USE="acl filecaps firmware-loader gudev introspection kmod pam policykit python tcpd -audit -cryptsetup -doc -gcrypt -http -lzma -qrcode (-selinux) {-test} -vanilla -xattr" PYTHON_SINGLE_TARGET="python2_7 -python3_2 -python3_3" PYTHON_TARGETS="python2_7 python3_3 -python3_2" 2,335 kB
11 >> [ebuild N ] sys-apps/gentoo-systemd-integration-2 51 kB
12 >> [ebuild N ] sys-power/upower-0.9.23-r3 USE="introspection -doc -ios" 0 kB
13 >> [blocks B ] sys-fs/udev ("sys-fs/udev" is blocking sys-apps/systemd-208-r3)
14 >> [blocks B ] sys-apps/gentoo-systemd-integration ("sys-apps/gentoo-systemd-integration" is blocking sys-fs/udev-212-r1)
15 >> [blocks B ] sys-apps/systemd ("sys-apps/systemd" is blocking sys-fs/udev-212-r1)
16 >>
17 >
18 > If I understood correctly, you need to:
19 >
20 > emerge -C sys-power/upower
21 > emerge -1v sys-power/upower-pm-utils
22 >
23 > and then update world as usual.
24 >
25 > The changes in upower does not make systemd mandatory, but you need to
26 > switch from upower (which now has systemd as a hard dependency) to
27 > upower-pm-utils (which depends on the unmaintined pm-utils).
28 >
29 > Regards.
30 >
31
32
33
34 That is correct. There is a vocal debate going on in -dev right now
35 about this and a proposed news item is in the works. here's the current
36 proposed item which might change but at least explains what is going on:
37
38 Do note that emerging upower-pm-utils (what you should do is you want to
39 keep things the way they were) needs upower to be unmerged first. That
40 part isn't mentioned in the news item, but portage lets you know real
41 quick anyway. i.e. upower-pm-utils replaces current upower to restore
42 old upower feature set
43
44
45
46 ==========
47 UPower discontinued hibernate and suspend support in favor of systemd.
48 Because of this, we have created a compability package at
49 sys-power/upower-pm-utils which will give you the old UPower with
50 sys-power/pm-utils support back.
51 Some desktops have integrated the sys-power/pm-utils support directly
52 to their code, like Xfce, and as a result, they work also with the new
53 UPower as expected.
54
55 All non-systemd users are recommended to choose between:
56
57 # emerge --noreplace 'sys-power/upower-pm-utils'
58
59 or
60
61 # emerge --noreplace '>=sys-power/upower-0.99.0'
62
63 However, all systemd users are recommended to stay with sys-power/upower.
64 ===========
65
66 --
67 Alan McKinnon
68 alan.mckinnon@×××××.com