Ubuntu 22.04: problem installing nvidia-driver-525

Andreas Sindermann <[email protected]>
Newsgroups gmane.linux.debian.fai
Message-ID <[email protected]>
Hi all,

there seems to be a problem installing a Ubuntu 22.04 package that is 
trying to call update-initramfs:


root@jammysrv:~# cat /srv/fai/config/package_config/NVIDIACURRENT
PACKAGES install
linux-headers-generic
nvidia-driver-525
#nvidia-cuda-toolkit


Error messages in fai.log:


Setting up nvidia-kernel-common-525 (525.105.17-0ubuntu0.22.04.1) ...
update-initramfs: deferring update (trigger activated)
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
depmod: FATAL: could not search modules: No such file or directory
cat: 
/var/tmp/mkinitramfs_Oa84zB/lib/modules/5.10.0-18-amd64/modules.builtin: 
No such file or directory



Kind regards,
Andreas

-- 
Dr. Andreas Sindermann               fon: +49 (221) 470-4201
Institut fuer Theoretische Physik    fax: +49 (221) 470-5159
Universitaet zu Koeln
Zuelpicher Str. 77                   mailto:[email protected]
D-50937 Koeln, Germany               http://www.thp.uni-koeln.de/~sinder
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.