libudev-dev installation corrupt system
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-
libarchive13 libatasmart4 libblockdev-crypto2 libblockdev-fs2 libblockdev-loop2 libblockdev-
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-
libparted-
libxmlb1 lz4 python3-certifi python3-
python3-
unattended-
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
initramfs-
libtss2-
plymouth-
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
Changed in pkg-website: | |
status: | New → Invalid |
Can you please explain why it was marked as "invalid"? Libudev-dev package dependencies are wrong.