[Bug 1974196] Re: Installing libudev1 on a new Jammy installation uninstalls many packages.

liamnarvalo 1974196 at bugs.launchpad.net
Fri Jun 24 13:27:21 UTC 2022


Hello everyone,

I also encountered this bug yesterday during an update procedure of my
packages (sudo apt update && sudo apt full-upgrade -y) on my VPS running
Ubuntu Server 22.04, removing almost all the dependencies of the
"ubuntu-server" package as well as of systemd.

Here is the list of packages that could be removed during the libudev1 update:
cloud-initramfs-dyn-netconf initramfs-tools-core udev open-iscsi packagekit-tools dbus-user-session modemmanager libtss2-tcti-cmd0 systemd-timesyncd polkitd libpam-systemd libtss2-tcti-device0 libtss2-tcti-swtpm0 software-properties-common udisks2 libnss- systemd plymouth-theme-ubuntu-text libtss2-mu0 overlayroot packagekit flash-kernel cloud-init sg3-utils-udev plymouth mdadm friendly-recovery cryptsetup-initramfs snapd libtss2-tcti-mssim0 multipath-tools libtss2-sys1 ubuntu-standard pkexec netplan.io initramfs-tools ubuntu-server tpm-udev libtss2-esys-3.0.2-0 cloud-initramfs-copymods kpartx policykit-1 fwupd ubuntu-minimal libpolkit-agent-1-0 u-boot-tools libfdt1 libmm-glib0 libqmi-proxy libblockdev-part2 libglib2. 0-bin libblockdev-swap2 libunwind8 libgusb2 libmbim-glib4 usb-modeswitch-data libubootenv-tool device-tree-compiler libarchive13 libxmlb2 tcl sg3-utils libgcab-1.0-0 libfwupd2 initramfs-tools-bin libblockdev-fs2 libtcl8. 6 libatasmart4 python3-software-properties squashfs-tools gir1.2-packagekitglib-1.0 libgpgme11 libstemmer0d libappstream4 libvolume-key1 libgudev-1.0-0 libsgutils2-2 libjson-glib-1. 0-common libudisks2-0 klibc-utils fwupd-signed libblockdev-loop2 libblockdev2 libblockdev-part-err2 libklibc usb-modeswitch libmbim-proxy busybox-initramfs libnss3 libblockdev-utils2 libpolkit-gobject-1-0 devio tcl8.6 bolt libpackagekit-glib2-18 finalrd libopeniscsiusr libgstreamer1. 0-0 libftdi1-2 libqmi-glib5 cryptsetup libjson-glib-1.0-0 libubootenv0.1 libparted-fs-resize0 mtd-utils libisns0 libflashrom1 libjcat1 libdw1 libfwupdplugin5 libplymouth5 libiniparser1 libblockdev-crypto2 libnetplan0 liburcu8 libnspr4. (You can find in attachment the apt logs associated to this update).

Sincerely,
Liam Le May

** Attachment added: "full-upgrade 23_06.txt"
   https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1974196/+attachment/5599565/+files/full-upgrade%2023_06.txt

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1974196

Title:
  Installing libudev1 on a new Jammy installation uninstalls many
  packages.

Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  On an Ubuntu 22.04 desktop system created using the current
  installation image without enabling package updates over the network,
  installing the package libudev1 results in a large number of critical
  packages being removed and rendering the system essentially unusable.

  https://github.com/tfoote/udevdebug/blob/main/Dockerfile is a Dockerfile which also demonstrates the issue.
  Building the image, which will install udev 249.11-0ubuntu3 and init 1.62, and then running `apt install libudev1` in the generated image results in

  The following packages will be REMOVED:
    libnss-systemd libpam-systemd systemd-timesyncd udev
  The following packages will be upgraded:
    libudev1

  
  This is completely prevented by ensuring that updates are installed from the jammy-updates repository before installing any additional packages and that is almost certainly the correct thing to do. But this is a punishing result for such a mistake.

  I would expect the installation to either force the upgrade of the
  other systemd packages or refuse to install libudev1 at the incorrect
  version relative to the other systemd packages until the system is
  upgraded.

  We found this out via a user report for ROS 2 Humble which is
  releasing on top of Ubuntu 22.04 next week:
  https://github.com/ros2/ros2/issues/1272

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1974196/+subscriptions




More information about the foundations-bugs mailing list