Gentoo Archives: gentoo-user

From: gottlieb@×××.edu
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] sys-power/upower with systemd
Date: Thu, 26 Jun 2014 01:33:34
Message-Id: 87r42c78vl.fsf@nyu.edu
In Reply to: Re: [gentoo-user] sys-power/upower with systemd by Marc Joliet
1 On Tue, Jun 24 2014, Marc Joliet wrote:
2
3 > Am Mon, 23 Jun 2014 20:39:13 -0400
4 > schrieb gottlieb@×××.edu:
5 >
6 >> I think I had first misinterpreted the news msg, but want to be sure I
7 >> do understand it correctly now.
8 >>
9 >> The message ends with
10 >>
11 >> All non-systemd users are recommended to choose between:
12 >> # emerge --oneshot --noreplace 'sys-power/upower-pm-utils'
13 >> or
14 >> # emerge --oneshot --noreplace '>=sys-power/upower-0.99.0'
15 >> However, all systemd users are recommended to stay with sys-power/upower.
16 >>
17 >> I first read "stay with sys-power/upower" to mean systemd users should
18 >> NOT do any of the two options for non-systemd users and let portage "do
19 >> its thing". However, portage want to replace upower with
20 >> upower-pm-utils, which I am pretty sure is not intended for systemd
21 >> users.
22 >>
23 >> Is the proper reading of the news message, that the systemd users should
24 >> use the second option available for non-systemd users? Specifically am
25 >> I to execute
26 >>
27 >> # emerge --oneshot --noreplace '>=sys-power/upower-0.99.0'
28 >>
29 >> ?
30 >
31 > Um, personally, I think the message is extremely clear: non-systemd users
32 > should choose between the first two options, and systemd users should just
33 > stick with plain upower, regardless of version (although there is only one
34 > ATM, the older one is masked now).
35
36 I am embarrassed to say that I am still having trouble with this upower
37 business.
38 My profile is .../gnome/systemd and I have the
39 init=/usr/lib/systemd/systemd line GRUB_CMDLINE_LINUX so I am using
40 systemd.
41
42 right now I have sys-power/upower-0.9.23-r3 installed (the only version
43 below 0.99) and sys-power/upower-pm-utils NOT installed.
44
45 If I try to update world (see below), portage wants to install
46 sys-power/upower-pm-utils and uninstall sys-power/upower.
47
48 The output (below) suggests that gnome-shell requires this, but I read
49 the gnome-shell ebuild as permitting my current
50 sys-power/upower-0.9.23-r3 as an alternative.
51
52 If I try to
53 # emerge --oneshot --noreplace '>=sys-power/upower-0.99.0'
54 I get a conflict since several gnome packages (e.g. gnome-shell)
55 explicitly want <upower-0.99
56
57 Am I supposed to package-mask sys-power/upower-pm-utils?
58
59 The results shown are on a stable amd64 system (my previous msg
60 concerned another system that I am slowly converting from testing to
61 stable, but this msg only involves a fully stable system).
62
63 thanks in advance,
64 allan
65
66 ================================================================
67
68 allan ~ # emerge --keep-going --update --changed-use @world
69
70 These are the packages that would be merged, in reverse order:
71
72 Calculating dependencies... done!
73
74 [ebuild U ] x11-wm/sawfish-1.9.1-r2 [1.9.1-r1] USE="emacs%* nls -xinerama" 2,556 kB
75 [nomerge ] gnome-base/gnome-3.10.0:2.0 USE="bluetooth cdr classic cups extras -accessibility"
76 [nomerge ] gnome-base/gnome-shell-3.10.4-r2 USE="bluetooth i18n networkmanager (-openrc-force)" PYTHON_TARGETS="python2_7"
77 [nomerge ] sys-power/upower-pm-utils-0.9.23-r2 USE="introspection -ios"
78 [blocks b ] sys-power/upower ("sys-power/upower" is blocking sys-power/upower-pm-utils-0.9.23-r2)
79 [uninstall ] sys-power/upower-0.9.23-r3 USE="introspection -doc -ios"
80 [ebuild N ] sys-power/upower-pm-utils-0.9.23-r2 USE="introspection -ios" 0 kB

Replies

Subject Author
Re: [gentoo-user] sys-power/upower with systemd Marc Joliet <marcec@×××.de>