Jump to content

Broken DPKG?

Go to solution Solved by Bingus_Bongus,

Nevermind, it was the Xone driver. Uninstalled it and removed it from the DKMS tree using it's own uninstall script and I was able to install the XanMod kernel without issues or errors.

 

Never build or install manual drivers.

 

Thanks for being a friendly community though everyone. It really helps when situations get out of control.

Hello.

 

I've been using Devuan GNU/Linux 5 (Debian Testing) for the past year on my desktop without any issues, everything seemed to be working perfectly and it still very much is.

 

Recently, with the release of Debian 12 and it's derivatives soon to follow suit, I wanted to move back onto the testing branch to continue staying up to date with security and newer software features.

 

However, when I tried to simply change the release channel that my system pulls from, and got a 1300 package update with a newer kernel (6.1 to 6.3), I've been getting met with "dependency problems prevent configuration of linux-image-6.3" or other similar issues.

 

I've tried multiple solutions from guides that range from 1-10 years out of date on the various Stack Exchange forums but nothing has worked. I know it seems like I should understand this stuff more, but I have had very few issues that ever required troubleshooting, this OS has given me nothing but stability and performance especially for how high-end the hardware is.

 

All I'm trying to do is move to my distributions testing branch (technically still on it, just wanting to move to what will become the testing branch in the future weeks). But I keep getting left with kernel installation packages that are left half-configured and panic whenever I try to boot from them. Data security and backups aren't an issue, all of my important stuff from projects, games and personal data are on separate drives. So it's not that hard to reinstall my OS, though I'd prefer not to in the end as "muh settings".

 

I've replicated this error for the purposes of showing on this topic, I tried installing the XanMod kernel instead of trying to do a full dist-upgrade.

 

Here is all that I've done: Ignore the firmware issues warning of no Wi-Fi firmware, I use ethernet. One theory is the Xone driver which is meant for my Xbox controller, I STG if that's the issue...

 

###########################################################################################################################################################################

 

okkvltisch@supreme-overlord:~$ wget -qO - https://dl.xanmod.org/archive.key | sudo gpg --dearmor -o /us
r/share/keyrings/xanmod-archive-keyring.gpg
[sudo] password for okkvltisch:  
okkvltisch@supreme-overlord:~$ echo 'deb [signed-by=/usr/share/keyrings/xanmod-archive-keyring.gpg] htt
p://deb.xanmod.org releases main' | sudo tee /etc/apt/sources.list.d/xanmod-release.list
deb [signed-by=/usr/share/keyrings/xanmod-archive-keyring.gpg] http://deb.xanmod.org releases main
okkvltisch@supreme-overlord:~$ sudo apt update && sudo apt install linux-xanmod-x64v3
Get:1 http://deb.xanmod.org releases InRelease [2,087 B]
Hit:2 https://repo.steampowered.com/steam stable InRelease                                             
Hit:3 https://download.vscodium.com/debs vscodium InRelease                                            
Get:4 http://deb.xanmod.org releases/main amd64 Packages [59.4 kB]                                     
Get:5 http://download.opensuse.org/repositories/hardware:/razer/Debian_Testing  InRelease [1,551 B]    
Hit:6 https://brave-browser-apt-release.s3.brave.com stable InRelease                                  
Hit:7 https://repo.nordvpn.com/deb/nordvpn/debian stable InRelease                                    
Hit:8 http://deb.devuan.org/merged daedalus InRelease                           
Get:9 http://deb.xanmod.org releases/main i386 Packages [15.2 kB]
Hit:10 http://deb.devuan.org/merged daedalus-updates InRelease
Hit:11 http://deb.devuan.org/merged daedalus-security InRelease
Fetched 78.2 kB in 1s (75.0 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
13 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
 linux-headers-6.4.3-x64v3-xanmod1 linux-image-6.4.3-x64v3-xanmod1
The following NEW packages will be installed:
 linux-headers-6.4.3-x64v3-xanmod1 linux-image-6.4.3-x64v3-xanmod1 linux-xanmod-x64v3
0 upgraded, 3 newly installed, 0 to remove and 13 not upgraded.
Need to get 0 B/83.8 MB of archives.
After this operation, 463 MB of additional disk space will be used.
Do you want to continue? [Y/n]  
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Selecting previously unselected package linux-headers-6.4.3-x64v3-xanmod1.
(Reading database ... 357503 files and directories currently installed.)
Preparing to unpack .../linux-headers-6.4.3-x64v3-xanmod1_6.4.3-x64v3-xanmod1-0~20230711.1f2fe64_amd64.
deb ...
Unpacking linux-headers-6.4.3-x64v3-xanmod1 (6.4.3-x64v3-xanmod1-0~20230711.1f2fe64) ...
Selecting previously unselected package linux-image-6.4.3-x64v3-xanmod1.
Preparing to unpack .../linux-image-6.4.3-x64v3-xanmod1_6.4.3-x64v3-xanmod1-0~20230711.1f2fe64_amd64.de
b ...
Unpacking linux-image-6.4.3-x64v3-xanmod1 (6.4.3-x64v3-xanmod1-0~20230711.1f2fe64) ...
Selecting previously unselected package linux-xanmod-x64v3.
Preparing to unpack .../linux-xanmod-x64v3_6.4.3-xanmod1-0_amd64.deb ...
Unpacking linux-xanmod-x64v3 (6.4.3-xanmod1-0) ...
Setting up linux-image-6.4.3-x64v3-xanmod1 (6.4.3-x64v3-xanmod1-0~20230711.1f2fe64) ...
dkms: running auto installation service for kernel 6.4.3-x64v3-xanmod1.
Sign command: /lib/modules/6.4.3-x64v3-xanmod1/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
KERNELDIR=/lib/modules/6.4.3-x64v3-xanmod1/build make driver....
Signing module /var/lib/dkms/openrazer-driver/3.6.1/build/driver/razerkbd.ko
Signing module /var/lib/dkms/openrazer-driver/3.6.1/build/driver/razermouse.ko
Signing module /var/lib/dkms/openrazer-driver/3.6.1/build/driver/razerkraken.ko
Signing module /var/lib/dkms/openrazer-driver/3.6.1/build/driver/razeraccessory.ko
Cleaning build area...

razerkbd.ko:
Running module version sanity check.
- Original module
  - No original module exists within this kernel
- Installation
  - Installing to /lib/modules/6.4.3-x64v3-xanmod1/updates/dkms/

razermouse.ko:
Running module version sanity check.
- Original module
  - No original module exists within this kernel
- Installation
  - Installing to /lib/modules/6.4.3-x64v3-xanmod1/updates/dkms/

razerkraken.ko:
Running module version sanity check.
- Original module
  - No original module exists within this kernel
- Installation
  - Installing to /lib/modules/6.4.3-x64v3-xanmod1/updates/dkms/

razeraccessory.ko:
Running module version sanity check.
- Original module
  - No original module exists within this kernel
- Installation
  - Installing to /lib/modules/6.4.3-x64v3-xanmod1/updates/dkms/
depmod...
Sign command: /lib/modules/6.4.3-x64v3-xanmod1/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
make -j32 KERNELRELEASE=6.4.3-x64v3-xanmod1 -C /lib/modules/6.4.3-x64v3-xanmod1/build M=/var/lib/dkms/x
one/v0.3/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.4.3-x64v3-xanmod1 (x86_64)
Consult /var/lib/dkms/xone/v0.3/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.4.3-x64v3-xanmod1 failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
update-initramfs: Generating /boot/initrd.img-6.4.3-x64v3-xanmod1
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8125b-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8125a-3.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168fp-3.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-3.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8411-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8411-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8402-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8105e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-3.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for module r8169
Generating grub configuration file ...
Found theme: /usr/share/desktop-base/grub-themes/desktop-grub-theme/theme.txt
Found background image: splash.png
Found linux image: /boot/vmlinuz-6.4.3-x64v3-xanmod1
Found initrd image: /boot/initrd.img-6.4.3-x64v3-xanmod1
Found linux image: /boot/vmlinuz-6.1.0-10-amd64
Found initrd image: /boot/initrd.img-6.1.0-10-amd64
Found linux image: /boot/vmlinuz-6.1.0-9-amd64
Found initrd image: /boot/initrd.img-6.1.0-9-amd64
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
dpkg: error processing package linux-image-6.4.3-x64v3-xanmod1 (--configure):
installed linux-image-6.4.3-x64v3-xanmod1 package post-installation script subprocess returned error e
xit status 1
Setting up linux-headers-6.4.3-x64v3-xanmod1 (6.4.3-x64v3-xanmod1-0~20230711.1f2fe64) ...
dpkg: dependency problems prevent configuration of linux-xanmod-x64v3:
linux-xanmod-x64v3 depends on linux-image-6.4.3-x64v3-xanmod1; however:
 Package linux-image-6.4.3-x64v3-xanmod1 is not configured yet.

dpkg: error processing package linux-xanmod-x64v3 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-6.4.3-x64v3-xanmod1
linux-xanmod-x64v3
E: Sub-process /usr/bin/dpkg returned an error code (1)
okkvltisch@supreme-overlord:~$ sudo dpkg --configure --pending
Setting up linux-image-6.4.3-x64v3-xanmod1 (6.4.3-x64v3-xanmod1-0~20230711.1f2fe64) ...
dkms: running auto installation service for kernel 6.4.3-x64v3-xanmod1.
Sign command: /lib/modules/6.4.3-x64v3-xanmod1/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
make -j32 KERNELRELEASE=6.4.3-x64v3-xanmod1 -C /lib/modules/6.4.3-x64v3-xanmod1/build M=/var/lib/dkms/x
one/v0.3/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.4.3-x64v3-xanmod1 (x86_64)
Consult /var/lib/dkms/xone/v0.3/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.4.3-x64v3-xanmod1 failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
update-initramfs: Generating /boot/initrd.img-6.4.3-x64v3-xanmod1
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8125b-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8125a-3.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168fp-3.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-3.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8411-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8411-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8402-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8105e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-3.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for module r8169
Generating grub configuration file ...
Found theme: /usr/share/desktop-base/grub-themes/desktop-grub-theme/theme.txt
Found background image: splash.png
Found linux image: /boot/vmlinuz-6.4.3-x64v3-xanmod1
Found initrd image: /boot/initrd.img-6.4.3-x64v3-xanmod1
Found linux image: /boot/vmlinuz-6.1.0-10-amd64
Found initrd image: /boot/initrd.img-6.1.0-10-amd64
Found linux image: /boot/vmlinuz-6.1.0-9-amd64
Found initrd image: /boot/initrd.img-6.1.0-9-amd64
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
dpkg: error processing package linux-image-6.4.3-x64v3-xanmod1 (--configure):
installed linux-image-6.4.3-x64v3-xanmod1 package post-installation script subprocess returned error e
xit status 1
dpkg: dependency problems prevent configuration of linux-xanmod-x64v3:
linux-xanmod-x64v3 depends on linux-image-6.4.3-x64v3-xanmod1; however:
 Package linux-image-6.4.3-x64v3-xanmod1 is not configured yet.

dpkg: error processing package linux-xanmod-x64v3 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-6.4.3-x64v3-xanmod1
linux-xanmod-x64v3
okkvltisch@supreme-overlord:~$


###########################################################################################################################################################################

 

Any help is appreciated, and please give any possible suggestions for a fix, I have a TimeShift backup of my Root and Home Directory saved to another drive.

 

Thanks so much.

Link to comment
Share on other sites

Link to post
Share on other sites

Nevermind, it was the Xone driver. Uninstalled it and removed it from the DKMS tree using it's own uninstall script and I was able to install the XanMod kernel without issues or errors.

 

Never build or install manual drivers.

 

Thanks for being a friendly community though everyone. It really helps when situations get out of control.

Link to comment
Share on other sites

Link to post
Share on other sites

On 7/16/2023 at 9:41 PM, Bingus_Bongus said:

he testing branch to continue staying up to date with security and newer software features.

I just want to point out that you will not get security latches on the testing branch until it reaches the next stable dev cycle (typically in about 6 months or so), your better off using Sid if you care for the latest features and updates. It's about as stable as the typical ArchLinux system, experimental is where all the weird stuff happens.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×