The officially official Devuan Forum!

You are not logged in.

#1 2021-02-19 14:00:10

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

[Solved] libpolkit-qt-5-1-1 kept back after ASCII --> Beowulf upgrade

Hello:

I had been putting off upgrading from ASCII to Beowulf for the longest while but now it is done.
A new upgraded VirtualBox installation is in place and everything seems to be working.

groucho@devuan:~$ uname -a
Linux devuan 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux
groucho@devuan:~$

I did get an unasked for Firefox-ESR, maybe it is part of a metapackage from the ASCII installation?

What I cannot seem to find information on is libpolkit-qt5-1-1 being kept back:

[root@devuan ~]# apt update && apt install -f && apt upgrade
Hit:1 http://deb.devuan.org/merged beowulf InRelease
Hit:2 http://deb.devuan.org/merged beowulf-security InRelease
Hit:3 http://deb.devuan.org/merged beowulf-updates InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libpolkit-qt5-1-1
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
[root@devuan ~]# 

Could anyone shed some light on this for me?

Thanks in advance,

A.

Last edited by Altoid (2021-02-20 15:09:05)

Offline

#2 2021-02-19 14:51:00

rolfie
Member
Registered: 2017-11-25
Posts: 1,046  

Re: [Solved] libpolkit-qt-5-1-1 kept back after ASCII --> Beowulf upgrade

What happens on

apt full-upgrade

?

Offline

#3 2021-02-19 15:01:55

dice
Member
Registered: 2020-11-22
Posts: 559  
Website

Re: [Solved] libpolkit-qt-5-1-1 kept back after ASCII --> Beowulf upgrade

why not apt update && apt dist-upgrade

Offline

#4 2021-02-19 16:18:48

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [Solved] libpolkit-qt-5-1-1 kept back after ASCII --> Beowulf upgrade

Hello:

rolfie wrote:

What happens on

apt full-upgrade

?

This:

[root@devuan ~]# apt full-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libpolkit-qt5-1-1
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
[root@devuan ~]# 
dice wrote:

why not apt update && apt dist-upgrade

Because it is the same thing in/with a different command?

[root@devuan ~]# apt update && apt dist-upgrade
Hit:1 http://deb.devuan.org/merged beowulf InRelease
Hit:2 http://deb.devuan.org/merged beowulf-security InRelease
Get:3 http://deb.devuan.org/merged beowulf-updates InRelease [26.0 kB]
Fetched 26.0 kB in 2s (13.6 kB/s) 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libpolkit-qt5-1-1
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
[root@devuan ~]# 

I tried looking at reasons for this:

[root@devuan ~]# aptitude why libpolkit-qt5-1-1
i   backintime-qt4       Depends  backintime-common (= 1.1.24-0.1)
i A backintime-common    Depends  python3-keyring                 
i A python3-keyring      Suggests libkf5wallet-bin                
i A libkf5wallet-bin     Depends  libkf5configwidgets5 (>= 4.96.0)
i A libkf5configwidgets5 Depends  libkf5auth5 (>= 4.96.0)         
i A libkf5auth5          Depends  libpolkit-qt5-1-1 (>= 0.112.0)  
[root@devuan ~]# 
[root@devuan ~]# apt install libpolkit-qt5-1-1
Reading package lists... Done
Building dependency tree       
Reading state information... 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-qt5-1-1 : Depends: libpam-systemd
E: Unable to correct problems, you have held broken packages.

So then I tried to see if I could install the missing dependency:

[root@devuan ~]# apt install libpam-systemd
Reading package lists... Done
Building dependency tree       
Reading state information... Done

Note, selecting 'libpam-elogind' instead of 'libpam-systemd'   <------------  this is the clue?

The following packages were automatically installed and are no longer required:
  libcgmanager0 liblz4-1:i386 libnih-dbus1 libnih1
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  elogind:i386 libacl1:i386 libattr1:i386 libelogind0 libelogind0:i386 libpolkit-backend-elogind-1-0 libpolkit-gobject-elogind-1-0
Recommended packages:
  libpam-elogind:i386
The following packages will be REMOVED:
  consolekit libpam-ck-connector libpolkit-backend-consolekit-1-0 libpolkit-gobject-consolekit-1-0 libsystemd0 libsystemd0:i386
The following NEW packages will be installed:
  elogind:i386 libacl1:i386 libattr1:i386 libelogind0 libelogind0:i386 libpam-elogind libpolkit-backend-elogind-1-0
  libpolkit-gobject-elogind-1-0
0 upgraded, 8 newly installed, 6 to remove and 1 not upgraded.
Need to get 1414 kB of archives.
After this operation, 2204 kB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
[root@devuan ~]# 

Now, seeing that I did an ASCII --> Beowulf dist-upgrade as per the pertinent instructions, why is this happening?
Was something missing in my ASCII?
Did I miss something whiole installing?

Do I have to install libpam-elogind?
Is consolekit no longer used?
I recall it was the one I had to use for the SLiM/XFCE combination.

Thanks you both for your input.

Cheers,

A.

Last edited by Altoid (2021-02-19 16:21:27)

Offline

#5 2021-02-19 16:48:46

Andre4freedom
Member
Registered: 2017-11-15
Posts: 135  

Re: [Solved] libpolkit-qt-5-1-1 kept back after ASCII --> Beowulf upgrade

Hello Altoid et all...
I remember this issue from dev ASCII days. Here is a very helpful post:
https://dev1galaxy.org/viewtopic.php?pid=17834#p17834
I use the Cinnamon Desktop which implies the lightdm Display Manager. But, the consolekit and logind question is the same.
Once you resolve the thing in ASCII properly, there is nothing in the way to an
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo apt auto-remove
anymore. I could repeat it on ASCII systems using XFCE4 and Cinnamon systems.
I have followed fred43's instructions to the letter and I was successful.
Good luck.

Offline

#6 2021-02-20 00:38:40

dice
Member
Registered: 2020-11-22
Posts: 559  
Website

Re: [Solved] libpolkit-qt-5-1-1 kept back after ASCII --> Beowulf upgrade

Altoid wrote:

Hello:

So then I tried to see if I could install the missing dependency:

[root@devuan ~]# apt install libpam-systemd
Reading package lists... Done
Building dependency tree       
Reading state information... Done

Note, selecting 'libpam-elogind' instead of 'libpam-systemd'   <------------  this is the clue?

The following packages were automatically installed and are no longer required:
  libcgmanager0 liblz4-1:i386 libnih-dbus1 libnih1
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  elogind:i386 libacl1:i386 libattr1:i386 libelogind0 libelogind0:i386 libpolkit-backend-elogind-1-0 libpolkit-gobject-elogind-1-0
Recommended packages:
  libpam-elogind:i386
The following packages will be REMOVED:
  consolekit libpam-ck-connector libpolkit-backend-consolekit-1-0 libpolkit-gobject-consolekit-1-0 libsystemd0 libsystemd0:i386
The following NEW packages will be installed:
  elogind:i386 libacl1:i386 libattr1:i386 libelogind0 libelogind0:i386 libpam-elogind libpolkit-backend-elogind-1-0
  libpolkit-gobject-elogind-1-0
0 upgraded, 8 newly installed, 6 to remove and 1 not upgraded.
Need to get 1414 kB of archives.
After this operation, 2204 kB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
[root@devuan ~]# 

Now, seeing that I did an ASCII --> Beowulf dist-upgrade as per the pertinent instructions, why is this happening?
Was something missing in my ASCII?
Did I miss something whiole installing?

Do I have to install libpam-elogind?
Is consolekit no longer used?
I recall it was the one I had to use for the SLiM/XFCE combination.

Thanks you both for your input.

Cheers,

A.

That looks fairly normal to me. That should fix the libpolkit-qt5-1-1 issue, does it?

Last edited by dice (2021-02-20 00:40:04)

Offline

#7 2021-02-20 01:41:20

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [Solved] libpolkit-qt-5-1-1 kept back after ASCII --> Beowulf upgrade

Hello:

dice wrote:

That looks fairly normal to me. That should fix the libpolkit-qt5-1-1 issue, does it?

Don't know, havent tried.
The thing is that my Beowulf VM, which does not have BackInTime installed, does not have this problem:

root@devuan:~# uname -a
Linux devuan 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux
root@devuan:~# 
root@devuan:~# apt update && apt install -f && apt upgrade
Hit:1 http://deb.devuan.org/merged beowulf InRelease
Get:2 http://deb.devuan.org/merged beowulf-updates InRelease [26.0 kB]
Hit:3 http://deb.devuan.org/merged beowulf-security InRelease
Fetched 26.0 kB in 6s (4455 B/s)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@devuan:~#

Seems that BackInTime needs this chain to be complete ...

[root@devuan ~]# 
aptitude why libpolkit-qt5-1-1
i   backintime-qt4       Depends  backintime-common (= 1.1.24-0.1)
i A backintime-common    Depends  python3-keyring                 
i A python3-keyring      Suggests libkf5wallet-bin                
i A libkf5wallet-bin     Depends  libkf5configwidgets5 (>= 4.96.0)
i A libkf5configwidgets5 Depends  libkf5auth5 (>= 4.96.0)         
i A libkf5auth5          Depends  libpolkit-qt5-1-1 (>= 0.112.0)  
[root@devuan ~]#

But then ...

groucho@devuan:~$ aptitude why-not  libpolkit-qt5-1-1
Automatically installed, current version 0.112.0-5, priority optional
The candidate version 0.112.0-6 has priority optional
No dependencies require to remove libpolkit-qt5-1-1        <-----------
groucho@devuan:~$ 

And ...

groucho@devuan:~$ aptitude why-not libpam-elogind
i   libpolkit-backend-consolekit-1-0 Conflicts libpam-elogind
groucho@devuan:~$ 

The often unread Release Notes for Beowulf say:

Both slim and lightdm will work with either libpam-elogind or consolekit.
Slim is the default login manager for Xfce. Lightdm is the default for
the other desktops.

If No dependencies require to remove libpolkit-qt5-1-1 it may be worthwhile leaving things as they are for the time being.
It could be that the libpolkit-backend-consolekit-1-0 conflict with libpam-elogind eventually gets sorted out. (?)

Makes sense?

Cheers,

A.

Last edited by Altoid (2021-02-20 01:44:36)

Offline

#8 2021-02-20 10:48:08

dice
Member
Registered: 2020-11-22
Posts: 559  
Website

Re: [Solved] libpolkit-qt-5-1-1 kept back after ASCII --> Beowulf upgrade

i dont know i dont use backintime. Ill get on my other machine running beowulf soon and see what happens when i install backintime.

going forward though i believe elogind is the preferred choice over consolekit?

Edit: are you using the lxqt desktop maybe? You didnt say.

I have no issues installing and using backintime-qt4 using my xfce4 partition, polkit for that is gnome.

Last edited by dice (2021-02-20 11:07:35)

Offline

#9 2021-02-20 11:33:59

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [Solved] libpolkit-qt-5-1-1 kept back after ASCII --> Beowulf upgrade

Hello:

dice wrote:

... dont use backintime.
... see what happens when i install backintime.

Thanks.

dice wrote:

... elogind is the preferred choice over consolekit?

Don't know.

dice wrote:

... using the lxqt desktop maybe?

No, the XFCE that came by default with ASCII

groucho@devuan:~$ apt list | grep -i installed | grep xfce4

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
--- snip ---
xfce4/stable,stable,now 4.12.5 all [installed]
groucho@devuan:~$ 
dice wrote:

... no issues installing and using backintime-qt4 ...

Mine is not Qt:

groucho@devuan:~$ apt list | grep -i installed | grep backintime

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

backintime-common/stable,stable,now 1.1.24-0.1 all [installed,automatic]
backintime-qt4/stable,stable,now 1.1.24-0.1 all [installed]
groucho@devuan:~$ 

Thanks for your input.

Cheers,

A.

Offline

#10 2021-02-20 11:48:54

dice
Member
Registered: 2020-11-22
Posts: 559  
Website

Re: [Solved] libpolkit-qt-5-1-1 kept back after ASCII --> Beowulf upgrade

Altoid wrote:

Hello:

dice wrote:

... dont use backintime.
... see what happens when i install backintime.

Thanks.

dice wrote:

... elogind is the preferred choice over consolekit?

Don't know.

dice wrote:

... using the lxqt desktop maybe?

No, the XFCE that came by default with ASCII

groucho@devuan:~$ apt list | grep -i installed | grep xfce4

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
--- snip ---
xfce4/stable,stable,now 4.12.5 all [installed]
groucho@devuan:~$ 
dice wrote:

... no issues installing and using backintime-qt4 ...

Mine is not Qt:

groucho@devuan:~$ apt list | grep -i installed | grep backintime

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

backintime-common/stable,stable,now 1.1.24-0.1 all [installed,automatic]
backintime-qt4/stable,stable,now 1.1.24-0.1 all [installed]
groucho@devuan:~$ 

Thanks for your input.

Cheers,

A.

Looks like you have backintime-qt4 installed ??

Do you use any kde apps ?

Offline

#11 2021-02-20 12:37:39

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [Solved] libpolkit-qt-5-1-1 kept back after ASCII --> Beowulf upgrade

Hello:

dice wrote:

Looks like you have backintime-qt4 installed ??

Indeed ...  8^/
What a (quite embarrassed) dick!

Sorry for the slip-up, that's what happens with not enough coffee after a bad night's sleep.

Yes, that's quite evidently backintime-qt4.

Here's all the qt I found:

groucho@devuan:~$ apt list | grep -i installed | grep -i qt

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

backintime-qt4/stable,stable,now 1.1.24-0.1 all [installed]
libdbusmenu-qt5-2/stable,now 0.9.3+16.04.20160218-1 amd64 [installed,automatic]
libphonon4qt5-4/stable,now 4:4.10.2-1 amd64 [installed,automatic]
libqt4-dbus/stable,now 4:4.8.7+dfsg-18+deb10u1 amd64 [installed,automatic]
libqt4-declarative/stable,now 4:4.8.7+dfsg-18+deb10u1 amd64 [installed,automatic]
libqt4-designer/stable,now 4:4.8.7+dfsg-18+deb10u1 amd64 [installed,automatic]
libqt4-help/stable,now 4:4.8.7+dfsg-18+deb10u1 amd64 [installed,automatic]
libqt4-network/stable,now 4:4.8.7+dfsg-18+deb10u1 amd64 [installed,automatic]
libqt4-script/stable,now 4:4.8.7+dfsg-18+deb10u1 amd64 [installed,automatic]
libqt4-scripttools/stable,now 4:4.8.7+dfsg-18+deb10u1 amd64 [installed,automatic]
libqt4-sql-mysql/stable,now 4:4.8.7+dfsg-18+deb10u1 amd64 [installed,automatic]
libqt4-sql/stable,now 4:4.8.7+dfsg-18+deb10u1 amd64 [installed,automatic]
libqt4-svg/stable,now 4:4.8.7+dfsg-18+deb10u1 amd64 [installed,automatic]
libqt4-test/stable,now 4:4.8.7+dfsg-18+deb10u1 amd64 [installed,automatic]
libqt4-xml/stable,now 4:4.8.7+dfsg-18+deb10u1 amd64 [installed,automatic]
libqt4-xmlpatterns/stable,now 4:4.8.7+dfsg-18+deb10u1 amd64 [installed,automatic]
libqt5core5a/stable,now 5.11.3+dfsg1-1+deb10u4 amd64 [installed,automatic]
libqt5dbus5/stable,now 5.11.3+dfsg1-1+deb10u4 amd64 [installed,automatic]
libqt5gui5/stable,now 5.11.3+dfsg1-1+deb10u4 amd64 [installed,automatic]
libqt5network5/stable,now 5.11.3+dfsg1-1+deb10u4 amd64 [installed,automatic]
libqt5opengl5/stable,now 5.11.3+dfsg1-1+deb10u4 amd64 [installed,automatic]
libqt5positioning5/stable,now 5.11.3+dfsg-2 amd64 [installed,automatic]
libqt5printsupport5/stable,now 5.11.3+dfsg1-1+deb10u4 amd64 [installed,automatic]
libqt5qml5/stable,now 5.11.3-4 amd64 [installed,automatic]
libqt5quick5/stable,now 5.11.3-4 amd64 [installed,automatic]
libqt5sensors5/stable,now 5.11.3-2 amd64 [installed,automatic]
libqt5svg5/stable,now 5.11.3-2 amd64 [installed,automatic]
libqt5texttospeech5/stable,now 5.11.3-3 amd64 [installed,automatic]
libqt5waylandclient5/stable,now 5.11.3-2 amd64 [installed,automatic]
libqt5waylandcompositor5/stable,now 5.11.3-2 amd64 [installed,automatic]
libqt5webchannel5/stable,now 5.11.3-2 amd64 [installed,automatic]
libqt5webkit5/stable,now 5.212.0~alpha2-21 amd64 [installed,automatic]
libqt5widgets5/stable,now 5.11.3+dfsg1-1+deb10u4 amd64 [installed,automatic]
libqt5x11extras5/stable,now 5.11.3-2 amd64 [installed,automatic]
libqt5xml5/stable,now 5.11.3+dfsg1-1+deb10u4 amd64 [installed,automatic]
libqtassistantclient4/stable,now 4.6.3-7+b1 amd64 [installed,automatic]
libqtcore4/stable,now 4:4.8.7+dfsg-18+deb10u1 amd64 [installed,automatic]
libqtdbus4/stable,now 4:4.8.7+dfsg-18+deb10u1 amd64 [installed,automatic]
libqtgui4/stable,now 4:4.8.7+dfsg-18+deb10u1 amd64 [installed,automatic]
libqwt-qt5-6/stable,now 6.1.4-1 amd64 [installed,automatic]
phonon4qt5-backend-vlc/stable,now 0.10.2-1 amd64 [installed,automatic]
phonon4qt5/stable,now 4:4.10.2-1 amd64 [installed,automatic]
pinentry-qt/stable,now 1.1.0-2 amd64 [installed,automatic]
python-qt4/stable,now 4.12.1+dfsg-2+b1 amd64 [installed,automatic]
python3-dbus.mainloop.qt/stable,now 4.12.1+dfsg-2+b1 amd64 [installed,automatic]
python3-pyqt4/stable,now 4.12.1+dfsg-2+b1 amd64 [installed]
qt-at-spi/stable,now 0.4.0-9 amd64 [installed,automatic]
qt5-gtk-platformtheme/stable,now 5.11.3+dfsg1-1+deb10u4 amd64 [installed,automatic]
qtchooser/stable,now 66-2 amd64 [installed,automatic]
qtcore4-l10n/stable,stable,now 4:4.8.7+dfsg-18+deb10u1 all [installed,automatic]
qttranslations5-l10n/stable,stable,now 5.11.3-2 all [installed,automatic]
qtwayland5/stable,now 5.11.3-2 amd64 [installed,automatic]
vlc-plugin-qt/stable,stable-security,now 3.0.12-0+deb10u1 amd64 [installed,automatic]
groucho@devuan:~$ 

But ...
Where did qtwayland5 come from?

groucho@devuan:~$ aptitude why qtwayland5
i   virtualbox-6.1 Depends  libqt5gui5 (>= 5.4.0)
i A libqt5gui5     Suggests qtwayland5           
groucho@devuan:~$ 

Suggests should be off by default.

dice wrote:

Do you use any kde apps?

Seems not ...

groucho@devuan:~$ apt list | grep -i installed | grep -i kde

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libblockdev-crypto2/stable,now 2.20-7+deb10u1 amd64 [installed,automatic]
libblockdev-fs2/stable,now 2.20-7+deb10u1 amd64 [installed,automatic]
libblockdev-loop2/stable,now 2.20-7+deb10u1 amd64 [installed,automatic]
libblockdev-part-err2/stable,now 2.20-7+deb10u1 amd64 [installed,automatic]
libblockdev-part2/stable,now 2.20-7+deb10u1 amd64 [installed,automatic]
libblockdev-swap2/stable,now 2.20-7+deb10u1 amd64 [installed,automatic]
libblockdev-utils2/stable,now 2.20-7+deb10u1 amd64 [installed,automatic]
libblockdev2/stable,now 2.20-7+deb10u1 amd64 [installed,automatic]
groucho@devuan:~$ 

Thanks for your input.

Cheers,

A.

Offline

#12 2021-02-20 13:59:25

dice
Member
Registered: 2020-11-22
Posts: 559  
Website

Re: [Solved] libpolkit-qt-5-1-1 kept back after ASCII --> Beowulf upgrade

I think you will be ok upgrading from consolkit to elogind.

Offline

#13 2021-02-20 14:17:00

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [Solved] libpolkit-qt-5-1-1 kept back after ASCII --> Beowulf upgrade

Hello:

dice wrote:

... think you will be ok upgrading from consolkit to elogind.

Thanks, I'll see about trying to get it done this weekend.

It seems that consolekit is deprecated and maybe on its way out. (?)

See https://bugs.devuan.org/db/42/425.html

Received: (at submit) by bugs.devuan.org; 23 Apr 2020 21:30:02 +0000
Return-Path: <alexispm_stellaluna@yahoo.es>
Delivered-To: devuanbugs@dyne.org
--- snip ---
Package: policykit-1
Version: 0.105-25+devuan8

policykit-1 dependency is declared as "logind" instead of "elogind", forcing to use de deprecated (no buster yet) consolekit.    <- my highlighting

Thanks a lot for your input.

Cheers,

A.

Offline

#14 2021-02-20 15:07:03

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [Solved] libpolkit-qt-5-1-1 kept back after ASCII --> Beowulf upgrade

Hello:

Altoid wrote:

... see about trying to get it done this weekend.

Had an idle half hour while waiting for something, like we are all doing these days.
Upgrade worked, without issues.  =^D

Then I checked to see:

groucho@devuan:~$ apt list | grep -i installed | grep consolekit

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

groucho@devuan:~$

OK, consolekit is no longer installed.

I went further and found this:

groucho@devuan:~$ apt list | grep -i consolekit

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

consolekit-dbgsym/stable 1.2.1-8 amd64
consolekit-dbgsym/stable 1.2.1-8 i386
consolekit/stable,now 1.2.1-8 amd64 [residual-config]      <-------  
consolekit/stable 1.2.1-8 i386
libconsolekit-dev/stable 1.2.1-8 amd64
libconsolekit-dev/stable 1.2.1-8 i386
libconsolekit1-dbgsym/stable 1.2.1-8 amd64
libconsolekit1-dbgsym/stable 1.2.1-8 i386
libconsolekit1/stable 1.2.1-8 amd64
libconsolekit1/stable 1.2.1-8 i386
libpolkit-backend-consolekit-1-0-dbgsym/stable 0.105-25+devuan8 amd64
libpolkit-backend-consolekit-1-0-dbgsym/stable 0.105-25+devuan8 i386
libpolkit-backend-consolekit-1-0/stable 0.105-25+devuan8 amd64
libpolkit-backend-consolekit-1-0/stable 0.105-25+devuan8 i386
libpolkit-backend-consolekit-1-dev/stable 0.105-25+devuan8 amd64
libpolkit-backend-consolekit-1-dev/stable 0.105-25+devuan8 i386
libpolkit-gobject-consolekit-1-0-dbgsym/stable 0.105-25+devuan8 amd64
libpolkit-gobject-consolekit-1-0-dbgsym/stable 0.105-25+devuan8 i386
libpolkit-gobject-consolekit-1-0/stable 0.105-25+devuan8 amd64
libpolkit-gobject-consolekit-1-0/stable 0.105-25+devuan8 i386
libpolkit-gobject-consolekit-1-dev/stable 0.105-25+devuan8 amd64
libpolkit-gobject-consolekit-1-dev/stable 0.105-25+devuan8 i386
groucho@devuan:~$ 

So I asked:

groucho@devuan:~$ aptitude why consolekit
i   slim Depends default-logind | logind | consolekit
groucho@devuan:~$ 

What does this mean in practical terms? eg: for slim which I am fond of.

Thanks in advance,

A.

Offline

#15 2021-02-20 15:27:37

dice
Member
Registered: 2020-11-22
Posts: 559  
Website

Re: [Solved] libpolkit-qt-5-1-1 kept back after ASCII --> Beowulf upgrade

~$ aptitude why-not consolekit
i   policykit-1-gnome             Depends   policykit-1                                                     
i A policykit-1                   Depends   libpolkit-backend-1-0 (= 0.105-25+devuan8)                      
i A libpolkit-backend-1-0         Depends   libpolkit-backend-elogind-1-0 | libpolkit-backend-consolekit-1-0
i A libpolkit-backend-elogind-1-0 Conflicts consolekit 

why are you using apt list ?

if you want to see what is on your system use dpkg

dpkg -l | grep -i consolekit

Last edited by dice (2021-02-20 15:37:51)

Offline

#16 2021-02-20 16:47:35

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [Solved] libpolkit-qt-5-1-1 kept back after ASCII --> Beowulf upgrade

Hello:

dice wrote:

why are you using apt list ?

Gives me information of what's installed from the apt repertoire?
I find why and why-not quite enlightening.

dice wrote:

if you want to see what is on your system use dpkg

OK.

groucho@devuan:~$ dpkg -l | grep -i consolekit
rc  consolekit                             1.2.1-8                             amd64        framework for defining and tracking users, sessions and seats
ii  libck-connector0:amd64                 1.2.1-8                             amd64        ConsoleKit libraries
groucho@devuan:~$ 

Thanks a lot for the heads-up.

Cheers,

A.

Offline

#17 2021-02-20 18:27:21

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: [Solved] libpolkit-qt-5-1-1 kept back after ASCII --> Beowulf upgrade

groucho@devuan:~$ aptitude why consolekit
i   slim Depends default-logind | logind | consolekit
groucho@devuan:~$

What does this mean in practical terms? eg: for slim which I am fond of.

It means slim needs something that provides default-logind or one of the others on that line. If a package depends on libpam-system | libpam-elogind, it'll complain about missing libpam-systemd if neither of those is there. Install libpam-elogind first and anything that wants libpam-systemd will be happy. (See the Provides line below)

$ apt show libpam-elogind
Package: libpam-elogind
Version: 241.4-2
Priority: optional
Source: elogind
Provides: default-logind, libpam-systemd, logind
Depends: libc6 (>= 2.28), libcap2 (>= 1:2.10), libpam0g (>= 0.99.7.1), elogind (= 241.4-2), libpam-runtime
Conflicts: libpam-ck-connector
Breaks: libpam-systemd
Replaces: libpam-systemd

Offline

#18 2021-02-20 19:57:10

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [Solved] libpolkit-qt-5-1-1 kept back after ASCII --> Beowulf upgrade

fsmithred wrote:

... mean in practical terms? eg: for slim which I am fond of.

... slim needs something that provides default-logind or one of the others on that line.

So ...
slim depends on default-logind or logind or consolekit.
Right?

My question was aimed more at the existence of consolekit as a residual configuration component:   

groucho@devuan:~$ apt list | grep -i consolekit

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
--- snip ---
consolekit/stable,now 1.2.1-8 amd64 [residual-config]      <------- 
--- snip ---
groucho@devuan:~$
fsmithred wrote:

If a package depends on libpam-system | libpam-elogind, it'll complain about missing libpam-systemd if neither of those is there.

I see ...

Seeing that the residual consolekit is there after I installed elogind, something will surely break if I remove it, right?
Maybe I am giving the residual aspect of it too much importance. (?)

Thanks in advance.

Cheers,

A.

Offline

#19 2021-02-23 12:33:22

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [Solved] libpolkit-qt-5-1-1 kept back after ASCII --> Beowulf upgrade

Hello:

fsmithred wrote:
groucho@devuan:~$ aptitude why consolekit
i   slim Depends default-logind | logind | consolekit
groucho@devuan:~$

What does this mean in practical terms? eg: for slim which I am fond of.

It means slim needs something that provides default-logind or one of the others on that line.

I'm writing on this again as I have found this in /var/log/slim.log:

slim: waiting for X server to begin accepting connections.
slim: Consolekit::open_session: Unable to open session: The name org.freedesktop.ConsoleKit was not provided by any .service files
slim: falling back to PAM session
groucho@devuan:/var/log$

It would seem that slim is still looking for consolekit in spite of it being replaced by elogind.
Why is that?

I am being able to log in without problems.

Thanks in advance,

A.

Offline

#20 2021-02-23 16:29:00

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: [Solved] libpolkit-qt-5-1-1 kept back after ASCII --> Beowulf upgrade

Sorry, I don't know the answer. I see the "not provided by any .service files" a lot, and I just ignore it. I assume it's there to remind us all that we're not running systemd.

Try this:

apt -s remove consolekit

and see what it wants to take with it.

Offline

#21 2021-02-23 16:43:58

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [Solved] libpolkit-qt-5-1-1 kept back after ASCII --> Beowulf upgrade

Altoid wrote:

It would seem that slim is still looking for consolekit in spite of it being replaced by elogind.
Why is that?

SLiM has been dead since 2013 so it doesn't support logind sessions correctly.

Use a different display manager. Or no display manager at all, they're just bloat anyway tongue


Brianna Ghey — Rest In Power

Offline

#22 2021-02-23 16:56:03

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [Solved] libpolkit-qt-5-1-1 kept back after ASCII --> Beowulf upgrade

fsmithred wrote:

Sorry, I don't know ...

No problem.  8^D

fsmithred wrote:

... see the "not provided by any .service files" a lot, and I just ignore it.

Right.

fsmithred wrote:

... remind us all that we're not running systemd.

Lol ...

fsmithred wrote:

Try this:

apt -s remove consolekit
[root@devuan ~]# apt -s remove consolekit
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'consolekit' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[root@devuan ~]# 

Nothing.

Thanks a lot for your input.

Cheers,

A.

Offline

#23 2021-02-23 17:01:14

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [Solved] libpolkit-qt-5-1-1 kept back after ASCII --> Beowulf upgrade

Hello:

Head_on_a_Stick wrote:

SLiM has been dead since 2013 ...

Still works ...
It's just the entry in slim.log.

Head_on_a_Stick wrote:

... so it doesn't support logind sessions correctly.

I see.

Head_on_a_Stick wrote:

... a different display manager.

I've always liked this one.

Head_on_a_Stick wrote:

... no display manager at all ...

Tried that and had all sort of permission problems.
Si I installed slim and they all went away instantly.

So I'll keep it. 8^P!

Thanks for your input.

Cheers,

A.

Last edited by Altoid (2021-02-23 17:02:21)

Offline

#24 2021-02-23 20:42:12

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [Solved] libpolkit-qt-5-1-1 kept back after ASCII --> Beowulf upgrade

Hello:

fsmithred wrote:

... it's there to remind us all that we're not running systemd.

Hmm ...
Both the slim 1.3.6-5.1+devuan6 (merged beowulf/main) and 1.3.6-5.2+devuan1 (/merged beowulf /unstable) have default-logind | logind | consolekit as depends.

Depends slim 1.3.6-5.2+devuan1
libc6 (>= 2.14), libck-connector0, libdbus-1-3 (>= 1.9.14), libgcc1 (>= 1:3.0), libjpeg62-turbo (>= 1.3.1), libpam0g (>= 0.99.7.1), libpng16-16 (>= 1.6.2-1), libstdc++6 (>= 5.2), libx11-6, libxext6, libxft2 (>> 2.1.1), libxmu6, libxrandr2 (>= 2:1.2.99.3), debconf (>= 1.2.9) | debconf-2.0, dbus, default-logind | logind | consolekit, x11-xserver-utils, lsb-base

Depends slim 1.3.6-5.1+devuan6
libc6 (>= 2.17), libck-connector0, libdbus-1-3 (>= 1.9.14), libgcc-s1 (>= 3.0), libjpeg62-turbo (>= 1.3.1), libpam0g (>= 0.99.7.1), libpng16-16 (>= 1.6.2-1), libstdc++6 (>= 5.2), libx11-6, libxext6, libxft2 (>> 2.1.1), libxmu6, libxrandr2 (>= 2:1.2.99.3), debconf (>= 1.2.9) | debconf-2.0, dbus, default-logind | logind | consolekit, x11-xserver-utils, lsb-base

I looked to see if it was worth installing the unstable and check slim.log but I'd probably have an issue with libc6 (>= 2.17).

Cheers,

A.

Last edited by Altoid (2021-02-23 20:43:46)

Offline

Board footer