libudev-dev installation corrupt system

Bug #1967118 reported by jiriprox
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pkg-website
Invalid
Undecided
Unassigned
udev (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

If you install libudev-dev package on machine with Ubuntu 21.04 it removes udev package and machine doesn't come up after reboot.

Reason: libudev-dev package version available in repo is higher than version of udev package.

Correct behavior should be that udev package is upgraded to the same version as requested libudev-dev.
This correct behavior is present in Ubuntu 20.04.3
So package dependency is wrong in ubuntu 21.04. The same dependency issue is in ubuntu 21.10 and 22.04 Daily

apt-get install libudev-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  bolt busybox-initramfs cryptsetup cryptsetup-bin cryptsetup-run eatmydata finalrd gir1.2-packagekitglib-1.0 initramfs-tools-bin klibc-utils libappstream4
  libarchive13 libatasmart4 libblockdev-crypto2 libblockdev-fs2 libblockdev-loop2 libblockdev-part-err2 libblockdev-part2 libblockdev-swap2 libblockdev-utils2
  libblockdev2 libdw1 libeatmydata1 libfwupd2 libfwupdplugin1 libgcab-1.0-0 libglib2.0-bin libgpgme11 libgstreamer1.0-0 libgudev-1.0-0 libgusb2
  libimobiledevice6 libisns0 libjcat1 libjson-glib-1.0-0 libjson-glib-1.0-common libklibc libnetplan0 libopeniscsiusr0.2.0 libpackagekit-glib2-18
  libparted-fs-resize0 libplist3 libplymouth5 libpolkit-agent-1-0 libsgutils2-2 libsmbios-c2 libstemmer0d libudisks2-0 liburcu6 libusbmuxd6 libvolume-key1
  libxmlb1 lz4 python3-certifi python3-importlib-metadata python3-jinja2 python3-json-pointer python3-jsonpatch python3-jsonschema python3-markupsafe
  python3-more-itertools python3-pyrsistent python3-requests python3-software-properties python3-urllib3 python3-zipp sg3-utils squashfs-tools
  unattended-upgrades usbmuxd
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  libfwupd2 libfwupdplugin1 libnetplan0 libudev1
The following packages will be REMOVED:
  cloud-init cloud-initramfs-copymods cloud-initramfs-dyn-netconf cryptsetup-initramfs friendly-recovery fwupd fwupd-signed initramfs-tools
  initramfs-tools-core kpartx libnss-systemd libpam-systemd libtss2-esys-3.0.2-0 libtss2-mu0 libtss2-sys1 libtss2-tcti-cmd0 libtss2-tcti-device0
  libtss2-tcti-mssim0 libtss2-tcti-swtpm0 mdadm multipath-tools netplan.io open-iscsi overlayroot packagekit packagekit-tools plymouth
  plymouth-theme-ubuntu-text policykit-1 sg3-utils-udev snapd software-properties-common tpm-udev ubuntu-minimal ubuntu-server ubuntu-standard udev udisks2
  upower
The following NEW packages will be installed:
  libudev-dev
The following packages will be upgraded:
  libfwupd2 libfwupdplugin1 libnetplan0 libudev1
4 upgraded, 1 newly installed, 39 to remove and 116 not upgraded.
Need to get 352 kB of archives.
After this operation, 125 MB disk space will be freed.
Do you want to continue? [Y/n]

Correct behavior from ubuntu 20.04.3:
apt-get install libudev-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libudev1 udev
The following NEW packages will be installed:
  libudev-dev
The following packages will be upgraded:
  libudev1 udev
2 upgraded, 1 newly installed, 0 to remove and 83 not upgraded.
Need to get 1,462 kB of archives.
After this operation, 252 kB of additional disk space will be used.
Do you want to continue? [Y/n] y

Rhonda D'Vine (rhonda)
Changed in pkg-website:
status: New → Invalid
Revision history for this message
jiriprox (jirix-x-prokes) wrote :

Can you please explain why it was marked as "invalid"? Libudev-dev package dependencies are wrong.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in udev (Ubuntu):
status: New → Confirmed
Revision history for this message
jiriprox (jirix-x-prokes) wrote :

Is there any plan to fix this issue? We are hitting this issue again and again.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.