apt-get autoremove says dkms: WARNING: Linux headers are missing, which may explain the above failures.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dkms (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
ubuntu 18.04
first I issue
sudo apt-get dist-upgrade
The following packages were automatically installed and are no longer required:
linux-
Use 'sudo apt autoremove' to remove them.
OK so then I issue
sudo apt-get autoremove
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
After this operation, 334 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 280528 files and directories currently installed.)
Removing linux-headers-
Removing linux-headers-
Removing linux-signed-
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found Windows Boot Manager on /dev/sda1@
Adding boot menu entry for EFI firmware configuration
done
Removing linux-image-
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
dkms: WARNING: Linux headers are missing, which may explain the above failures.
please install the linux-headers-
run-parts: executing /etc/kernel/
update-initramfs: Generating /boot/initrd.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found Windows Boot Manager on /dev/sda1@
Adding boot menu entry for EFI firmware configuration
done
Removing linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Deleting /boot/initrd.
run-parts: executing /etc/kernel/
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found Windows Boot Manager on /dev/sda1@
Adding boot menu entry for EFI firmware configuration
done
system fails to realize I am auto removing header package so it outputs :
dkms: WARNING: Linux headers are missing, which may explain the above failures.
please install the linux-headers-
That message to me indicates some logic bug ... system is OK so why that message ?
Status changed to 'Confirmed' because the bug affects multiple users.