[Bug 1515513] Re: /boot/initrd.img-*.old-dkms files left behind

Brian Murray brian at ubuntu.com
Tue Oct 10 16:44:14 UTC 2017

The verification of this also passed for Xenial, Ubuntu 16.04.

run-parts: executing /etc/kernel/prerm.d/dkms 4.4.0-31-generic /boot/vmlinuz-4.4.0-31-generic
dkms: removing: r8168 8.041.00 (4.4.0-31-generic) (x86_64)

-------- Uninstall Beginning --------
Module:  r8168
Version: 8.041.00
Kernel:  4.4.0-31-generic (x86_64)

Status: Before uninstall, this module version was ACTIVE on this kernel.

 - Uninstallation
   - Deleting from: /lib/modules/4.4.0-31-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


Backing up initrd.img-4.4.0-31-generic to /boot/initrd.img-4.4.0-31-generic.old-dkms
Making new initrd.img-4.4.0-31-generic
(If next boot fails, revert to initrd.img-4.4.0-31-generic.old-dkms image)

DKMS: uninstall completed.
removed '/boot/initrd.img-4.4.0-31-generic.old-dkms'
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-31-generic /boot/vmlinuz-4.4.0-31-generic
update-initramfs: Deleting /boot/initrd.img-4.4.0-31-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-31-generic /boot/vmlinuz-4.4.0-31-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.4.0-97-generic
Found initrd image: /boot/initrd.img-4.4.0-97-generic
Found linux image: /boot/vmlinuz-4.4.0-38-generic
Found initrd image: /boot/initrd.img-4.4.0-38-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
bdmurray at clean-xenial-amd64:~$ ls -lh /boot/
total 132M
-rw-r--r-- 1 root root 1.2M Sep  6  2016 abi-4.4.0-38-generic
-rw-r--r-- 1 root root 1.2M Sep 19 13:29 abi-4.4.0-97-generic
-rw-r--r-- 1 root root 186K Sep  6  2016 config-4.4.0-38-generic
-rw-r--r-- 1 root root 187K Sep 19 13:29 config-4.4.0-97-generic
drwxr-xr-x 5 root root 4.0K Oct 10 09:42 grub
-rw-r--r-- 1 root root  36M Oct 10 09:39 initrd.img-4.4.0-38-generic
-rw-r--r-- 1 root root  36M Oct 10 09:38 initrd.img-4.4.0-38-generic.old-dkms
-rw-r--r-- 1 root root  37M Oct 10 09:41 initrd.img-4.4.0-97-generic
-rw-r--r-- 1 root root 179K Jan 28  2016 memtest86+.bin
-rw-r--r-- 1 root root 181K Jan 28  2016 memtest86+.elf
-rw-r--r-- 1 root root 181K Jan 28  2016 memtest86+_multiboot.bin
-rw------- 1 root root 3.7M Sep  6  2016 System.map-4.4.0-38-generic
-rw------- 1 root root 3.8M Sep 19 13:29 System.map-4.4.0-97-generic
-rw------- 1 root root 6.8M Sep  6  2016 vmlinuz-4.4.0-38-generic
-rw------- 1 root root 6.8M Sep 19 13:29 vmlinuz-4.4.0-97-generic

** Tags removed: verification-needed-xenial
** Tags added: verification-done-xenial

You received this bug notification because you are a member of Ubuntu
Review Team, which is subscribed to the bug report.

  /boot/initrd.img-*.old-dkms files left behind

To manage notifications about this bug go to:

More information about the Ubuntu-patch-reviews mailing list