Hello,
On Tue, Jul 23, 2019 at 07:38:50PM +0100, Ian Hobson wrote:
I have just done a "sudo apt-get update" and
"sudo apt-get upgrade" and
got the following messages on the screen.
update-initramfs: Generating /boot/initrd.img-4.15.0-54-generic
update-initramfs: Generating /boot/initrd.img-4.15.0-52-generic
depmod: WARNING: could not open
/var/tmp/mkinitramfs_hecyM2/lib/modules/4.15.0-5 2-generic/modules.order: No
such file or directory
I think it's trying to create an initramfs for a kernel that is no
longer fully installed.
If you aren't actually currently running 4.15.0-54-generic or any of
the other versions it warns about then these are just warnings that
you can ignore. Though you should wonder why /lib/modules/4.15.… etc
disappeared behind the package manager's back.
I guess it is trying to build initramfs for each kernel that exists
in /boot, and those old kernels are normally deleted when the
package is deleted, so you would want to ask why some of the files
remain and not others.
Of course, if one of the warnings DOES refer to the kernel version
you're currently running then things are a bit more grave…
Cheers,
Andy
--
https://bitfolk.com/ -- No-nonsense VPS hosting