$ sudo apt install -f
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
5 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-image-6.16.3-76061603-generic (6.16.3-76061603.202508231538~1757347095~24.04~5472d08) ...
Setting up linux-headers-6.16.3-76061603-generic (6.16.3-76061603.202508231538~1757347095~24.04~5472d08) ...
/etc/kernel/header_postinst.d/dkms:
* dkms: running auto installation service for kernel 6.16.3-76061603-generic
Sign command: /usr/bin/kmodsign
Binary update-secureboot-policy not found, modules won't be signed
Building module:
Cleaning build area...
'make' KERNELVER=6.16.3-76061603-generic..........(bad exit status: 2)
ERROR (dkms apport): kernel package linux-headers-6.16.3-76061603-generic is not supported
Error! Bad return status for module build on kernel: 6.16.3-76061603-generic (x86_64)
Consult /var/lib/dkms/amdgpu/6.12.12-2147987.24.04/build/make.log for more information.
dkms autoinstall on 6.16.3-76061603-generic/x86_64 succeeded for system76 system76_acpi system76-io
dkms autoinstall on 6.16.3-76061603-generic/x86_64 failed for amdgpu(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.16.3-76061603-generic
...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-6.16.3-76061603-generic (--configure):
installed linux-headers-6.16.3-76061603-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.16.3-76061603-generic (= 6.16.3-76061603.202508231538~1757347095~24.04~5472d08); however:
Package linux-headers-6.16.3-76061603-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.16.3-76061603.202508231538~1757347095~24.04~5472d08); however:
Package linux-headers-generic is not configured yet.
dpkg: error processing package linux-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-system76:
linux-system76 depends on linux-generic (= 6.16.3-76061603.202508231538~1757347095~24.04~5472d08); however:
Package linux-generic is not configured yet.
No apport report written because the error message indicates it's a follow-up error from a previous failure.
No apport report written because the error message indicates it's a follow-up error from a previous failure.
No apport report written because MaxReports has already been reached
dpkg: error processing package linux-system76 (--configure):
dependency problems - leaving unconfigured
Processing triggers for linux-image-6.16.3-76061603-generic (6.16.3-76061603.202508231538~1757347095~24.04~5472d08) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 6.16.3-76061603-generic
Sign command: /usr/bin/kmodsign
Binary update-secureboot-policy not found, modules won't be signed
Building module:
Cleaning build area...
'make' KERNELVER=6.16.3-76061603-generic.........(bad exit status: 2)
ERROR (dkms apport): kernel package linux-headers-6.16.3-76061603-generic is not supported
Error! Bad return status for module build on kernel: 6.16.3-76061603-generic (x86_64)
Consult /var/lib/dkms/amdgpu/6.12.12-2147987.24.04/build/make.log for more information.
dkms autoinstall on 6.16.3-76061603-generic/x86_64 succeeded for system76 system76_acpi system76-io
dkms autoinstall on 6.16.3-76061603-generic/x86_64 failed for amdgpu(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.16.3-76061603-generic
...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.16.3-76061603-generic (--configure):
installed linux-image-6.16.3-76061603-generic package post-installation script subprocess returned error exit status 11
No apport report written because MaxReports has already been reached
Errors were encountered while processing:
linux-headers-6.16.3-76061603-generic
linux-headers-generic
linux-generic
linux-system76
linux-image-6.16.3-76061603-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
What should I do ?
Thanks
Nothing. I ran
sudo apt upgrade
right after seeing the “updates available” notification shortly after booting.Pop OS (as per the community I’m posting on), 24.04 (as per my post title).
Did you do
apt update
first?The system does it automatically, which is why I got the “updates available” notification.
That said, after encountering the error, I did run it just in case before running
apt install -f
.The error message suggests to look at:
/var/lib/dkms/amdgpu/6.12.12-2147987.24.04/build/make.log
What does it say?
Also, are you running this on a System 76 machine? If so, I’m guessing that they’re the first point of support.