Public bug reported:
This was an apt upgrade of a MacBook Air A1466 after a few months of not
updating.
A ton of other packages updated successfully at the same time, but these
kernel updates have been stuck for a few days.
The good news is that my system is still working fine.
All the best..
----------------
Errors were encountered while processing:
linux-headers-6.17.0-14-generic
linux-headers-generic-hwe-24.04
linux-generic-hwe-24.04
linux-image-6.17.0-14-generic
----------------
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
linux-headers-6.14.0-35-generic linux-hwe-6.14-headers-6.14.0-35
linux-hwe-6.14-tools-6.14.0-35 linux-image-6.14.0-35-generic
linux-modules-6.14.0-35-generic linux-modules-extra-6.14.0-35-generic
linux-tools-6.14.0-35-generic
Use 'sudo apt autoremove' to remove them.
The following upgrades have been deferred due to phasing:
network-manager-openvpn network-manager-openvpn-gnome
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.17.0-14-generic (6.17.0-14.14~24.04.1) ...
Setting up linux-headers-6.17.0-14-generic (6.17.0-14.14~24.04.1) ...
/etc/kernel/header_postinst.d/dkms:
* dkms: running auto installation service for kernel 6.17.0-14-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Building module:
Cleaning build area...
make -j4 KERNELRELEASE=6.17.0-14-generic KVER=6.17.0-14-generic...(bad exit stat
us: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/broadcom-sta-dk
ms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more informat
ion.
dkms autoinstall on 6.17.0-14-generic/x86_64 failed for broadcom-sta(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.17.0-14-generic
...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-6.17.0-14-generic (--configure):
installed linux-headers-6.17.0-14-generic package post-installation script subp
rocess returned error exit status 11
dpkg: dependency problems prevent configuration of linux-headers-generic-hwe-24.
04:
linux-headers-generic-hwe-24.04 depends on linux-headers-6.17.0-14-generic; how
ever:
Package linux-headers-6.17.0-14-generic is not configured yet.
dpkg: error processing package linux-headers-generic-hwe-24.04 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-hwe-24.04:
linux-generic-hwe-24.04 depends on linux-headers-generic-hwe-24.04 (= 6.17.0-14
.14~24.04.1); however:
Package linux-headers-generic-hwe-24.04 is not configured yet.
dpkg: error processing package linux-generic-hwe-24.04 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup erro
r from a previous failure.
No apport report written because the error message ind
icates its a followup error from a previous failure.
Processing triggers for linu
x-image-6.17.0-14-generic (6.17.0-14.14~24.04.1) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 6.17.0-14-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Building module:
Cleaning build area...
make -j4 KERNELRELEASE=6.17.0-14-generic KVER=6.17.0-14-generic...(bad exit stat
us: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/broadcom-sta-dk
ms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more informat
ion.
dkms autoinstall on 6.17.0-14-generic/x86_64 failed for broadcom-sta(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.17.0-14-generic
...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.17.0-14-generic (--configure):
installed linux-image-6.17.0-14-generic package post-installation script subpro
cess returned error exit status 11
No apport report written because MaxReports is reached already
Errors were encoun
tered while processing:
linux-headers-6.17.0-14-generic
linux-headers-generic-hwe-24.04
linux-generic-hwe-24.04
linux-image-6.17.0-14-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: broadcom-sta-dkms 6.30.223.271-23ubuntu1.1
ProcVersionSignature: Ubuntu 6.14.0-36.36~24.04.1-generic 6.14.11
Uname: Linux 6.14.0-36-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Thu Mar 12 00:08:46 2026
InstallationDate: Installed on 2024-11-08 (488 days ago)
InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64
(20240827.1)
PackageArchitecture: all
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: broadcom-sta
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: broadcom-sta (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug noble wayland-session
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2143970
Title:
Failing apt upgrade of linux-* on a MacBook Air A1466 after a few
months of not updating
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/broadcom-sta/+bug/2143970/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs