#1120986 lxsession-logout claims to depend on polkitd but does not actually do so

Package:
lxsession-logout
Source:
lxsession-logout
Description:
utility to logout from a LXDE or an Openbox session
Submitter:
Joshua
Date:
2025-12-14 09:57:04 UTC
Severity:
normal
Tags:
#1120986#5
Date:
2025-11-19 05:34:27 UTC
From:
To:
Dear Maintainer,

On upgrade to trixie, lxsession was uninstalled. This was caused by a bad dependency:
lxsession-logout claims to depend on polkitd, which makes lxsession depend on polkitd.
However, lxsession is working without polkitd (I used apt-holepunch to provide an empty
polkitd); thus the dependency is not actually a dependency.

Diagnostic trying to install lxsession-logout:

Reading package lists...
Building dependency tree...
Reading state information...
systemd is already the newest version (257.9-1~deb13u1).
systemd set to manually installed.
Solving dependencies...
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:
 lxsession-logout : Depends: polkitd
                    Recommends: consolekit but it is not installable or
                                logind or
                                default-logind
E: Unable to correct problems, you have held broken packages.
E: The following information from --solver 3.0 may provide additional context:
   Unable to satisfy dependencies. Reached two conflicting decisions:
   1. lxsession-logout:amd64 is selected for install because:
      1. lxsession:amd64=0.5.6-2 is selected for install
      2. lxsession:amd64 Depends lxsession-logout
   2. lxsession-logout:amd64 Depends polkitd
      but none of the choices are installable:
      - polkitd:amd64=126-2 ->  | polkitd:amd64
        but none of the choices are installable:
        - polkitd:amd64 Depends default-logind | logind
          but none of the choices are installable:
          - libpam-systemd:amd64=257.9-1~deb13u1 ->  | libpam-systemd:amd64
            but none of the choices are installable:
            - libpam-systemd:amd64 Depends systemd-sysv
              but none of the choices are installable:
              - systemd-sysv:amd64=257.9-1~deb13u1 is not selected for install
              - systemd-sysv:amd64=257.8-1~deb13u2 is not selected for install
              - systemd-sysv:i386=257.9-1~deb13u1 is not selected for install
              - systemd-sysv:i386=257.8-1~deb13u2 is not selected for install
          - libpam-systemd:amd64=257.8-1~deb13u2 is not selected for install
          - libpam-systemd:amd64=257.9-1~deb13u1 is not selected for install as above
          - libpam-systemd:amd64=257.8-1~deb13u2 is not selected for install
          - libpam-elogind:amd64=255.17-1debian2 Depends elogind (= 255.17-1debian2)
            but none of the choices are installable:
            - elogind:amd64=255.17-1debian2 ->  | elogind:amd64
              but none of the choices are installable:
              - elogind:amd64 is not selected for install because:
                1. systemd:amd64 is selected for install
                2. systemd:amd64 is available in versions 257.9-1~deb13u1, 257.8-1~deb13u2
                   [selected systemd:amd64=257.9-1~deb13u1 for install]
                3. elogind:amd64 Conflicts systemd
                   [selected systemd:amd64=257.9-1~deb13u1]
                For context, additional choices that could not be installed:
                * In systemd:amd64 is available in versions 257.9-1~deb13u1, 257.8-1~deb13u2:
                  - systemd:amd64=257.8-1~deb13u2 is not selected for install
            - elogind:i386=255.17-1debian2 ->  | elogind:i386
              but none of the choices are installable:
              - elogind:i386 is not selected for install because:
                1-2. systemd:amd64=257.9-1~deb13u1 is selected for install as above
                3. elogind:i386 Conflicts systemd
                   [selected systemd:amd64=257.9-1~deb13u1]
                For context, additional choices that could not be installed:
                * In systemd:amd64 is available in versions 257.9-1~deb13u1, 257.8-1~deb13u2:
                  - systemd:amd64=257.8-1~deb13u2 is not selected for install
          - libpam-elogind:amd64=246.10-1debian1 is not selected for install
      - polkitd:amd64=122-3 is not selected for install
      - polkitd:i386=126-2 ->  | polkitd:i386
        but none of the choices are installable:
        - polkitd:i386 Depends default-logind:i386 | logind:i386
          but none of the choices are installable:
          - libpam-systemd:i386=257.9-1~deb13u1 ->  | libpam-systemd:i386
            but none of the choices are installable:
            - libpam-systemd:i386 Depends systemd-sysv:i386
              but none of the choices are installable:
              - systemd-sysv:amd64=257.9-1~deb13u1 is not selected for install
              - systemd-sysv:amd64=257.8-1~deb13u2 is not selected for install
              - systemd-sysv:i386=257.9-1~deb13u1 is not selected for install
              - systemd-sysv:i386=257.8-1~deb13u2 is not selected for install
          - libpam-systemd:i386=257.8-1~deb13u2 is not selected for install
          - libpam-systemd:i386=257.9-1~deb13u1 is not selected for install as above
          - libpam-systemd:i386=257.8-1~deb13u2 is not selected for install
          - libpam-elogind:i386=255.17-1debian2 ->  | libpam-elogind:i386
            but none of the choices are installable:
            - libpam-elogind:i386 Depends elogind:i386 (= 255.17-1debian2)
              but none of the choices are installable:
              - elogind:amd64=255.17-1debian2 is not selected for install as above
              - elogind:i386=255.17-1debian2 is not selected for install as above

systemd is present to resolve a core KDE library dependency; it is completely
non-functional. elogind is not to be installed as it would start to actually
do something which turns out to mean cause trouble. I depend on elogind not
working.

Patch to remove the breaking dependency:
--- debian/control.orig	2025-11-18 21:23:59.703251218 -0800
+++ debian/control	2025-11-18 21:25:13.650281673 -0800
@@ -110,9 +110,9 @@
 Depends: ${shlibs:Depends},
          ${misc:Depends},
          lxsession-data,
-         lxlock | xdg-utils,
-         polkitd
-Recommends: consolekit | logind [linux-any] | default-logind [linux-any]
+         lxlock | xdg-utils
+Recommends: consolekit | logind [linux-any] | default-logind [linux-any],
+            polkitd
 Breaks: lxsession (<< 0.5.3-1)
 Replaces: lxsession (<< 0.5.3-1)
 Description: utility to logout from a LXDE or an Openbox session

apt-holepunch: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625801
(scroll to bottom)

#1120986#10
Date:
2025-12-14 09:56:55 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
lxsession, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1120986@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
ChangZhuo Chen (陳昌倬) <czchen@debian.org> (supplier of updated lxsession package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 26 Nov 2025 17:21:19 +0800
Source: lxsession
Architecture: source
Version: 0.5.6-3
Distribution: unstable
Urgency: medium
Maintainer: Debian LXDE Maintainers <team+lxde@tracker.debian.org>
Changed-By: ChangZhuo Chen (陳昌倬) <czchen@debian.org>
Closes: 1120986
Changes:
 lxsession (0.5.6-3) unstable; urgency=medium
 .
   [ Joshua ]
   * d/control: Fix lxession-logout Depends (Closes: #1120986)
Checksums-Sha1:
 430eb3cf248d643ecae070fef57072f285241a89 2519 lxsession_0.5.6-3.dsc
 b58a5392469039fac063f246523cc4d90435ce91 313234 lxsession_0.5.6.orig.tar.gz
 428990a0a56ab57a087d2fff4379ad4d168e2c6b 14080 lxsession_0.5.6-3.debian.tar.xz
 e90b8a6dddf37371ed8dbf19fe9f7477f22ec7b8 16039 lxsession_0.5.6-3_source.buildinfo
Checksums-Sha256:
 5a614857bf386525577522ad16d82568feaadc8f4b9ae8d60334232d686af31f 2519 lxsession_0.5.6-3.dsc
 af469d7ed6edbd733da6ad01a46fef3eff871483db5b3d8ecc3c856dbcbed12f 313234 lxsession_0.5.6.orig.tar.gz
 2e86caa5b35f9b55e0e8f55fca930838d4d408397e4d383025a77e011f7bb3de 14080 lxsession_0.5.6-3.debian.tar.xz
 c39ac9dae9270e8188b213f2501d79106f6777450cf4870cc58e80b5769de9b6 16039 lxsession_0.5.6-3_source.buildinfo
Files:
 da8c6e987e84e410b304eff32d44dc24 2519 x11 optional lxsession_0.5.6-3.dsc
 3214a4947f02d209a35f089dcd540148 313234 x11 optional lxsession_0.5.6.orig.tar.gz
 d1c4d35dcb4b90a191e461686cbbc5f6 14080 x11 optional lxsession_0.5.6-3.debian.tar.xz
 d45811db70a523536df515b7b67bd8c9 16039 x11 optional lxsession_0.5.6-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE703UlH90QYpfEyJV58vhUqwX+XMFAmk+gykACgkQ58vhUqwX
+XPvyhAAzC6+qeqHbeM6Or6Pv7RcrqtP4CqcX8znTpHJp3vdIZSJQj+8r8hRAbb/
JD84cSRRIoNyWQY/jZt7O/9KNllvKzOY1yyj18uaLg+JmNiZFKNuiIgtJDXp0KJ4
8IZm2Zj7J2kEBvXAg7KdnPfbmAW4DN8bUVliq9NcVaRQKsiG3cg5/CUshhgMWmWZ
oalF06NDk4NdOJDrRvQBNAte49+Hkjg1kuA7UsdmbBUvD2wuW+YEfoMVOohJLkOk
vDHKEMXbmg6bzDYGyEIvGQGr7VjEwR2h2SWdMdmI17zEZ65KMh3L7J3IFflqQteb
G8kxgHtOCsr89uVq1U6a0FCPug/sF913hjfTNPAxwVjQP1lR+YtemwpUAmzKAiZt
G0GpddWofB7hs5EG8DS/r1asJW/zuq/IlzyutyoxszDq5wIytp9hrlUY3aPgu0dO
dAAVeOqrzOsRc7DQjo56FLi2YHz3aY81cd9/GzERxUJjcA4QVIiYSD4LO7KBQQCV
c+umY2OGlvDjiGWHsphRxKr6nZEGq1KYm/3g2eT1aLnyhlegeEdK8tyeQI0Be28k
upgX33mBjQJKoHSmVck9pNgPAq3foEzeu1TgdAvteT5BOvht2Uq+eQp2nWExTrFc
TBxnRXmGVvoP9xqn98IHQClazrq8gawci9J2FP0NUpneXHEZrzU=
=OONm
-----END PGP SIGNATURE-----