This last week I started having problems after Livepatch tried to do updates to the latest kernel version. If I allow the system to boot up normally, it goes to a black/blank screen and won't do anything else. If I boot into Linux 6.8.0-39 generic, everything is fine. I keep receiving warnings that installation or removal of packages has failed. Anyone have any ideas what's going on? I'm stumped.
I should add that I've tried to manually update and upgrade. My latest attempt to do so can be seen below.
Code:
drumone@Linux-Desktop-2021:~$ sudo apt-get update
[sudo] password for drumone:
Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu noble InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:4 https://packages.microsoft.com/repos/code stable InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu noble-backports InRelease
Hit:6 https://esm.ubuntu.com/infra/ubuntu noble-infra-updates InRelease
Hit:7 https://esm.ubuntu.com/infra/ubuntu noble-infra-security InRelease
Hit:8 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu noble InRelease
Reading package lists... Done
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://packages.microsoft.com/repos/code stable InRelease' doesn't support architecture 'i386'
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/vscode.list:3 and /etc/apt/sources.list.d/vscode.sources:1
N: Missing Signed-By in the sources.list(5) entry for 'https://packages.microsoft.com/repos/code'
drumone@Linux-Desktop-2021:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following upgrades have been deferred due to phasing:
gnome-shell gnome-shell-common
0 upgraded, 0 newly installed, 0 to remove and 2 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] y
Setting up linux-image-6.8.0-40-generic (6.8.0-40.40) ...
Setting up linux-headers-6.8.0-40-generic (6.8.0-40.40) ...
/etc/kernel/header_postinst.d/dkms:
* dkms: running auto installation service for kernel 6.8.0-40-generic
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/btusb/4.0/source/dkms.conf)
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/btusb/4.0/source/dkms.conf)
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/btusb/4.0/source/dkms.conf)
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/btusb/4.0/source/dkms.conf)
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/btusb/4.0/source/dkms.conf)
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/btusb/4.0/source/dkms.conf)
Deprecated feature: REMAKE_INITRD (/etc/dkms/framework.conf)
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/btusb/4.0/source/dkms.conf)
Building module:
Cleaning build area...
'make' all KVER=6.8.0-40-generic...(bad exit status: 2)
ERROR (dkms apport): binary package for btusb: 4.0 not found
Error! Bad return status for module build on kernel: 6.8.0-40-generic (x86_64)
Consult /var/lib/dkms/btusb/4.0/build/make.log for more information.
dkms autoinstall on 6.8.0-40-generic/x86_64 failed for btusb(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.8.0-40-generic
...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-6.8.0-40-generic (--configure):
installed linux-headers-6.8.0-40-generic package post-installation script subprocess returned error exit status 11
dpkg: dependency problems prevent configuration of linux-headers-generic:
linux-headers-generic depends on linux-headers-6.8.0-40-generic; however:
Package linux-headers-6.8.0-40-generic is not configured yet.
dpkg: error processing package linux-headers-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-headers-generic (= 6.8.0-40.40); however:
Package linux-headers-generic is not configured yet.
dpkg: error processing package linux-generic (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
Processing triggers for linux-image-6.8.0-40-generic (6.8.0-40.40) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 6.8.0-40-generic
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/btusb/4.0/source/dkms.conf)
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/btusb/4.0/source/dkms.conf)
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/btusb/4.0/source/dkms.conf)
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/btusb/4.0/source/dkms.conf)
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/btusb/4.0/source/dkms.conf)
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/btusb/4.0/source/dkms.conf)
Deprecated feature: REMAKE_INITRD (/etc/dkms/framework.conf)
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/btusb/4.0/source/dkms.conf)
Building module:
Cleaning build area...
'make' all KVER=6.8.0-40-generic...(bad exit status: 2)
ERROR (dkms apport): binary package for btusb: 4.0 not found
Error! Bad return status for module build on kernel: 6.8.0-40-generic (x86_64)
Consult /var/lib/dkms/btusb/4.0/build/make.log for more information.
dkms autoinstall on 6.8.0-40-generic/x86_64 failed for btusb(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.8.0-40-generic
...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.8.0-40-generic (--configure):
installed linux-image-6.8.0-40-generic package post-installation script subprocess returned error exit status 11
No apport report written because MaxReports is reached already
Errors were encountered while processing:
linux-headers-6.8.0-40-generic
linux-headers-generic
linux-generic
linux-image-6.8.0-40-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
Bookmarks