Subject: bug#425: policykit-1 dependency is declared as "logind" instead of "elogind"

From: Alexis PM <[email-masked]>
Date: Thu, 23 Apr 2020 21:20:40 +0000 (UTC)

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.

---

From: Mark Hindley <[email-masked]>
Date: Fri, 24 Apr 2020 09:18:03 +0100

Control: tags -1 moreinfo 

On Thu, 23 Apr 2020 21:20:40 +0000 (UTC) Alexis PM <[email-masked]> wrote:
> policykit-1 dependency is declared as "logind" instead of "elogind", forcing
> to use de deprecated (no buster yet) consolekit.

Alexis,

As far as I can see the dependencies are correct. logind is a virtual pacakge
provided (in Devaun) by libpam-elogind.

Package: libpam-elogind
Version: 241.4-2
Priority: optional
Section: admin
Source: elogind
Maintainer: Mark Hindley <[email-masked]>
Installed-Size: 498 kB
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
Homepage: https://github.com/elogind/elogind
Download-Size: 140 kB
APT-Manual-Installed: yes
APT-Sources: http://pkgmaster.devuan.org/merged beowulf/main amd64 Packages
Description: elogind PAM module

For an elogind based system on beowulf you need

ii  elogind                                     241.4-2                                      amd64        user, seat and session management daemon
ii  gir1.2-polkit-1.0                           0.105-25+devuan8                             amd64        GObject introspection data for PolicyKit
ii  libelogind0:amd64                           241.4-2                                      amd64        user, seat and session management library
ii  libpam-elogind:amd64                        241.4-2                                      amd64        elogind PAM module
ii  libpolkit-agent-1-0:amd64                   0.105-25+devuan8                             amd64        PolicyKit Authentication Agent API
ii  libpolkit-backend-elogind-1-0:amd64         0.105-25+devuan8                             amd64        PolicyKit backend API
ii  libpolkit-gobject-elogind-1-0:amd64         0.105-25+devuan8                             amd64        PolicyKit Authorization API
ii  policykit-1                                 0.105-25+devuan8                             amd64        framework for managing administrative policies and privileges
ii  policykit-1-gnome                           0.105-7                                      amd64        authentication agent for PolicyKit

Or does that not work for you?

Mark

---

From: Alexis PM <[email-masked]>
Date: Fri, 24 Apr 2020 13:59:39 +0000 (UTC)

Thank you very much for your attention.

I am afraid that by installing either logind or libpam-elogind, policykit-1 is still being eliminated (and consequently synaptic because of its dependence).

# apt-cache madison policykit-1
policykit-1 | 0.105-25+devuan8 | http://deb.devuan.org/merged beowulf/main i386 Packages
policykit-1 | 0.105-25+devuan8 | http://deb.devuan.org/merged beowulf/main Sources
# apt-get install --reinstall policykit-1
upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
# apt-get install logind
The following additional packages will be installed:
 elogind
Recommended packages:
 policykit-1
The following packages will be REMOVED:
 colord libpam-ck-connector libpolkit-backend-consolekit-1-0 policykit-1 policykit-1-gnome synaptic
The following NEW packages will be installed:
 elogind libpam-elogind
0 upgraded, 2 newly installed, 9 to remove and 1 not upgraded.
Need to get 0 B/825 kB of archives.
After this operation, 7,106 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
# apt-get install libpam-elogind
The following additional packages will be installed:
 elogind
Recommended packages:
 policykit-1
The following packages will be REMOVED:
 colord libpam-ck-connector libpolkit-backend-consolekit-1-0 policykit-1 policykit-1-gnome synaptic
The following NEW packages will be installed:
 elogind libpam-elogind
0 upgraded, 2 newly installed, 9 to remove and 1 not upgraded.
Need to get 0 B/825 kB of archives.
After this operation, 7,106 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.

---

From: Mark Hindley <[email-masked]>
Date: Fri, 24 Apr 2020 17:24:43 +0100

On Fri, Apr 24, 2020 at 01:59:39PM +0000, Alexis PM wrote:
>    I am afraid that by installing either logind or libpam-elogind,
>    policykit-1 is still being eliminated (and consequently synaptic
>    because of its dependence).

Because we have to have 2 different flavours of policykit (for elgoind and for
consolekit), apt finds resolving these dependencies difficult. You have to give
it a bit of help.

If you specify 'apt install libpam-elogind policykit-1' that should switch the
polkit backend libraries without removing things you still want.

Mark

---

From: Mark Hindley <[email-masked]>
Date: Fri, 8 May 2020 10:37:11 +0100

> polkit backend libraries without removing things you still want.

Can you confirm this worked for you so we can close the report?

Thanks

Mark

---

From: "Devuan bug Tracking System" <[email-masked]>
Date: Tue, 17 Jan 2023 17:44:03 +0000

This is an automatic notification regarding your bug report
which was filed against the policykit-1 package:

#425: policykit-1 dependency is declared as "logind" instead of "elogind"

It has been closed by Mark Hindley <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Mark Hindley <[email-masked]> by
replying to this email.

-- 
425: https://bugs.devuan.org/cgi/bugreport.cgi?bug=425
Devuan Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#425: policykit-1 dependency is declared as logind instead of elogind
From: Mark Hindley <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Tue, 17 Jan 2023 17:41:27 +0000

> Can you confirm this worked for you so we can close the report?

Closing

Mark

Subject: policykit-1 dependency is declared as "logind" instead of "elogind"
From: Alexis PM <[email-masked]>
To: [email-masked]
Date: Thu, 23 Apr 2020 21:20:40 +0000 (UTC)

Package: policykit-1