The officially official Devuan Forum!

You are not logged in.

#1 2018-04-19 09:35:02

penguinwrangler
Member
Registered: 2017-08-04
Posts: 7  

Latest update for libpolkit-backend-1-0 tries to uninstall KDE

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... ;-)

Last edited by penguinwrangler (2018-04-19 13:17:58)

Offline

#2 2018-04-19 13:18:47

penguinwrangler
Member
Registered: 2017-08-04
Posts: 7  

Re: Latest update for libpolkit-backend-1-0 tries to uninstall KDE

[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!

Offline

Board footer