Public bug reported:
On my last apt update, some compilation fails.
I can reproduce it by doing:
sudo apt-get install --reinstall linux-image-uc-7.0.0-42-generic
/usr/share/apport/package-hooks/dkms_packages.py:101: DeprecationWarning:
apport.fatal() is deprecated. Please use apport.logging.fatal() directly
instead.
apport.fatal('Cannot create report: ' + str(e))
ERROR: Cannot create report: [Errno 17] File exists:
'/var/crash/nvidia-kernel-source-open.0.crash'
Error! Bad return status for module build on kernel: 7.0.0-42-generic (x86_64)
Consult /var/lib/dkms/nvidia/615.71.10/build/make.log for more information.
Autoinstall on 7.0.0-42-generic succeeded for module(s) virtualbox.
Autoinstall on 7.0.0-42-generic failed for module(s) nvidia(10).
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 1
dpkg: error processing package linux-headers-7.0.0-42-generic (--configure):
old linux-headers-7.0.0-42-generic package postinst maintainer script
subprocess failed with exit status 1
dpkg: dependency problems prevent configuration of linux-headers-generic:
linux-headers-generic depends on linux-headers-7.0.0-42-generic; however:
Package linux-headers-7.0.0-42-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 (= 7.0.0-42.42); however:
Package linux-headers-generic is not configured yet.
dpkg: error processing package linux-generic (--configure):
dependency problems - leaving unconfigured
Processing triggers for linux-image-7.0.0-42-generic (7.0.0-42.42)…
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.
/etc/kernel/postinst.d/dkms:
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Autoinstall of module nvidia/615.71.10 for kernel 7.0.0-42-generic (x86_64)
Building module(s)..........(bad exit status: 2)
Failed command:
'make' -j16 KERNEL_UNAME=7.0.0-42-generic IGNORE_CC_MISMATCH=1
SYSSRC=/lib/modules/7.0.0-42-generic/build LD=/usr/bin/ld.bfd
CONFIG_X86_KERNEL_IBT= IGNORE_PREEMPT_RT_PRESENCE=1 IGNORE_XEN_PRESENCE=1
modules
/usr/share/apport/package-hooks/dkms_packages.py:101: DeprecationWarning:
apport.fatal() is deprecated. Please use apport.logging.fatal() directly
instead.
apport.fatal('Cannot create report: ' + str(e))
ERROR: Cannot create report: [Errno 17] File exists:
'/var/crash/nvidia-kernel-source-open.0.crash'
Error! Bad return status for module build on kernel: 7.0.0-42-generic (x86_64)
Consult /var/lib/dkms/nvidia/615.71.10/build/make.log for more information.
Autoinstall on 7.0.0-42-generic succeeded for module(s) virtualbox.
Autoinstall on 7.0.0-42-generic failed for module(s) nvidia(10).
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
run-parts: /etc/kernel/postinst.d/dkms exited with return code 1
dpkg: error processing package linux-image-7.0.0-42-generic (--configure):
old linux-image-7.0.0-42-generic package postinst maintainer script subprocess
failed with exit status 1
No apport report written because MaxReports is reached already
Processing
triggers for linux-image-uc-7.0.0-42-generic (7.0.0-42.42)…
Errors were encountered while processing:
linux-headers-7.0.0-42-generic
linux-headers-generic
linux-generic
linux-image-7.0.0-42-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
/proc/version_signature
Ubuntu 7.0.0-38.38-generic 7.0.14
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: linux-image-uc-7.0.0-42-generic (not installed)
ProcVersionSignature: Ubuntu 7.0.0-38.38-generic 7.0.14
Uname: Linux 7.0.0-38-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC1: gailuron 5188 F.... wireplumber
/dev/snd/controlC0: gailuron 5188 F.... wireplumber
/dev/snd/seq: gailuron 5174 F.... pipewire
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Mon Nov 2 14:42:58 2026
InstallationDate: Installed on 2021-11-25 (1803 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
IwDevWlp147s0Link: Not connected.
MachineType: Dell Inc. Precision 7560
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-7.0.0-38-generic
root=/dev/mapper/vgubuntu-root ro quiet splash
crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M
SourcePackage: linux
UpgradeStatus: Upgraded to resolute on 2026-10-26 (7 days ago)
dmi.bios.date: 08/27/2026
dmi.bios.release: 1.50
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.50.0
dmi.board.name: 0G01WF
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias:
dmi:bvnDellInc.:bvr1.50.0:bd08/27/2026:br1.50:svnDellInc.:pnPrecision7560:pvr:rvnDellInc.:rn0G01WF:rvrA00:cvnDellInc.:ct10:cvr:sku0A69:pfaPrecision:
dmi.product.family: Precision
dmi.product.name: Precision 7560
dmi.product.sku: 0A69
dmi.sys.vendor: Dell Inc.
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute 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/2172753
Title:
apt update fails for linux-image-7.0.0-42-generic
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2172753/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs