Gentoo Archives: gentoo-user

From: gottlieb@×××.edu
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] must/should systemd users package.mask upower-pm-utils
Date: Sun, 29 Jun 2014 21:58:06
Message-Id: 87lhsfpeeg.fsf@nyu.edu
In Reply to: Re: [gentoo-user] must/should systemd users package.mask upower-pm-utils by Alan McKinnon
1 On Sun, Jun 29 2014, Alan McKinnon wrote:
2
3 > On 29/06/2014 22:09, gottlieb@×××.edu wrote:
4 >> My desktop is a fully stable (empty package.accept_keywords) systemd
5 >> system. The profile is .../gnome/system and it boots init=systemd.
6 >>
7 >> The 3 june news asserts "all systemd users are recommended to stay with
8 >> sys-power/upower".
9 >>
10 >> However update world wants to uninstall upower and install
11 >> upower-pm-utils.
12 >>
13 >> Adding sys-power/upower-pm-utils to /etc/package.mask, "fixed" the
14 >> problem, but I wonder if I chose an appropriate fix. I was a little
15 >> surprised that a stable system would need an entry in package.mask.
16 >>
17 >> Any advice would be appreciated,
18 >> allan
19 >>
20 >> PS I realize that the news item concerned hibernate/suspend so is not
21 >> relevant, but the same issue uninstall/install occurs on my laptop.
22 >> Those systems have a less simple "goingstable" setup and are more
23 >> important to me so I prefer to first change the fully stable desktop.
24 >
25 >
26 > Are you still dealing with this same output you posted about on the 26th?
27 >
28 > Calculating dependencies... done!
29 >
30 > [ebuild U ] x11-wm/sawfish-1.9.1-r2 [1.9.1-r1] USE="emacs%* nls
31 > -xinerama" 2,556 kB
32 > [nomerge ] gnome-base/gnome-3.10.0:2.0 USE="bluetooth cdr classic
33 > cups extras -accessibility"
34 > [nomerge ] gnome-base/gnome-shell-3.10.4-r2 USE="bluetooth i18n
35 > networkmanager (-openrc-force)" PYTHON_TARGETS="python2_7"
36 > [nomerge ] sys-power/upower-pm-utils-0.9.23-r2
37 > USE="introspection -ios"
38 > [blocks b ] sys-power/upower ("sys-power/upower" is blocking
39 > sys-power/upower-pm-utils-0.9.23-r2)
40 > [uninstall ] sys-power/upower-0.9.23-r3 USE="introspection -doc
41 > -ios"
42 > [ebuild N ] sys-power/upower-pm-utils-0.9.23-r2
43 > USE="introspection -ios" 0 kB
44 >
45 > That is gnome-shell pulling in upower || upower-pm-utils and for some
46 > reason it chose the one you do not want.
47 >
48 > Using package.mask is valid (it's a documented tool and not only for
49 > ~arch - all it means is that you do not want the listed packages and
50 > there could be many reasons for that) but it does seem a bit heavy-handed.
51 >
52 > Normally, manually installing upower should be enough to satisfy the dep
53 > and keep upower-pm-utils off your machine, but bugs are possible I suppose.
54 >
55 > Is there any bugs on b.g.o. about this?
56 > Run emerge with -t and post the relevant section, let's see why the
57 > wrong package is being pulled in. Also the output of
58 >
59 > equery depends upower
60 > equery depends upower-pm-utils
61
62 Yes it is the same general issue. But I moved from my "goingstable"
63 laptop to my fully stable desktop, hoping it would be clearer.
64 I did run the emerge world with -t on the desktop. I am now temporarily
65 removing the package.mask entry and running it again. The output is
66
67 Calculating dependencies... done!
68 [nomerge ] gnome-base/gnome-3.10.0:2.0 USE="bluetooth cdr classic cups extras -accessibility"
69 [nomerge ] gnome-base/gnome-shell-3.10.4-r2 USE="bluetooth i18n networkmanager (-openrc-force)" PYTHON_TARGETS="python2_7"
70 [nomerge ] sys-power/upower-pm-utils-0.9.23-r2 USE="introspection -ios"
71 [blocks b ] sys-power/upower ("sys-power/upower" is blocking sys-power/upower-pm-utils-0.9.23-r2)
72 [uninstall ] sys-power/upower-0.9.23-r3 USE="introspection -doc -ios"
73 [ebuild N ] sys-power/upower-pm-utils-0.9.23-r2 USE="introspection -ios" 0 kB
74 Total: 1 package (1 new, 1 uninstall), Size of downloads: 0 kB
75 Conflict: 1 block
76
77 I did not do this upgrade and with my package.mask in place, update
78 world says "nothing to merge".
79
80 The equery's give
81
82 allan ~ # equery depends upower
83 * These packages depend on upower:
84 app-misc/tracker-0.16.4 (laptop ? <sys-power/upower-0.99)
85 gnome-base/gnome-control-center-3.10.3 (<sys-power/upower-0.99)
86 gnome-base/gnome-session-3.10.1 (<sys-power/upower-0.99)
87 gnome-base/gnome-settings-daemon-3.10.2 (<sys-power/upower-0.99)
88 gnome-base/gnome-shell-3.10.4-r2 (<sys-power/upower-0.99[introspection])
89 gnome-extra/gnome-power-manager-3.10.1 (<sys-power/upower-0.99)
90 net-im/telepathy-mission-control-5.14.1 (upower ? >=sys-power/upower-0.9.11)
91 (upower ? <sys-power/upower-0.99)
92 net-misc/networkmanager-0.9.8.8 (sys-power/upower)
93 x11-wm/mutter-3.10.4 (<sys-power/upower-0.99)
94 allan ~ # equery depends upower-pm-utils
95 * These packages depend on upower-pm-utils:
96 app-misc/tracker-0.16.4 (laptop ? sys-power/upower-pm-utils)
97 gnome-base/gnome-control-center-3.10.3 (sys-power/upower-pm-utils)
98 gnome-base/gnome-session-3.10.1 (sys-power/upower-pm-utils)
99 gnome-base/gnome-settings-daemon-3.10.2 (sys-power/upower-pm-utils)
100 gnome-base/gnome-shell-3.10.4-r2 (sys-power/upower-pm-utils[introspection])
101 gnome-extra/gnome-power-manager-3.10.1 (sys-power/upower-pm-utils)
102 net-im/telepathy-mission-control-5.14.1 (sys-power/upower-pm-utils)
103 net-misc/networkmanager-0.9.8.8 (sys-power/upower-pm-utils)
104 x11-wm/mutter-3.10.4 (sys-power/upower-pm-utils)
105 allan ~ #
106
107 When I started this project there were no related bugs in b.g.o.
108 I will investigate them
109
110 513842 - talks about a upower mask from the openrc perspective
111 513700 - is about stabilizing upower-0.99.0-r1
112 512252 - again a problem for openrc users
113 515228 - talks about upower versions and differences with different systems.
114
115 One phrase from the last bug is "Probably we need to document this
116 better, for example in the wiki."
117
118 So perhaps the package.mask is not terrible.
119 Would you advise I put the package.mask in a "goingstable" laptop and
120 try an update world? I do have two laptops whose configurations are
121 "close", one is my main system. I would first update world on the other
122 one.
123
124 thanks again,
125 allan

Replies