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

 

 

 

[Testing - Bookworm] [SOLVED] [Testing - Bookworm] BIG OOPS

- - ALL UNSTABLE / TESTING THREADS SHOULD BE POSTED HERE - -
This sub-forum is the dedicated area for the ongoing Unstable/Testing releases of Debian. Advanced, or Experienced User support only. Use the software, give, and take advice with caution.
Post Reply
Message
Author
User avatar
ticojohn
Posts: 1284
Joined: 2009-08-29 18:10
Location: Costa Rica
Has thanked: 21 times
Been thanked: 44 times

[Testing - Bookworm] [SOLVED] [Testing - Bookworm] BIG OOPS

#1 Post by ticojohn »

I have previously upgrade two (2) drives from Bullseye to Bookworm with no issues. Today I tried to upgrade my main driver and the process would not complete. I'm running amd764, lightdm and xfce4 on all of my systems. Below is the full list of error messages taken from the terminal after the upgrade. By the way I can, thankfully, still boot into the previous kernel.

Code: Select all

Setting up linux-headers-6.1.0-6-amd64 (6.1.15-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-6-amd64:Deprecated feat
ure: REMAKE_INITRD (/var/lib/dkms/r8168/8.048.03/source/dkms.conf)
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/r8168/8.048.03/source/dkms.conf
)
Deprecated feature: REMAKE_INITRD (/etc/dkms/framework.conf)
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
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/r8168/8.048.03/source/dkms.conf
)

Building module:
Cleaning build area...
make -j4 KERNELRELEASE=6.1.0-6-amd64 -C /lib/modules/6.1.0-6-amd64/build M=/var/
lib/dkms/r8168/8.048.03/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-6-amd64 (x86_64)
Consult /var/lib/dkms/r8168/8.048.03/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
 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-head
ers-6.1.0-6-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.1.0-6-amd64 (--configure):
 installed linux-headers-6.1.0-6-amd64 package post-installation script subproce
ss returned error exit status 1
Setting up linux-image-6.1.0-6-amd64 (6.1.15-1) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-6-amd64:Deprecated feat
ure: REMAKE_INITRD (/var/lib/dkms/r8168/8.048.03/source/dkms.conf)
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/r8168/8.048.03/source/dkms.conf
)
Deprecated feature: REMAKE_INITRD (/etc/dkms/framework.conf)
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
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/r8168/8.048.03/source/dkms.conf
)

Building module:
Cleaning build area...
make -j4 KERNELRELEASE=6.1.0-6-amd64 -C /lib/modules/6.1.0-6-amd64/build M=/var/
lib/dkms/r8168/8.048.03/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-6-amd64 (x86_64)
Consult /var/lib/dkms/r8168/8.048.03/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
 failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.1.0-6-amd64 (--configure):
 installed linux-image-6.1.0-6-amd64 package post-installation script subprocess
 returned error exit status 1
dpkg: dependency problems prevent configuration of linux-headers-amd64:
 linux-headers-amd64 depends on linux-headers-6.1.0-6-amd64 (= 6.1.15-1); howeve
r:
  Package linux-headers-6.1.0-6-amd64 is not configured yet.

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

dpkg: error processing package linux-image-amd64 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-headers-6.1.0-6-amd64
 linux-image-6.1.0-6-amd64
 linux-headers-amd64
 linux-image-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

Last edited by ticojohn on 2023-03-18 19:36, edited 1 time in total.
I am not irrational, I'm just quantum probabilistic.

User avatar
ticojohn
Posts: 1284
Joined: 2009-08-29 18:10
Location: Costa Rica
Has thanked: 21 times
Been thanked: 44 times

Re: [Testing - Bookworm] BIG OOPS

#2 Post by ticojohn »

I think I fixed it. The problem, as best I can tell, was with the realtek package r8168-dkms (?). For some reason during the upgrade I elected to not let the system make changes regarding that package, which is now deprecated. To fix the problem I simply used the Synaptic Package Manager to remove that package. As soon as I removed that package the system automatically completed the dpkg and install of the new kernel, initrd, etc. WHEW!!!

The system now boot into the new kernel.

I will mark as solved.
I am not irrational, I'm just quantum probabilistic.

Post Reply