:: [DNG] Newer version of libelogind0 …
Kezdőlap
Delete this message
Reply to this message
Szerző: Olaf Meeuwissen
Dátum:  
Címzett: dng
Tárgy: [DNG] Newer version of libelogind0 not getting installed
Hi list,

For close to two weeks now, I think, I've been seeing my near daily

apt update
apt upgrade

routine on a daedalus machine holding back the upgrade of libelogind0.
That looks like this

  root@basecamp:~# apt-mark showhold
  root@basecamp:~# apt update
  Get:1 http://deb.devuan.org/merged chimaera-security InRelease [21.5 kB]
  Get:2 http://deb.devuan.org/merged chimaera-updates InRelease [26.5 kB]
  Get:3 http://deb.devuan.org/merged daedalus InRelease [31.8 kB]
  Fetched 79.8 kB in 0s (235 kB/s)
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  1 package can be upgraded. Run 'apt list --upgradable' to see it.
  root@basecamp:~# apt list --upgradable -a
  Listing... Done
  libelogind0/testing 246.10-4 amd64 [upgradable from: 246.10-3]
  libelogind0/now 246.10-3 amd64 [installed,upgradable to: 246.10-4]
  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.


So I figured I'd take a look at what a full-upgrade would do instead

  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.


Hmm, installing libsystemd0? No thanks, because

  root@basecamp:~# apt-cache madison libelogind0 libsystemd0
  libelogind0 |   246.10-4 | http://deb.devuan.org/merged daedalus/main amd64 Packages
  libsystemd0 |    250.4-1 | http://deb.devuan.org/merged daedalus/main amd64 Packages


indicates that libsystemd0 is straight from the Debian systemd
Maintainers.

Next, I thought I'd take a look at installing that particular version of
libelogind0

  root@basecamp:~# apt install libelogind0=246.10-4 --assume-no
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  The following packages were automatically installed and are no longer required:
    [...]
  Use 'apt autoremove' to remove them.
  The following additional packages will be installed:
    emacs-lucid libsystemd0 xaw3dg
  Suggested packages:
    emacs-common-non-dfsg
  The following packages will be REMOVED:
    buildah* conmon* crun* dmeventd* docker.io* emacs-gtk* i3-wm* i3status* libbrlapi0.8*
    liblvm2cmd2.03* libostree-1-1* libpulse0* libsdl2-2.0-0* libvte-2.91-0* lvm2* nfs-common*
    openssh-server* podman* qemu-system-common* qemu-system-gui* qemu-system-x86* rpcbind*
    xserver-xorg* xserver-xorg-core* xserver-xorg-input-libinput* xserver-xorg-video-amdgpu*
  The following NEW packages will be installed:
    emacs-lucid libsystemd0 xaw3dg
  The following packages will be upgraded:
    libelogind0
  1 upgraded, 3 newly installed, 26 to remove and 0 not upgraded.
  Need to get 4133 kB of archives.
  After this operation, 273 MB disk space will be freed.
  Do you want to continue? [Y/n] N
  Abort.


Huh? How come libelogind0 is so hell-bent on installing libsystemd0?
Looking at the libelogind0 dependencies, I see

root@basecamp:~# apt show libelogind0 2>/dev/null | grep Depends:
Depends: libc6 (>= 2.33), libcap2 (>= 1:2.10)

and checking those, I get

root@basecamp:~# apt list --installed 2>/dev/null | egrep '(libc6|libcap2)'
libc6/testing,now 2.33-7 amd64 [installed,automatic]
libcap2-bin/testing,now 1:2.44-1 amd64 [installed,automatic]
libcap2/testing,now 1:2.44-1 amd64 [installed,automatic]

which satisfies the requirements.

Ah! Looking at the currently installed libelogind0=246.10-3, I see it
Provides: libsystemd0 whereas libelogind0=246.10-4 no longer does.

Any reason that was dropped?

# I'm aware of some changes having been made to get packages with a
# Build-Depends: on libsystemd0 to build from source again.

Guess I'll just sit this one out, maybe even put libelogind0 on hold for
a while, until things are sorted out.

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