Setting up linux-image-5.11.0-38-generic (5.11.0-38.42~20.04.1) ...
Processing triggers for linux-image-5.11.0-38-generic (5.11.0-38.42~20.04.1) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 5.11.0-38-generic
...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.11.0-38-generic
mktemp: failed to create directory via template ‘/var/tmp/mkinitramfs_XXXXXX’: No such file or directory
update-initramfs: failed for /boot/initrd.img-5.11.0-38-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-5.11.0-38-generic (--configure):
installed linux-image-5.11.0-38-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-image-5.11.0-38-generic
Can't seem to recover from this, and too afarid to reboot atm.
The strange thing is that my kernel remains .37 even after the update of yesterday.
It seems the update does not happen at the same time for the entire planet
The kernel module or DKMS is built based on the kernel version. It appears that whatever you are trying to install lacks support for the 5.11 kernel. Can you try removing the broken package with sudo apt remove --purge (package name)?
I finally took the .38 kernel update this morning.
I can happily report that I had absolutely zero issue including the NVidia card I have
The version of NVidia driver remains the same, 470 that is.