The officially official Devuan Forum!

You are not logged in.

#1 Re: Desktop and Multimedia » Latest update for libpolkit-backend-1-0 tries to uninstall KDE » 2018-04-19 13:18:47

[FIXED]
So, some more digging and testing... and it seems the culprit is libpolkit-backend-1-0-elogind.  This package has been renamed to libpolkit-backend-elogind-1-0 and that seems to get everything upset.

The solution is to explicitly upgrade to libpolkit-backend-elogind-1-0 and that sorts everything out.

$ sudo apt install --upgrade libpolkit-backend-elogind-1-0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0 libpolkit-gobject-elogind-1-0 policykit-1
The following packages will be REMOVED:
  consolekit libpam-ck-connector libpolkit-backend-1-0-elogind libpolkit-gobject-1-0-elogind slim
The following NEW packages will be installed:
  libpolkit-backend-1-0 libpolkit-backend-elogind-1-0 libpolkit-gobject-1-0 libpolkit-gobject-elogind-1-0
The following packages will be upgraded:
  libpolkit-agent-1-0 policykit-1
2 upgraded, 4 newly installed, 5 to remove and 5 not upgraded.
Need to get 186 kB of archives.
After this operation, 1,092 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://gb.mirror.devuan.org/merged ascii/main amd64 policykit-1 amd64 0.105-18+devuan2.9 [60.3 kB]
Get:2 http://gb.mirror.devuan.org/merged ascii/main amd64 libpolkit-agent-1-0 amd64 0.105-18+devuan2.9 [22.6 kB]
Get:3 http://gb.mirror.devuan.org/merged ascii/main amd64 libpolkit-gobject-1-0 all 0.105-18+devuan2.9 [10.1 kB]
Get:4 http://gb.mirror.devuan.org/merged ascii/main amd64 libpolkit-gobject-elogind-1-0 amd64 0.105-18+devuan2.9 [40.0 kB]
Get:5 http://gb.mirror.devuan.org/merged ascii/main amd64 libpolkit-backend-elogind-1-0 amd64 0.105-18+devuan2.9 [42.4 kB]
Get:6 http://gb.mirror.devuan.org/merged ascii/main amd64 libpolkit-backend-1-0 all 0.105-18+devuan2.9 [10.2 kB]
Fetched 186 kB in 0s (439 kB/s)               
Reading changelogs... Done
(Reading database ... 246540 files and directories currently installed.)
Removing slim (1.3.6-5.1+devuan2) ...
update-alternatives: warning: alternative /usr/share/slim/themes/default (part of link group desktop-slim-theme) doesn't exist; removing from list of alternatives
Removing consolekit (0.4.6-6) ...
Removing libpam-ck-connector:amd64 (0.4.6-6) ...
(Reading database ... 246472 files and directories currently installed.)
Preparing to unpack .../policykit-1_0.105-18+devuan2.9_amd64.deb ...
Unpacking policykit-1 (0.105-18+devuan2.9) over (0.105-18+devuan2.4) ...
Preparing to unpack .../libpolkit-agent-1-0_0.105-18+devuan2.9_amd64.deb ...
Unpacking libpolkit-agent-1-0:amd64 (0.105-18+devuan2.9) over (0.105-18+devuan2.4) ...
dpkg: libpolkit-backend-1-0-elogind:amd64: dependency problems, but removing anyway as you requested:
 policykit-1 depends on libpolkit-backend-1-0 (= 0.105-18+devuan2.9); however:
  Package libpolkit-backend-1-0 is not installed.
  Package libpolkit-backend-1-0-elogind:amd64 which provides libpolkit-backend-1-0 is to be removed.

(Reading database ... 246471 files and directories currently installed.)
Removing libpolkit-backend-1-0-elogind:amd64 (0.105-18+devuan2.4) ...
dpkg: libpolkit-gobject-1-0-elogind:amd64: dependency problems, but removing anyway as you requested:
 packagekit depends on libpolkit-gobject-1-0 (>= 0.99); however:
  Package libpolkit-gobject-1-0 is not installed.
  Package libpolkit-gobject-1-0-elogind:amd64 which provides libpolkit-gobject-1-0 is to be removed.
 accountsservice depends on libpolkit-gobject-1-0 (>= 0.99); however:
  Package libpolkit-gobject-1-0 is not installed.
  Package libpolkit-gobject-1-0-elogind:amd64 which provides libpolkit-gobject-1-0 is to be removed.
 libpolkit-qt-1-1:amd64 depends on libpolkit-gobject-1-0 (>= 0.101); however:
  Package libpolkit-gobject-1-0 is not installed.
  Package libpolkit-gobject-1-0-elogind:amd64 which provides libpolkit-gobject-1-0 is to be removed.
 colord depends on libpolkit-gobject-1-0 (>= 0.99); however:
  Package libpolkit-gobject-1-0 is not installed.
  Package libpolkit-gobject-1-0-elogind:amd64 which provides libpolkit-gobject-1-0 is to be removed.
 cups-pk-helper depends on libpolkit-gobject-1-0 (>= 0.99); however:
  Package libpolkit-gobject-1-0 is not installed.
  Package libpolkit-gobject-1-0-elogind:amd64 which provides libpolkit-gobject-1-0 is to be removed.
 network-manager depends on libpolkit-gobject-1-0 (>= 0.104); however:
  Package libpolkit-gobject-1-0 is not installed.
  Package libpolkit-gobject-1-0-elogind:amd64 which provides libpolkit-gobject-1-0 is to be removed.
 upower depends on libpolkit-gobject-1-0 (>= 0.99); however:
  Package libpolkit-gobject-1-0 is not installed.
  Package libpolkit-gobject-1-0-elogind:amd64 which provides libpolkit-gobject-1-0 is to be removed.
 udisks2 depends on libpolkit-gobject-1-0 (>= 0.101); however:
  Package libpolkit-gobject-1-0 is not installed.
  Package libpolkit-gobject-1-0-elogind:amd64 which provides libpolkit-gobject-1-0 is to be removed.
 xfce4-session depends on libpolkit-gobject-1-0 (>= 0.101); however:
  Package libpolkit-gobject-1-0 is not installed.
  Package libpolkit-gobject-1-0-elogind:amd64 which provides libpolkit-gobject-1-0 is to be removed.
 policykit-1 depends on libpolkit-gobject-1-0 (= 0.105-18+devuan2.9); however:
  Package libpolkit-gobject-1-0 is not installed.
  Package libpolkit-gobject-1-0-elogind:amd64 which provides libpolkit-gobject-1-0 is to be removed.
 modemmanager depends on libpolkit-gobject-1-0 (>= 0.99); however:
  Package libpolkit-gobject-1-0 is not installed.
  Package libpolkit-gobject-1-0-elogind:amd64 which provides libpolkit-gobject-1-0 is to be removed.
 libpolkit-agent-1-0:amd64 depends on libpolkit-gobject-1-0 (= 0.105-18+devuan2.9); however:
  Package libpolkit-gobject-1-0 is not installed.
  Package libpolkit-gobject-1-0-elogind:amd64 which provides libpolkit-gobject-1-0 is to be removed.
 libpolkit-qt5-1-1:amd64 depends on libpolkit-gobject-1-0 (>= 0.101); however:
  Package libpolkit-gobject-1-0 is not installed.
  Package libpolkit-gobject-1-0-elogind:amd64 which provides libpolkit-gobject-1-0 is to be removed.
 xbrlapi depends on libpolkit-gobject-1-0 (>= 0.94); however:
  Package libpolkit-gobject-1-0 is not installed.
  Package libpolkit-gobject-1-0-elogind:amd64 which provides libpolkit-gobject-1-0 is to be removed.

Removing libpolkit-gobject-1-0-elogind:amd64 (0.105-18+devuan2.4) ...
Selecting previously unselected package libpolkit-gobject-1-0.
(Reading database ... 246462 files and directories currently installed.)
Preparing to unpack .../libpolkit-gobject-1-0_0.105-18+devuan2.9_all.deb ...
Unpacking libpolkit-gobject-1-0 (0.105-18+devuan2.9) ...
Selecting previously unselected package libpolkit-gobject-elogind-1-0:amd64.
Preparing to unpack .../libpolkit-gobject-elogind-1-0_0.105-18+devuan2.9_amd64.deb ...
Unpacking libpolkit-gobject-elogind-1-0:amd64 (0.105-18+devuan2.9) ...
Selecting previously unselected package libpolkit-backend-elogind-1-0:amd64.
Preparing to unpack .../libpolkit-backend-elogind-1-0_0.105-18+devuan2.9_amd64.deb ...
Unpacking libpolkit-backend-elogind-1-0:amd64 (0.105-18+devuan2.9) ...
Selecting previously unselected package libpolkit-backend-1-0.
Preparing to unpack .../libpolkit-backend-1-0_0.105-18+devuan2.9_all.deb ...
Unpacking libpolkit-backend-1-0 (0.105-18+devuan2.9) ...
Setting up libpolkit-gobject-elogind-1-0:amd64 (0.105-18+devuan2.9) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for dbus (1.10.22-1+devuan1) ...
Setting up libpolkit-gobject-1-0 (0.105-18+devuan2.9) ...
Setting up libpolkit-agent-1-0:amd64 (0.105-18+devuan2.9) ...
Setting up libpolkit-backend-elogind-1-0:amd64 (0.105-18+devuan2.9) ...
Setting up libpolkit-backend-1-0 (0.105-18+devuan2.9) ...
Setting up policykit-1 (0.105-18+devuan2.9) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
$

Hope this helps someone else out of the spot!

#2 Desktop and Multimedia » Latest update for libpolkit-backend-1-0 tries to uninstall KDE » 2018-04-19 09:35:02

penguinwrangler
Replies: 1

Upgraded yesterday, all fine.  New upgrades are available today so I'm trying to install them onto my desktop machine which is running KDE.

$ sudo apt upgrade 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libpolkit-backend-1-0-elogind : Conflicts: libpolkit-backend-1-0
 libpolkit-gobject-1-0-elogind : Conflicts: libpolkit-gobject-1-0
E: Broken packages
$

I've checked and libpolkit-backend-1-0 and libpolkit-gobject-1-0 are not installed...

$ dpkg -l | grep libpolkit
ii  libpolkit-agent-1-0:amd64                         0.105-18+devuan2.4                          amd64        PolicyKit Authentication Agent API
ii  libpolkit-backend-1-0-elogind:amd64               0.105-18+devuan2.4                          amd64        PolicyKit backend API
ii  libpolkit-gobject-1-0-elogind:amd64               0.105-18+devuan2.4                          amd64        PolicyKit Authorization API
ii  libpolkit-qt-1-1:amd64                            0.112.0-5                                   amd64        PolicyKit-qt-1 library
ii  libpolkit-qt5-1-1:amd64
$

If I try to install 'libpolkit-backend-1-0' to replace -elogind specific variant, it tries to uninstall KDE!

$ sudo apt install libpolkit-backend-1-0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libpolkit-agent-1-0 libpolkit-backend-consolekit-1-0 libpolkit-gobject-1-0 libpolkit-gobject-consolekit-1-0 policykit-1
The following packages will be REMOVED:
  apper kde-plasma-desktop kde-standard libpolkit-backend-1-0-elogind libpolkit-gobject-1-0-elogind network-manager plasma-desktop plasma-nm polkit-kde-1 polkit-kde-agent-1 task-kde-desktop
The following NEW packages will be installed:
  libpolkit-backend-1-0 libpolkit-backend-consolekit-1-0 libpolkit-gobject-1-0 libpolkit-gobject-consolekit-1-0
The following packages will be upgraded:
  libpolkit-agent-1-0 policykit-1
2 upgraded, 4 newly installed, 11 to remove and 5 not upgraded.
Need to get 186 kB of archives.
After this operation, 28.1 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
$

The only non-Devuan packages that I have installed are Google Chrome from Google and nodejs from the NodeJS repo.

So... something is twisted up somewhere but I've absolutely no idea where.  Anyone have a clue what I've managed to tie in a knot and how to untangle it?

Thanks in advance... ;-)

#3 Re: Desktop and Multimedia » On acsii, plasma and the power button. » 2018-04-04 11:46:49

Hi fsmithred, thanks for your quick response.  The issue was the libpolkit. 

The laptop got a new HDD and a clean install of Devuan Jessie yesterday, then upgraded to Ascii but somehow it had pulled in the -systemd variants.  I followed the instructions in the lurker link you provided and replaced them with -elogind variants.  Now logout, reboot, shutdown from the KDE menu all work as expected.

I still have SDDM as the login manager...

Again, thanks for the quick response.  :-)

#4 Re: Desktop and Multimedia » On acsii, plasma and the power button. » 2018-04-04 10:11:23

At the risk of resurrecting an old thread...  I'm running SDDM + KDE 5 under ASCII on a Dell 6220 laptop.  It all works nicely apart from shutdown and reboot actions from KDE's menu.  These just drop me back to SDDM.  The reboot and shutdown icons at the top right of SDDM work as expected.  From within KDE, if I issue "sudo poweroff" or "sudo reboot" from Konsole, both work as expected. 

I have had to add the option "reboot=pci" to the Linux command line in grub, otherwise reboots or shutdowns hang the machine after kernel exits, but I wouldn't expect that to affect this.  It seems more like KDE is always doing a "logout" rather than a "reboot" or "shutdown", since SDDM works correctly.

I've checked and I have both eudev and elogind installed... but I don't know how to check if they are working correctly. 

Anyone have any suggestions?

#5 Desktop and Multimedia » KDE Plasma 5.12 » 2018-02-28 14:15:21

penguinwrangler
Replies: 0

I'm running Devuan Ascii with KDE plasma 5 and I'm loving it but there are a few niggles with some of the apps and rendering that make me want to pick up a more recent version... and KDE has just release 5.12 which is an LTE release.  Debian's "sid" is already pulling KDE 5.12.2.

I completely appreciate that Devuan tracks Debian so to a significant degree "we get what they get" but I believe that there are changes in some of the underlying packages to remove systemd so I don't think that I can try to push in the relevant packages from "sid" without it all breaking in horrible ways :-(

I'm wondering what it would take to package KDE 5.12.x for Devuan as a separate "bleeding edge" repository (which I'm happy to work on creating and host if necessary).    Since "sid" is already pulling KDE 5.12.2 so I'm hoping that I can start with that and apply the necessary changes to get it to work on Devuan... but I haven't tried yet.

Does anyone have any suggestions / recommendations for this?

Thanks in advance...

Board footer

Forum Software