LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-11-2024, 11:24 AM   #1
parent's_basement
Member
 
Registered: Dec 2006
Location: Berkeley, CA. Over-priced apartment
Distribution: Debian/XFCE/Cinnamon
Posts: 121

Rep: Reputation: 17
Stable branch: Error! One or more modules failed to install during autoinstall.


Hello All,

I started getting this kernel build error yesterday on the Stable branch. Not sure how to get around it. Any insight much appreciated.

Thanks Much,

pb


Building module:
Cleaning build area...
env NV_VERBOSE=1 make -j8 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
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

Last edited by parent's_basement; 02-11-2024 at 11:26 AM.
 
Old 02-11-2024, 11:34 AM   #2
parent's_basement
Member
 
Registered: Dec 2006
Location: Berkeley, CA. Over-priced apartment
Distribution: Debian/XFCE/Cinnamon
Posts: 121

Original Poster
Rep: Reputation: 17
/var/lib/dkms/nvidia-current/525.147.05/build/make.log says:

ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_lock'
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_unlock'
make[3]: *** [/usr/src/linux-headers-6.1.0-18-common/scripts/Makefile.modpost:126: /var/lib/dkms/nvidia-current/525.147.05/build/Module.symvers] Error
1
make[2]: *** [/usr/src/linux-headers-6.1.0-18-common/Makefile:1991: modpost] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-6.1.0-18-amd64'
make[1]: *** [Makefile:250: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.1.0-18-common'
make: *** [Makefile:82: modules] Error 2
 
Old 02-13-2024, 09:17 PM   #3
parent's_basement
Member
 
Registered: Dec 2006
Location: Berkeley, CA. Over-priced apartment
Distribution: Debian/XFCE/Cinnamon
Posts: 121

Original Poster
Rep: Reputation: 17
SOLVED!!!

Issue resolved with some online help:

I added the backports repository and successfully installed
6.5.0-0.deb12.4-amd64. Apt upgrade was still hanging and trying to configure 6.1.0.18 though so I used:

apt-get --force-yes remove 6.1.0-18-amd6

Voila! No more 6.1.0.18 hanging and erroring out and now I have:

uname -r
6.5.0-0.deb12.4-amd64
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
My latest-$browser install scripts - Autoinstall? ruario Slackware 10 02-03-2015 07:30 AM
problem: autoinstall not set in dkms.conf keithk2 Linux - Software 2 01-13-2008 08:29 PM
Autoinstall for MySQL? cweepy SUSE / openSUSE 15 06-03-2006 02:21 AM
Create AutoInstall CD for Linux k41184 Linux - Software 1 06-24-2004 10:30 PM
AutoInstall not running scrufboy Linux - Newbie 2 11-26-2002 02:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration