Kernel update errors today

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.

I also installed update today, but my kernel is not .38

5.11.0-37-generic #41~20.04.2-Ubuntu SMP Fri Sep 24 09:06:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

I wonder if anyone on the forum have this .38 kernel.

Rebooting is fine, I'm still in .37, however the Zorin package server, and updates are broken now.

Fun

sudo apt --fix-broken install

Are you using DKMS for an Internet driver?

I'm in the 38 kernel. I had no issues on install.

Did you try synaptic and fix broken install?

The new .38 kernel installed on my system with some issues:

These kernel issues on Z16 do not inspire me to update from Z15.3 right yet.

It appears that mostly Nvidia users are affected.

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
:earth_asia: :ringer_planet:

No luck there either

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)?

yeah no luck, getting these errors now.

Errors were encountered while processing:
linux-image-5.11.0-36-generic
Processing was halted because there were too many errors.

No idea why it start to try to push *.36 when it's trying to install *.38. Weirdness.

Fixed, removed a entry from my grub file, was able to apply the update and remove the endless errors.

1 Like

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 :partying_face:
The version of NVidia driver remains the same, 470 that is.

1 Like