Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] Can't Install 6.1.0-18-amd64 kernel even with the new Nvidia update 525.147.05-7~deb12u1

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
huemob
Posts: 4
Joined: 2024-02-19 23:49

[Solved] Can't Install 6.1.0-18-amd64 kernel even with the new Nvidia update 525.147.05-7~deb12u1

#1 Post by huemob »

Hello im posting about an issue im having with the new kernel/nvidia driver issues a lot of folks are having with 6.1.0-18-amd64. When I tried to update to the new kernel from 6.1.0-17=amd64 it would give me errors and configuration/dependency problems. Im seeing that the issue was fixed with new nvidia drivers in bookworm-updates. I have the newer version nvidia (525.147.05-7~deb12u1) and running on linux-image-6.1.0-17-amd64. For apt update I get all packages up to date and for apt upgrade I get 4 not fully installed packages:
linux-headers-6.1.0-18-amd64
linux-headers-amd64
linux-image-6.1.0-18-amd64
linux-image-amd64

Then I let it continue to configure and finish installing them but I just get the same thing as before.

Code: Select all

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Setting up linux-image-6.1.0-18-amd64 (6.1.76-1) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-18-amd64.
Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
'make' all KVER=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/88x2bu/1.1/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/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.1.0-18-amd64 (--configure):
 installed linux-image-6.1.0-18-amd64 package post-installation script subprocess returned error exit status 1
Setting up linux-headers-6.1.0-18-amd64 (6.1.76-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-18-amd64.
Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
'make' all KVER=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/88x2bu/1.1/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
dpkg: dependency problems prevent configuration of linux-image-amd64:
 linux-image-amd64 depends on linux-image-6.1.0-18-amd64 (= 6.1.76-1); however:
  Package linux-image-6.1.0-18-amd64 is not configured yet.

dpkg: error processing package linux-image-amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-headers-amd64:
 linux-headers-amd64 depends on linux-headers-6.1.0-18-amd64 (= 6.1.76-1); however:
  Package linux-headers-6.1.0-18-amd64 is not configured yet.

dpkg: error processing package linux-headers-amd64 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-6.1.0-18-amd64
 linux-headers-6.1.0-18-amd64
 linux-image-amd64
 linux-headers-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
ive tried apt-get -f install, apt full-upgrade, dpkg --configure linux-..., dpkg -C, apt purge "*nvidia*", apt install nvidia-driver firmware-misc-nonfree nothing works. This is my sources.list:

Code: Select all

deb https://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb-src https://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware

deb http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware

deb https://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb-src https://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware

Any help would be greatly appreciated.
Last edited by huemob on 2024-02-24 23:21, edited 1 time in total.

User avatar
sunrat
Administrator
Administrator
Posts: 6511
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 119 times
Been thanked: 489 times

Re: Can't Install 6.1.0-18-amd64 kernel even with the new Nvidia update 525.147.05-7~deb12u1

#2 Post by sunrat »

huemob wrote: 2024-02-23 21:34

Code: Select all

Error! Bad return status for module build on kernel: 6.1.0-18-amd64 (x86_64)
Consult /var/lib/dkms/88x2bu/1.1/build/make.log for more information.
That error is for 88x2bu which I think is a Realtek wireless module. Its failure would be also preventing configuration of nvidia module.
I don't know how to fix it.

Have you built a module for that outside the normal apt installation method?
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Aki
Global Moderator
Global Moderator
Posts: 2979
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 75 times
Been thanked: 407 times

Re: Can't Install 6.1.0-18-amd64 kernel even with the new Nvidia update 525.147.05-7~deb12u1

#3 Post by Aki »

Moved to "Installation" sub-forum.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

huemob
Posts: 4
Joined: 2024-02-19 23:49

Re: Can't Install 6.1.0-18-amd64 kernel even with the new Nvidia update 525.147.05-7~deb12u1

#4 Post by huemob »

sunrat wrote: 2024-02-23 22:03
huemob wrote: 2024-02-23 21:34

Code: Select all

Error! Bad return status for module build on kernel: 6.1.0-18-amd64 (x86_64)
Consult /var/lib/dkms/88x2bu/1.1/build/make.log for more information.
That error is for 88x2bu which I think is a Realtek wireless module. Its failure would be also preventing configuration of nvidia module.
I don't know how to fix it.

Have you built a module for that outside the normal apt installation method?
It must be the driver I tried to install for my tp-link archer t4u plus ac1300 (usb wifi adapter) I found a github that was supposed to make it run on linux but I never got it working(Seems to not work on the kernel I have). That narrows it down a lot hopefully I can get it removed without reinstalling. Thanks!
I found the github page https://gist.github.com/primaryobjects/ ... 1048c7838b it uses dkms to install the git files. Can I just run:

Code: Select all

sudo dkms uninstall -m 88x2bu -v 1.1
to try to remove it?

EDIT: Got it working by running

Code: Select all

sudo dkms remove -m 88x2bu -v 1.1
sudo apt upgrade
the upgrade installed the new kernel no issues just rebooted and im running it now. Thanks for the help!
Last edited by huemob on 2024-02-24 23:10, edited 1 time in total.

Post Reply