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