1 |
On 29/06/2014 23:57, gottlieb@×××.edu wrote: |
2 |
> On Sun, Jun 29 2014, Alan McKinnon wrote: |
3 |
> |
4 |
>> On 29/06/2014 22:09, gottlieb@×××.edu wrote: |
5 |
>>> My desktop is a fully stable (empty package.accept_keywords) systemd |
6 |
>>> system. The profile is .../gnome/system and it boots init=systemd. |
7 |
>>> |
8 |
>>> The 3 june news asserts "all systemd users are recommended to stay with |
9 |
>>> sys-power/upower". |
10 |
>>> |
11 |
>>> However update world wants to uninstall upower and install |
12 |
>>> upower-pm-utils. |
13 |
>>> |
14 |
>>> Adding sys-power/upower-pm-utils to /etc/package.mask, "fixed" the |
15 |
>>> problem, but I wonder if I chose an appropriate fix. I was a little |
16 |
>>> surprised that a stable system would need an entry in package.mask. |
17 |
>>> |
18 |
>>> Any advice would be appreciated, |
19 |
>>> allan |
20 |
>>> |
21 |
>>> PS I realize that the news item concerned hibernate/suspend so is not |
22 |
>>> relevant, but the same issue uninstall/install occurs on my laptop. |
23 |
>>> Those systems have a less simple "goingstable" setup and are more |
24 |
>>> important to me so I prefer to first change the fully stable desktop. |
25 |
>> |
26 |
>> |
27 |
>> Are you still dealing with this same output you posted about on the 26th? |
28 |
>> |
29 |
>> Calculating dependencies... done! |
30 |
>> |
31 |
>> [ebuild U ] x11-wm/sawfish-1.9.1-r2 [1.9.1-r1] USE="emacs%* nls |
32 |
>> -xinerama" 2,556 kB |
33 |
>> [nomerge ] gnome-base/gnome-3.10.0:2.0 USE="bluetooth cdr classic |
34 |
>> cups extras -accessibility" |
35 |
>> [nomerge ] gnome-base/gnome-shell-3.10.4-r2 USE="bluetooth i18n |
36 |
>> networkmanager (-openrc-force)" PYTHON_TARGETS="python2_7" |
37 |
>> [nomerge ] sys-power/upower-pm-utils-0.9.23-r2 |
38 |
>> USE="introspection -ios" |
39 |
>> [blocks b ] sys-power/upower ("sys-power/upower" is blocking |
40 |
>> sys-power/upower-pm-utils-0.9.23-r2) |
41 |
>> [uninstall ] sys-power/upower-0.9.23-r3 USE="introspection -doc |
42 |
>> -ios" |
43 |
>> [ebuild N ] sys-power/upower-pm-utils-0.9.23-r2 |
44 |
>> USE="introspection -ios" 0 kB |
45 |
>> |
46 |
>> That is gnome-shell pulling in upower || upower-pm-utils and for some |
47 |
>> reason it chose the one you do not want. |
48 |
>> |
49 |
>> Using package.mask is valid (it's a documented tool and not only for |
50 |
>> ~arch - all it means is that you do not want the listed packages and |
51 |
>> there could be many reasons for that) but it does seem a bit heavy-handed. |
52 |
>> |
53 |
>> Normally, manually installing upower should be enough to satisfy the dep |
54 |
>> and keep upower-pm-utils off your machine, but bugs are possible I suppose. |
55 |
>> |
56 |
>> Is there any bugs on b.g.o. about this? |
57 |
>> Run emerge with -t and post the relevant section, let's see why the |
58 |
>> wrong package is being pulled in. Also the output of |
59 |
>> |
60 |
>> equery depends upower |
61 |
>> equery depends upower-pm-utils |
62 |
> |
63 |
> Yes it is the same general issue. But I moved from my "goingstable" |
64 |
> laptop to my fully stable desktop, hoping it would be clearer. |
65 |
> I did run the emerge world with -t on the desktop. I am now temporarily |
66 |
> removing the package.mask entry and running it again. The output is |
67 |
> |
68 |
> Calculating dependencies... done! |
69 |
> [nomerge ] gnome-base/gnome-3.10.0:2.0 USE="bluetooth cdr classic cups extras -accessibility" |
70 |
> [nomerge ] gnome-base/gnome-shell-3.10.4-r2 USE="bluetooth i18n networkmanager (-openrc-force)" PYTHON_TARGETS="python2_7" |
71 |
> [nomerge ] sys-power/upower-pm-utils-0.9.23-r2 USE="introspection -ios" |
72 |
> [blocks b ] sys-power/upower ("sys-power/upower" is blocking sys-power/upower-pm-utils-0.9.23-r2) |
73 |
> [uninstall ] sys-power/upower-0.9.23-r3 USE="introspection -doc -ios" |
74 |
> [ebuild N ] sys-power/upower-pm-utils-0.9.23-r2 USE="introspection -ios" 0 kB |
75 |
> Total: 1 package (1 new, 1 uninstall), Size of downloads: 0 kB |
76 |
> Conflict: 1 block |
77 |
> |
78 |
> I did not do this upgrade and with my package.mask in place, update |
79 |
> world says "nothing to merge". |
80 |
> |
81 |
> The equery's give |
82 |
> |
83 |
> allan ~ # equery depends upower |
84 |
> * These packages depend on upower: |
85 |
> app-misc/tracker-0.16.4 (laptop ? <sys-power/upower-0.99) |
86 |
> gnome-base/gnome-control-center-3.10.3 (<sys-power/upower-0.99) |
87 |
> gnome-base/gnome-session-3.10.1 (<sys-power/upower-0.99) |
88 |
> gnome-base/gnome-settings-daemon-3.10.2 (<sys-power/upower-0.99) |
89 |
> gnome-base/gnome-shell-3.10.4-r2 (<sys-power/upower-0.99[introspection]) |
90 |
> gnome-extra/gnome-power-manager-3.10.1 (<sys-power/upower-0.99) |
91 |
> net-im/telepathy-mission-control-5.14.1 (upower ? >=sys-power/upower-0.9.11) |
92 |
> (upower ? <sys-power/upower-0.99) |
93 |
> net-misc/networkmanager-0.9.8.8 (sys-power/upower) |
94 |
> x11-wm/mutter-3.10.4 (<sys-power/upower-0.99) |
95 |
> allan ~ # equery depends upower-pm-utils |
96 |
> * These packages depend on upower-pm-utils: |
97 |
> app-misc/tracker-0.16.4 (laptop ? sys-power/upower-pm-utils) |
98 |
> gnome-base/gnome-control-center-3.10.3 (sys-power/upower-pm-utils) |
99 |
> gnome-base/gnome-session-3.10.1 (sys-power/upower-pm-utils) |
100 |
> gnome-base/gnome-settings-daemon-3.10.2 (sys-power/upower-pm-utils) |
101 |
> gnome-base/gnome-shell-3.10.4-r2 (sys-power/upower-pm-utils[introspection]) |
102 |
> gnome-extra/gnome-power-manager-3.10.1 (sys-power/upower-pm-utils) |
103 |
> net-im/telepathy-mission-control-5.14.1 (sys-power/upower-pm-utils) |
104 |
> net-misc/networkmanager-0.9.8.8 (sys-power/upower-pm-utils) |
105 |
> x11-wm/mutter-3.10.4 (sys-power/upower-pm-utils) |
106 |
> allan ~ # |
107 |
> |
108 |
> When I started this project there were no related bugs in b.g.o. |
109 |
> I will investigate them |
110 |
> |
111 |
> 513842 - talks about a upower mask from the openrc perspective |
112 |
> 513700 - is about stabilizing upower-0.99.0-r1 |
113 |
> 512252 - again a problem for openrc users |
114 |
> 515228 - talks about upower versions and differences with different systems. |
115 |
> |
116 |
> One phrase from the last bug is "Probably we need to document this |
117 |
> better, for example in the wiki." |
118 |
> |
119 |
> So perhaps the package.mask is not terrible. |
120 |
> Would you advise I put the package.mask in a "goingstable" laptop and |
121 |
> try an update world? I do have two laptops whose configurations are |
122 |
> "close", one is my main system. I would first update world on the other |
123 |
> one. |
124 |
|
125 |
|
126 |
|
127 |
Hi Allen, |
128 |
|
129 |
It's late and perhaps I'm not think too clearly, but I think I see the |
130 |
problem: |
131 |
|
132 |
Almost everything listed in equery depends upower is looking for this: |
133 |
|
134 |
<sys-power/upower-0.99 |
135 |
|
136 |
But look at this: |
137 |
|
138 |
$ eix -e upower |
139 |
* sys-power/upower |
140 |
Available versions: [M]0.9.23-r3 0.99.0-r1(0/2) {doc |
141 |
+introspection ios KERNEL="FreeBSD linux"} |
142 |
Homepage: http://upower.freedesktop.org/ |
143 |
Description: D-Bus abstraction for enumerating power |
144 |
devices and querying history and statistics |
145 |
|
146 |
|
147 |
There is no stable version of upower you can use (0.9.23-r3 is masked in |
148 |
the profile) so only upower-pm-utils satisfies the dep. However, the |
149 |
mask is reversed in the systemd profile. |
150 |
|
151 |
Are you using the systemd profile? If not, set it and do a pretend |
152 |
emerge run. I feel this will sort out your problem. |
153 |
|
154 |
|
155 |
The situation with upower does feel clunky to my mind; profiles are |
156 |
supposed to be for the most part entirely optional and serve as a |
157 |
convenience. Requiring a specific profile to get stuff to work doesn't |
158 |
feel right on a user level even though the maths logic driving it is correct |
159 |
|
160 |
|
161 |
|
162 |
-- |
163 |
Alan McKinnon |
164 |
alan.mckinnon@×××××.com |