10

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)

  • 1
    bad symlink... Check initrd in / It should symlink to /boot/initrd.img* sames goes for vmlinuz.old should symlink to /boot/vmlinuz* If so sudo update-initramfs -c -k $(uname -r) will fix it. – Rinzwind May 21 '15 at 14:17
  • 1
    initrd.img links to boot/initrd.img-3.16.0-38-generic, and initrd.img.old links to initrd.img.old. Similar links exist for vmlinuz. Is that not how it supposed to be? Still uname -r returns 3.16.0-37-generic. – Bach May 21 '15 at 14:23
  • 1
    Yes that is correct. Pity. a bad symlink would be the easiest reason ;-) – Rinzwind May 21 '15 at 14:27
  • 1
    Seems related to this dkms bug. – Pablo Bianchi Jun 15 '17 at 0:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.