Calculate Forum

Hibernate / Suspend не существует на MATE

попробовал компилировать mate-power-manager
и получаю ошибку

USE=“pm-utils” emerge mate-extra/mate-power-manager

Local copy of remote index is up-to-date and will be used.

Calculating dependencies... done!
[binary  N    #] sys-power/upower-pm-utils-0.9.23-r2  USE="introspection ios" 
[ebuild   R    ] mate-extra/mate-power-manager-1.16.0  USE="pm-utils*" 
[blocks B      ] sys-power/upower ("sys-power/upower" is blocking sys-power/upower-pm-utils-0.9.23-r2)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-power/upower-pm-utils-0.9.23-r2:0/0::gentoo, binary scheduled for merge) pulled in by
    sys-power/upower-pm-utils required by (x11-misc/light-locker-1.4.0-r3:0/0::calculate, installed)
    >=sys-power/upower-pm-utils-0.9.23 required by (mate-extra/mate-power-manager-1.16.0:0/0::gentoo, ebuild scheduled for merge)

  (sys-power/upower-0.99.4:0/3::gentoo, installed) pulled in by
    >=sys-power/upower-0.9.23 required by (xfce-base/xfce4-session-4.12.1-r1:0/0::gentoo, installed)
    sys-power/upower required by @selected
    >=sys-power/upower-0.9.23 required by (mate-base/mate-applets-1.16.0:0/0::gentoo, installed)
    >=sys-power/upower-0.9.23 required by (xfce-base/xfce4-settings-4.12.0-r2:0/0::gentoo, installed)
    >=sys-power/upower-0.9.23 required by (mate-base/mate-session-manager-1.16.0:0/0::gentoo, installed)

Правильно, т.к. upower и upower-pm-utils не могут быть установлены одновременно в одной системе. Нужно оставить только upower-pm-utils, upower не может Hibernate/Suspend.

У меня 5 пакетов использующие upower
Можно ли удалить upower?

 $equery hasuse upower
 * Searching for USE flag upower ... 
[IP-] [  ] mate-base/mate-applets-1.16.0:0
[IP-] [  ] mate-base/mate-session-manager-1.16.0:0
[I-O] [  ] x11-misc/light-locker-1.4.0-r3:0
[IP-] [  ] xfce-base/xfce4-session-4.12.1-r1:0
[IP-] [  ] xfce-base/xfce4-settings-4.12.0-r2:0

Я нашел эту информатцию

UPower discontinued hibernate and suspend support in favor of systemd.
Because of this, we have created a compability package at
sys-power/upower-pm-utils which will give you the old UPower with
sys-power/pm-utils support back.
Some desktops have integrated the sys-power/pm-utils support directly
to their code, like Xfce, and as a result, they work also with the new
UPower as expected.
© 2007-2020 Calculate Ltd.
Mastodon Mastodon