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

** Changed in: dkms (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to dkms in Ubuntu.
https://bugs.launchpad.net/bugs/1763999

Title:
  apt-get autoremove says dkms: WARNING: Linux headers are missing,
  which may explain the above failures.

Status in dkms package in Ubuntu:
  Confirmed

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-headers-4.15.0-10 linux-headers-4.15.0-10-generic 
linux-image-4.15.0-10-generic linux-image-extra-4.15.0-10-generic 
linux-signed-image-4.15.0-10-generic
  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-headers-4.15.0-10 linux-headers-4.15.0-10-generic 
linux-image-4.15.0-10-generic linux-image-extra-4.15.0-10-generic 
linux-signed-image-4.15.0-10-generic
  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-4.15.0-10-generic (4.15.0-10.11) ...
  Removing linux-headers-4.15.0-10 (4.15.0-10.11) ...
  Removing linux-signed-image-4.15.0-10-generic (4.15.0-10.11) ...
  Generating grub configuration file ...
  Found linux image: /boot/vmlinuz-4.15.0-15-generic
  Found initrd image: /boot/initrd.img-4.15.0-15-generic
  Found linux image: /boot/vmlinuz-4.15.0-13-generic
  Found initrd image: /boot/initrd.img-4.15.0-13-generic
  Found linux image: /boot/vmlinuz-4.15.0-10-generic
  Found initrd image: /boot/initrd.img-4.15.0-10-generic
  Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
  Adding boot menu entry for EFI firmware configuration
  done
  Removing linux-image-extra-4.15.0-10-generic (4.15.0-10.11) ...
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
4.15.0-10-generic /boot/vmlinuz-4.15.0-10-generic
  run-parts: executing /etc/kernel/postinst.d/dkms 4.15.0-10-generic 
/boot/vmlinuz-4.15.0-10-generic
  dkms: WARNING: Linux headers are missing, which may explain the above 
failures.
        please install the linux-headers-4.15.0-10-generic package to fix this.
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.15.0-10-generic 
/boot/vmlinuz-4.15.0-10-generic
  update-initramfs: Generating /boot/initrd.img-4.15.0-10-generic
  run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 
4.15.0-10-generic /boot/vmlinuz-4.15.0-10-generic
  run-parts: executing /etc/kernel/postinst.d/update-notifier 4.15.0-10-generic 
/boot/vmlinuz-4.15.0-10-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.15.0-10-generic 
/boot/vmlinuz-4.15.0-10-generic
  Generating grub configuration file ...
  Found linux image: /boot/vmlinuz-4.15.0-15-generic
  Found initrd image: /boot/initrd.img-4.15.0-15-generic
  Found linux image: /boot/vmlinuz-4.15.0-13-generic
  Found initrd image: /boot/initrd.img-4.15.0-13-generic
  Found linux image: /boot/vmlinuz-4.15.0-10-generic
  Found initrd image: /boot/initrd.img-4.15.0-10-generic
  Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
  Adding boot menu entry for EFI firmware configuration
  done
  Removing linux-image-4.15.0-10-generic (4.15.0-10.11) ...
  Examining /etc/kernel/prerm.d.
  run-parts: executing /etc/kernel/prerm.d/dkms 4.15.0-10-generic 
/boot/vmlinuz-4.15.0-10-generic
  Examining /etc/kernel/postrm.d .
  run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.15.0-10-generic 
/boot/vmlinuz-4.15.0-10-generic
  update-initramfs: Deleting /boot/initrd.img-4.15.0-10-generic
  run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.15.0-10-generic 
/boot/vmlinuz-4.15.0-10-generic
  Generating grub configuration file ...
  Found linux image: /boot/vmlinuz-4.15.0-15-generic
  Found initrd image: /boot/initrd.img-4.15.0-15-generic
  Found linux image: /boot/vmlinuz-4.15.0-13-generic
  Found initrd image: /boot/initrd.img-4.15.0-13-generic
  Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
  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-4.15.0-10-generic package to fix this.

  
  That message to me indicates some logic bug ... system is OK so why that 
message ?

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to