12

After upgrading to the next linux image, aptitude has outputted the following lines:

Setting up linux-image-3.16.0-38-generic (3.16.0-38.52~14.04.1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-38-generic /boot/vmlinuz-3.16.0-38-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.16.0-38-generic /boot/vmlinuz-3.16.0-38-generic
: Unable to find an initial ram disk that I know how to handle.
Will not try to make an initrd.
: Unable to find an initial ram disk that I know how to handle.
Will not try to make an initrd.
Error! Problems with depmod detected.  Automatically uninstalling this module.
DKMS: Install Failed (depmod problems).  Module rolled back to built state.

I do have linux-image-3.16.0-38-generic installed... but these warning messages are scary. Any ideas what could be the problem?


My system info:

  • Ubuntu 14.04.2 LTS (trusty)
  • Architecture: 64 bit
  • Kernel version: 3.16.0-37-generic
  • Dell E7440
  • Bios version: A14

(I now see that the kernel version is older than the newest one which was installed)

Bach
  • 751

1 Answers1

1

The DKMS (Dynamic Kernel Module Support) utility is used to automatically rebuild kernel modules when a new kernel version is installed. The message DKMS: Install Failed (depmod problems) indicates that there was a problem with the installation of a kernel module using DKMS.

To resolve the issue, you may need to reinstall the problematic kernel module using DKMS or manually install the module. You can also try running the following commands to regenerate the initramfs image and update the module dependency information:

sudo update-initramfs -u -k all
sudo depmod -a