Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: RunLevelZero on 2024/08/03, 16:25:27

Title: apt full-upgrade - error processing package linux-headers-siduction-amd64
Post by: RunLevelZero on 2024/08/03, 16:25:27
[language=english]I hope someone can assist me as I have had this error on 2 kernels. 6.10.3-1. This is the error when running apt full-upgrade. I'm not sure what else to post so I'll start with this.... thanks in advance[language=english][/language]

Summary:
  Upgrading: 2, Installing: 2, Removing: 0, Not Upgrading: 0
  4 not fully installed or removed.
  Download size: 67.9 MB
  Space needed: 437 MB / 294 GB available

Continue? [Y/n] y
Get:1 https://mirror.math.princeton.edu/pub/siduction/extra unstable/main amd64 linux-headers-6.10.3-1-siduction-amd64 amd64 6.10-3 [10.7 MB]
Get:2 https://mirror.math.princeton.edu/pub/siduction/extra unstable/main amd64 linux-headers-siduction-amd64 amd64 6.10-3 [12.1 kB]
Get:3 https://mirror.math.princeton.edu/pub/siduction/extra unstable/main amd64 linux-image-6.10.3-1-siduction-amd64 amd64 6.10-3 [57.2 MB]
Get:4 https://mirror.math.princeton.edu/pub/siduction/extra unstable/main amd64 linux-image-siduction-amd64 amd64 6.10-3 [12.2 kB]
Fetched 67.9 MB in 5s (14.8 MB/s)
Selecting previously unselected package linux-headers-6.10.3-1-siduction-amd64.
(Reading database ... 418155 files and directories currently installed.)
Preparing to unpack .../linux-headers-6.10.3-1-siduction-amd64_6.10-3_amd64.deb ...
Unpacking linux-headers-6.10.3-1-siduction-amd64 (6.10-3) ...
Preparing to unpack .../linux-headers-siduction-amd64_6.10-3_amd64.deb ...
Unpacking linux-headers-siduction-amd64 (6.10-3) over (6.10-2) ...
Selecting previously unselected package linux-image-6.10.3-1-siduction-amd64.
Preparing to unpack .../linux-image-6.10.3-1-siduction-amd64_6.10-3_amd64.deb ...
Unpacking linux-image-6.10.3-1-siduction-amd64 (6.10-3) ...
Preparing to unpack .../linux-image-siduction-amd64_6.10-3_amd64.deb ...
Unpacking linux-image-siduction-amd64 (6.10-3) over (6.10-2) ...
Setting up linux-image-6.10.3-1-siduction-amd64 (6.10-3) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-6.10.2-1-siduction-amd64
I: /vmlinuz is now a symlink to boot/vmlinuz-6.10.3-1-siduction-amd64
I: /initrd.img is now a symlink to boot/initrd.img-6.10.3-1-siduction-amd64
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.10.3-1-siduction-amd64.
The kernel is built without module signing facility, modules won't be signed

Building module:
Cleaning build area...
Building module(s).....................(bad exit status: 2)
Failed command:
env NV_VERBOSE=1 make -j16 modules KERNEL_UNAME=6.10.3-1-siduction-amd64
Error! Bad return status for module build on kernel: 6.10.3-1-siduction-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/535.183.01/build/make.log for more information.
dkms autoinstall on 6.10.3-1-siduction-amd64/x86_64 failed for nvidia-current(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.10.3-1-siduction-amd64 failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.10.3-1-siduction-amd64 (--configure):
installed linux-image-6.10.3-1-siduction-amd64 package post-installation script subprocess returned error exit status 11
Setting up linux-image-6.10.2-1-siduction-amd64 (6.10-2) ...
I: /initrd.img.old is now a symlink to boot/initrd.img-6.10.2-1-siduction-amd64
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.10.2-1-siduction-amd64.
The kernel is built without module signing facility, modules won't be signed

Building module:
Cleaning build area...
Building module(s)......................(bad exit status: 2)
Failed command:
env NV_VERBOSE=1 make -j16 modules KERNEL_UNAME=6.10.2-1-siduction-amd64
Error! Bad return status for module build on kernel: 6.10.2-1-siduction-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/535.183.01/build/make.log for more information.
dkms autoinstall on 6.10.2-1-siduction-amd64/x86_64 failed for nvidia-current(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.10.2-1-siduction-amd64 failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.10.2-1-siduction-amd64 (--configure):
installed linux-image-6.10.2-1-siduction-amd64 package post-installation script subprocess returned error exit status 11
Setting up linux-headers-6.10.3-1-siduction-amd64 (6.10-3) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.10.3-1-siduction-amd64.
The kernel is built without module signing facility, modules won't be signed

Building module:
Cleaning build area...
Building module(s)......................(bad exit status: 2)
Failed command:
env NV_VERBOSE=1 make -j16 modules KERNEL_UNAME=6.10.3-1-siduction-amd64
Error! Bad return status for module build on kernel: 6.10.3-1-siduction-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/535.183.01/build/make.log for more information.
dkms autoinstall on 6.10.3-1-siduction-amd64/x86_64 failed for nvidia-current(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.10.3-1-siduction-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.10.3-1-siduction-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.10.3-1-siduction-amd64 (--configure):
installed linux-headers-6.10.3-1-siduction-amd64 package post-installation script subprocess returned error exit status 11
Setting up linux-headers-6.10.2-1-siduction-amd64 (6.10-2) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.10.2-1-siduction-amd64.
The kernel is built without module signing facility, modules won't be signed

Building module:
Cleaning build area...
Building module(s)......................(bad exit status: 2)
Failed command:
env NV_VERBOSE=1 make -j16 modules KERNEL_UNAME=6.10.2-1-siduction-amd64
Error! Bad return status for module build on kernel: 6.10.2-1-siduction-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/535.183.01/build/make.log for more information.
dkms autoinstall on 6.10.2-1-siduction-amd64/x86_64 failed for nvidia-current(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.10.2-1-siduction-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.10.2-1-siduction-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.10.2-1-siduction-amd64 (--configure):
installed linux-headers-6.10.2-1-siduction-amd64 package post-installation script subprocess returned error exit status 11
dpkg: dependency problems prevent configuration of linux-image-siduction-amd64:
linux-image-siduction-amd64 depends on linux-image-6.10.3-1-siduction-amd64 (= 6.10-3); however:
  Package linux-image-6.10.3-1-siduction-amd64 is not configured yet.

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

dpkg: error processing package linux-headers-siduction-amd64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-6.10.3-1-siduction-amd64
linux-image-6.10.2-1-siduction-amd64
linux-headers-6.10.3-1-siduction-amd64
linux-headers-6.10.2-1-siduction-amd64
linux-image-siduction-amd64
linux-headers-siduction-amd64
needrestart is being skipped since dpkg has failed
Error: Sub-process /usr/bin/dpkg returned an error code (1)
[/language]
Title: Re: apt full-upgrade - error processing package linux-headers-siduction-amd64
Post by: towo on 2024/08/03, 16:54:10
nvidia-driver 535.183.01-1 does not support kernel 6.10, so use our nvidia-driver packages from the fixes repo.

~
towo:Defiant> LANG=C apt policy nvidia-driver
nvidia-driver:
  Installed: (none)
  Candidate: 550.100-0~siduction.1
  Version table:
     550.100-0~siduction.1 500
        500 https://packages.siduction.org/fixes unstable/non-free amd64 Packages
     545.23.06-1 100
        100 https://deb.debian.org/debian experimental/non-free amd64 Packages
     535.183.01-1 500
        500 https://deb.debian.org/debian unstable/non-free amd64 Packages
        500 https://deb.debian.org/debian testing/non-free amd64 Packages
     535.171.04-0siduction1 500
        500 https://packages.siduction.org/extra unstable/non-free amd64 Packages
Title: Re: apt full-upgrade - error processing package linux-headers-siduction-amd64
Post by: RunLevelZero on 2024/08/03, 17:06:18
Thank you for the quick response. So let me ask, is this just a waiting game? I am able to boot and use my system but if I just need to wait a bit then that's no problem. If not, then do I need to first remove the nvidia-current? So apt remove nvidia-current and then do a install of apt nvidia-driver? I will init 3 during this process as well?
Title: Re: apt full-upgrade - error processing package linux-headers-siduction-amd64
Post by: michaa7 on 2024/08/04, 14:44:12
you need the siduction fixes repo activated. Then "apt update && apt dist-upgrade" should bring in the siduction version of nvidia
Title: Re: apt full-upgrade - error processing package linux-headers-siduction-amd64
Post by: RunLevelZero on 2024/08/04, 17:43:35
Quote from: michaa7 on 2024/08/04, 14:44:12
you need the siduction fixes repo activated. Then "apt update && apt dist-upgrade" should bring in the siduction version of nvidia

Hmm, I am pretty certain I have that. Please correct me if I'm wrong and appreciate your help.

/etc/apt/sources.list.d/fixes.list shows....
deb     https://mirror.math.princeton.edu/pub/siduction/fixes unstable main
Title: Re: apt full-upgrade - error processing package linux-headers-siduction-amd64
Post by: towo on 2024/08/04, 18:30:15
deb     https://mirror.math.princeton.edu/pub/siduction/fixes unstable main contrib non-free non-free-firmware

That is, what's nessesary.
Title: Re: apt full-upgrade - error processing package linux-headers-siduction-amd64
Post by: RunLevelZero on 2024/08/08, 15:22:09
Quote from: towo on 2024/08/04, 18:30:15
deb     https://mirror.math.princeton.edu/pub/siduction/fixes unstable main contrib non-free non-free-firmware

That is, what's nessesary.

Thank you very much. I appreciate your help. I took a little while to respond as I had a bout with kidney stones. Grueling and most unpleasant to say the least. I have made those changes and checked my other sources.d files and it was missing in extra as well so that you again for pointing that out. I am all fixed and good to go again.