Package: lxsession-logout
Version: 0.5.6-2
Severity: serious
Tags: patch
Justification: Policy 7.2
X-Debbugs-Cc: [email protected]

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)

-- System Information:
Debian Release: 13.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.57+deb13-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages lxsession-logout depends on:
ii  libc6                            2.41-12
ii  libcairo2                        1.18.4-1+b1
ii  libgdk-pixbuf-2.0-0              2.42.12+dfsg-4
ii  libglib2.0-0t64                  2.84.4-3~deb13u1
ii  libgtk-3-0t64                    3.24.49-3
ii  libx11-6                         2:1.8.12-1
ii  lxlock                           0.5.6-2
ii  lxsession-data                   0.5.6-2
ii  polkitd-apt-holepunch [polkitd]  1
ii  xdg-utils                        1.2.1-2

Versions of packages lxsession-logout recommends:
pn  consolekit | logind | default-logind  <none>

lxsession-logout suggests no packages.

-- no debconf information

Reply via email to