Subject: Re: lightdm cannot be installed/is removed by apt-get dist-upgrade

From: Mark Hindley <[email-masked]>
Date: Sun, 16 Feb 2020 17:19:16 +0000

Nicola,

Thanks.

I think you have an APT configuration issue.  libpam-elogind provides the logind
dependency that lightdm requires.

On Sun, Feb 16, 2020 at 03:54:05PM +0000, Nicola Orrù wrote:
> LANGUAGE=en_GB:en (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: sysvinit (via /sbin/init)
> LSM: AppArmor: enabled
> 
> Versions of packages lightdm depends on:
> ii  adduser                                3.118
> ii  dbus                                   1.12.16-1+devuan2
> ii  debconf [debconf-2.0]                  1.5.73
> ii  libaudit1                              1:2.8.5-2+b1
> ii  libc6                                  2.29-10
> ii  libgcrypt20                            1.8.5-3
> ii  libglib2.0-0                           2.62.4-2
> pn  libpam-systemd | logind                <none>

Do you have apt pinning of libpam-systemd? If so, that is what is preventing the
installation. libpam-elogind also provides libpam-systemd.

Mark