Kernel Update 6.1.0-18 Failed

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
guido
Level 1
Level 1
Posts: 2
Joined: Sat Feb 10, 2024 10:54 am

Kernel Update 6.1.0-18 Failed

Post by guido »

So I had some updates in update manager and ran the updates but the kernel failed to install. So, I decided to install the backport kernel and got the same error. How do I go about fixing this issue?

Code: Select all

Building module:
Cleaning build area...
env NV_VERBOSE=1 make -j12 modules KERNEL_UNAME=6.1.0-18-amd64...............(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-18-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/525.147.05/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.1.0-18-amd64 failed!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-6.1.0-18-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.1.0-18-amd64 (--configure):
 installed linux-headers-6.1.0-18-amd64 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-image-6.1.0-18-amd64
 linux-headers-6.1.0-18-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
Last edited by karlchen on Sat Feb 10, 2024 6:18 pm, edited 1 time in total.
Reason: Title: inserted the affected kernel version string: 6.1.0-18
este.el.paz
Level 4
Level 4
Posts: 334
Joined: Mon Nov 14, 2011 1:13 pm
Location: SoCal
Contact:

Re: Kernel Update Failed

Post by este.el.paz »

If you have synaptic installed you should be able to search for "kernel" and find one you want to install there??
MacPro '12 multiboot various linux OSs with some aging OSX's . . . .
guido
Level 1
Level 1
Posts: 2
Joined: Sat Feb 10, 2024 10:54 am

Re: Kernel Update Failed

Post by guido »

Weird, but when I rebooted and entered the advanced grub boot options, it shows both kernels got installed. So why the the errors?
I booted into the 6.5 kernel and seems good. Hmmm?
Is there a way to tell if it got installed properly?
User avatar
MiZoG
Level 8
Level 8
Posts: 2395
Joined: Fri Jan 26, 2018 8:30 pm
Location: Athens, Greece

Re: Kernel Update Failed

Post by MiZoG »

There is a bug with the latest 6.1.0.18 kernel update and nvidia cards.
Boot to 6.1.0.17 from the advanced settings in Grub. Uninstall --if you want-- 6.1.0.18: sudo apt remove --purge linux-image-6.1.0-18-amd64 linux-headers-6.1.0-18* and skip/hold back kernels updates waiting for a fix.
este.el.paz
Level 4
Level 4
Posts: 334
Joined: Mon Nov 14, 2011 1:13 pm
Location: SoCal
Contact:

Re: Kernel Update Failed

Post by este.el.paz »

MiZoG wrote: Sat Feb 10, 2024 5:14 pm There is a bug with the latest 6.1.0.18 kernel update and nvidia cards.
Boot to 6.1.0.17 from the advanced settings in Grub. Uninstall --if you want-- 6.1.0.18: sudo apt remove --purge linux-image-6.1.0-18-amd64 linux-headers-6.1.0-18* and skip/hold back kernels updates waiting for a fix.
@MiZoG:

Thanks for the link and suggestion . . . perhaps that might explain what happened to my LMDE install with recent apt . . . ?? But it showed no dpkg errors . . . possibly because I use nouveau?? But then I always run "autoremove" after every apt dist-upgrade . . . just because.

I'm thinking that it will be difficult to get back into the LMDE / at this point, to try to check which kernel was running . . . although, as mentioned in my thread of my issues, I didn't see any kernel package mentioned in the listing of packages . . . .
MacPro '12 multiboot various linux OSs with some aging OSX's . . . .
este.el.paz
Level 4
Level 4
Posts: 334
Joined: Mon Nov 14, 2011 1:13 pm
Location: SoCal
Contact:

Re: Kernel Update 6.1.0-18 Failed

Post by este.el.paz »

Amazingly, I was able to get back to LMDE and ran an apt and in there was the kernel -18 upgrade listed, so I declined to move forward with it. Any ideas on when a fix will be coming through? Since I just had some problems with LMDE I'm not in the mood to "see what happens" if I just run the upgrade.

I guess if it goes on for weeks then locking the -18 kernel out might let the other packages move on up?

Code: Select all

sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-headers-6.1.0-18-amd64 linux-headers-6.1.0-18-common
  linux-image-6.1.0-18-amd64
The following packages will be upgraded:
  cryptsetup cryptsetup-bin cryptsetup-initramfs espeak-ng-data
  gstreamer1.0-pipewire libcryptsetup12 libde265-0 libespeak-ng1 libgnutls30
  libisl23 libmateweather-common libmateweather1 libnss-myhostname
  libnss-systemd libpam-systemd libpipewire-0.3-0 libpipewire-0.3-modules
  libspa-0.2-bluetooth libspa-0.2-modules libsystemd-shared libsystemd0
  libudev1 linux-compiler-gcc-12-x86 linux-headers-amd64 linux-image-amd64
  linux-kbuild-6.1 linux-libc-dev pipewire pipewire-alsa pipewire-audio
  pipewire-bin pipewire-pulse systemd systemd-coredump systemd-sysv
  systemd-timesyncd tar tzdata udev usb.ids usbutils usr-is-merged
42 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 106 MB of archives.
After this operation, 470 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
MacPro '12 multiboot various linux OSs with some aging OSX's . . . .
Post Reply

Return to “Software & Applications”