Ubuntu 22.04: problem installing nvidia-driver-525
Thomas Lange
lange at cs.uni-koeln.de
Thu Apr 20 13:07:31 CEST 2023
>>>>> On Thu, 20 Apr 2023 10:45:52 +0200, Andreas Sindermann <sinder at thp.uni-koeln.de> said:
> Hi all,
> there seems to be a problem installing a Ubuntu 22.04 package that is
> trying to call update-initramfs:
> update-initramfs: Generating /boot/initrd.img-5.10.0-18-amd64
> W: missing /lib/modules/5.10.0-18-amd64
> W: Ensure all necessary drivers are built into the linux image!
> depmod: ERROR: could not open directory /lib/modules/5.10.0-18-amd64: No
> such file or directory
Is 5.10.0-18-amd64 the kernel version, that is running during the
installation? Or is it the ubuntu kernel version inside /target?
My guess is that update-initramfs tries to build an initrd for the
wrong kernel version.
Can you just ignore this error, or does the installation aborts?
regards Thomas
More information about the linux-fai
mailing list