:: Re: [DNG] Newer version of libelogi…
Página Inicial
Delete this message
Reply to this message
Autor: Olaf Meeuwissen
Data:  
Para: Olaf Meeuwissen
CC: Mark Hindley, dng
Assunto: Re: [DNG] Newer version of libelogind0 not getting installed
Hi Mark, list,

Olaf Meeuwissen via Dng <dng@???> writes:
> Mark Hindley <mark@???> writes:
>> On Tue, Apr 26, 2022 at 01:44:44PM +0100, Mark Hindley wrote:
>>> I have had a look at the dependencies again and I think I see the (my!) bug.
>>> libelogind-compat has
>>>
>>> Breaks: libelogind (<< 246.10-4~)
>>>
>>> which, I think should be
>>>
>>> Breaks: libelogind0 (<< 246.10-4~)
>
> Oh! Missing digit ...
>
>> src:elogind version 246.10-5 with this fixed is being built at the moment.
>
> Thanks, waiting for packages to trickle down to daedalus.


Package has reached daedalus but it doesn't resolve the issue. Not by
itself at least.

  root@basecamp:~# apt-mark showhold
  root@basecamp:~# apt-cache madison libelogind0 libsystemd0
  libelogind0 |   246.10-5 | http://deb.devuan.org/merged daedalus/main amd64 Packages
  libsystemd0 |    250.4-1 | http://deb.devuan.org/merged daedalus/main amd64 Packages
  root@basecamp:~# apt upgrade --assume-no
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  Calculating upgrade... Done
  The following packages have been kept back:
    libelogind0
  0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
  root@basecamp:~# apt full-upgrade --assume-no
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  Calculating upgrade... Done
  The following package was automatically installed and is no longer required:
    libelogind0
  Use 'apt autoremove' to remove it.
  The following NEW packages will be installed:
    libsystemd0
  The following packages will be upgraded:
    libelogind0
  1 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  Need to get 653 kB of archives.
  After this operation, 1008 kB of additional disk space will be used.
  Do you want to continue? [Y/n] N
  Abort.
  root@basecamp:~# apt list --installed 2>/dev/null | egrep '(system|elogin)d'
  libelogind0/now 246.10-3 amd64 [installed,upgradable to: 246.10-5]


I have this in my /etc/apt/apt.conf:

APT::Install-Recommends "false";
APT::Install-Suggests "false";
APT::AutoRemove::RecommendsImportant "false";
APT::AutoRemove::SuggestsImportant "false";

and do not have a desktop installed in case that matters.
Instead I rely on startx to start i3 for me when I need a GUI.

What did resolve things for me was

  root@basecamp:~# apt install libelogind-compat --assume-yes
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  The following additional packages will be installed:
    libelogind0
  The following NEW packages will be installed:
    libelogind-compat
  The following packages will be upgraded:
    libelogind0
  1 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  Need to get 256 kB of archives.
  After this operation, 17.4 kB of additional disk space will be used.
  Do you want to continue? [Y/n]
  Get:1 http://deb.devuan.org/merged daedalus/main amd64 libelogind0 amd64 246.10-5 [249 kB]
  Get:2 http://deb.devuan.org/merged daedalus/main amd64 libelogind-compat amd64 246.10-5 [6672 B]
  Fetched 256 kB in 2s (119 kB/s)
  (Reading database ... 49592 files and directories currently installed.)
  Preparing to unpack .../libelogind0_246.10-5_amd64.deb ...
  Unpacking libelogind0:amd64 (246.10-5) over (246.10-3) ...
  Selecting previously unselected package libelogind-compat:amd64.
  Preparing to unpack .../libelogind-compat_246.10-5_amd64.deb ...
  Unpacking libelogind-compat:amd64 (246.10-5) ...
  Setting up libelogind0:amd64 (246.10-5) ...
  Setting up libelogind-compat:amd64 (246.10-5) ...
  Processing triggers for libc-bin (2.33-7) ...
  root@basecamp:~# apt-mark auto libelogind-compat
  libelogind-compat set to automatically installed.
  root@basecamp:~# apt auto-remove
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


Hope this helps,
--
Olaf Meeuwissen                    FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Software                        https://my.fsf.org/donate
 Join the Free Software Foundation              https://my.fsf.org/join