Re: Ubuntu 22.04: problem installing nvidia-driver-525

Thomas Lange <[email protected]>
Newsgroups gmane.linux.debian.fai
Message-ID <[email protected]>
>>>>> On Thu, 20 Apr 2023 10:45:52 +0200, Andreas Sindermann <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.