On Wed, 14 Feb 2018 13:37:46 +0100
Irrwahn <[email protected]> wrote:
> It would appear that under certain circumstances an unsuitable
> flavor of libpolkit-backend-1-0-XXXX gets pulled in upon upgrade.
> This can lead to a temporary loss of desktop session related
> functionality, namely the ability to user-mount removable drives or
> to shutdown/restart the system using the GUI controls provided by the
> respective desktop environment. The issue was ultimately caused by
> the recent addition of elogind to the repositories, or rather the
> repackaging of policykit-1 that followed suit.
>
> Resolution
> ----------
> 1. Make sure you have at least one of (traditional) consolekit
# apt-cache policy consolekit
consolekit:
Installed: 0.4.6-6
Candidate: 0.4.6-6
Version table:
*** 0.4.6-6 500
500 http://pkgmaster.devuan.org/merged ascii/main amd64 Packages
100 /var/lib/dpkg/status
>or
> (new) elogind
# apt-cache policy elogind
elogind:
Installed: (none)
Candidate: 234.4-1+devuan1.5
Version table:
234.4-1+devuan1.5 500
500 http://pkgmaster.devuan.org/merged ascii/main amd64 Packages
>installed.
> 3. Ensure the following packages got installed:
> policykit-1 0.105-18+devuan2.4
> libpolkit-agent-1-0 0.105-18+devuan2.4
>
# apt-cache policy policykit-1
policykit-1:
Installed: 0.105-9+devuan1
Candidate: 0.105-18+devuan2.4
Version table:
0.105-18+devuan2.4 500
500 http://pkgmaster.devuan.org/merged ascii/main amd64 Packages
*** 0.105-9+devuan1 100
100 /var/lib/dpkg/status
# apt-cache policy libpolkit-agent-1-0
libpolkit-agent-1-0:
Installed: 0.105-9+devuan1
Candidate: 0.105-18+devuan2.4
Version table:
0.105-18+devuan2.4 500
500 http://pkgmaster.devuan.org/merged ascii/main amd64 Packages
*** 0.105-9+devuan1 100
100 /var/lib/dpkg/status
# apt-get -s upgrade policykit-1 libpolkit-agent-1-0
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
libpolkit-backend-1-0 libpolkit-gobject-1-0
The following NEW packages will be installed:
elogind libelogind0 libpam-elogind libpolkit-backend-1-0-systemd
libpolkit-gobject-1-0-systemd
The following packages have been kept back:
boinc-client desktop-base libboinc7
The following packages will be upgraded:
libpolkit-agent-1-0 policykit-1
2 upgraded, 5 newly installed, 2 to remove and 3 not upgraded.
> 4. Install one of the mutually exclusive policykit backend libs, i.e.
> - EITHER -
> libpolkit-backend-1-0-elogind 0.105-18+devuan2.4 and
> libpolkit-gobject-1-0-elogind 0.105-18+devuan2.4
>
> - OR -apt-get
> libpolkit-backend-1-0-consolekit 0.105-18+devuan2.4 and
> libpolkit-gobject-1-0-consolekit 0.105-18+devuan2.4
>
> depending on which session manager backend you intend to use, see
> 1.
# apt-get -s install libpolkit-backend-1-0-consolekit
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
elogind libelogind0 libpam-elogind libpolkit-gobject-1-0-systemd
The following packages will be REMOVED:
libpolkit-backend-1-0 libpolkit-gobject-1-0
The following NEW packages will be installed:
elogind libelogind0 libpam-elogind libpolkit-backend-1-0-consolekit
libpolkit-gobject-1-0-systemd
0 upgraded, 5 newly installed, 2 to remove and 5 not upgraded.
# apt-get -s install libpolkit-gobject-1-0-consolekit
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required: colord-data libcolord2 libcolorhug2 libgusb2
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
libpolkit-agent-1-0
The following packages will be REMOVED:
colord libpolkit-backend-1-0 libpolkit-gobject-1-0 policykit-1
The following NEW packages will be installed:
libpolkit-gobject-1-0-consolekit
The following packages will be upgraded:
libpolkit-agent-1-0
1 upgraded, 1 newly installed, 4 to remove and 3 not upgraded.
>
> In case you find you have a backend with -systemd in the name
> installed: that one will _not_ work, and is most likely the cause why
> things went sideways in the first place.
>
I do not know anything like enough to do anything more than comment, but
does the above indicate that the *-backend-systemd is being pulled in
as a result of an unhelpful dependency chain. And why does the
installation of libpolkit-backend-1-0-consolekit pull in
elogind libelogind0 libpam-elogind libpolkit-gobject-1-0-systemd
when consolekit has been installed in preference to elogind?
My sources are these
#
deb http://linux-libre.fsfla.org/pub/linux-libre/freesh freesh main
#deb http://pkgmaster.devuan.org/devuan experimental main
deb http://pkgmaster.devuan.org/merged/ ascii main
deb http://pkgmaster.devuan.org/merged/ ascii-updates main
deb http://pkgmaster.devuan.org/merged/ ascii-security main
#deb http://pkgmaster.devuan.org/devuan/ ascii-proposed-security main
#deb http://pkgmaster.devuan.org/devuan/ ascii-proposed main
deb http://pkgmaster.devuan.org/merged/ ascii-backports main
deb http://pkgmaster.devuan.org/merged/ ascii-proposed-updates main
#Devuan repositories
#deb http://packages.devuan.org/merged/ ceres main
#deb http://packages.devuan.org/merged/ ascii-security main
Many thanks to the devs for ascii-beta!
leloft
_______________________________________________
Dng mailing list
[email protected]
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng