1 |
On Sat, 07 Jun 2014 01:30:33 +0200 |
2 |
Alan McKinnon <alan.mckinnon@×××××.com> wrote: |
3 |
|
4 |
> On 06/06/2014 16:34, Gevisz wrote: |
5 |
> > After today's emerge-webrsync, I have found out that usual |
6 |
> > # emerge --update --deep --with-bdeps=y --newuse --ask world |
7 |
> > does not work, trying but being unable to emerge systemd. |
8 |
> > |
9 |
> > As I have found out, the reason for it was that upower |
10 |
> > suddenly decided that it needs systemd but, for some |
11 |
> > (lucky :) reason, it could not be emerged as my system |
12 |
> > uses OpenRC. |
13 |
> > |
14 |
> > The latest news said the following: |
15 |
> > |
16 |
> > "UPower discontinued hibernate and suspend support in favor of |
17 |
> > systemd. Because of this, we have created a compability package at |
18 |
> > sys-power/upower-pm-utils which will give you the old UPower with |
19 |
> > sys-power/pm-utils support back. |
20 |
> > Some desktops have integrated the sys-power/pm-utils support |
21 |
> > directly to their code, like Xfce, and as a result, they work also |
22 |
> > with the new UPower as expected. |
23 |
> > |
24 |
> > All non-systemd users are recommended to choose between: |
25 |
> > |
26 |
> > # emerge --oneshot --noreplace 'sys-power/upower-pm-utils' |
27 |
> > |
28 |
> > or |
29 |
> > |
30 |
> > # emerge --oneshot --noreplace '>=sys-power/upower-0.99.0' |
31 |
> > |
32 |
> > However, all systemd users are recommended to stay with |
33 |
> > sys-power/upower." |
34 |
> > |
35 |
> > However, that news did *not* say that without |
36 |
> > # emerge --oneshot --noreplace 'sys-power/upower-pm-utils' |
37 |
> > it is impossible to update the system even if you use xfce. |
38 |
> |
39 |
> |
40 |
> The news item is a compromise as the problem you ran into is really a |
41 |
> very minor one; it's the presence of systemd and two blocking upower |
42 |
> packages that cause confusion. Extra points for the magic flame |
43 |
> war-inducing trigger-word "systemd" - see the enormous threads here |
44 |
> and on -dev for proof. |
45 |
|
46 |
... |
47 |
|
48 |
> As I said above, this simple package addition produces the magic |
49 |
> flamewar trigger word "systemd" whcih always gets half the audience |
50 |
> very very upset indeed. |
51 |
|
52 |
Thank you for pointing me out to that thread. |
53 |
|
54 |
Since I have made my mind in favor of OpenRC, I have stopped reading |
55 |
the "systemd" treads just to not be very upset. :) |
56 |
|
57 |
So, I missed that thread and thought that this issue is new. |
58 |
|
59 |
> So the news item clarifies that you are not being forced to use |
60 |
> systemd and explains the alternatives in a concise manner. |
61 |
> |
62 |
> Once you have that done, anything that comes next is simple routine |
63 |
> portage blockers which you are expected to know how to deal with, and |
64 |
> are not at all worthy of mention in a news item. |
65 |
> |
66 |
> |
67 |
> > Only after executing the last command, which installed |
68 |
> > upower-pm-utils and unistalled upower, the |
69 |
> > # emerge --update --deep --with-bdeps=y --newuse --ask world |
70 |
> > worked as desired. |
71 |
> > |
72 |
> > upower was not in my world file, so I think it's a some kind of a |
73 |
> > bug. |
74 |
> |
75 |
> |
76 |
> It's not a bug and upower is not supposed to be in world. It's a |
77 |
> simple dep library that portage will pull in if you have any other |
78 |
> packages that need it. Keep it and upower-pm-utils out of world so |
79 |
> that Samuli's next planned phase of this change in UPower will go |
80 |
> smoothly. |
81 |
> |
82 |
> The reason for all the confusion is due to how portage works |
83 |
> internally. Briefly, it sees you have a choice between upower and |
84 |
> upower-pm-utils and usually ends up picking upower. |
85 |
> |
86 |
> It's similar to virtuals where portage doesn't know what you want so |
87 |
> just picks the first in the list. If you want the second, then you |
88 |
> have to emerge it yourself first, stopping portage from deciding. |
89 |
> |
90 |
> As I said above, this simple package addition produces the magic |
91 |
> flamewar trigger word "systemd" whcih always gets half the audience |
92 |
> very very upset indeed. |
93 |
> |
94 |
> |
95 |
> |
96 |
> |