Public bug reported:

after running a normal apt update/apt upgrade, I had my first ever
failed update:

Autoinstall of module tp_smapi/0.44 for kernel 6.17.0-6-generic (x86_64)
Building module(s)...(bad exit status: 2)
Failed command:
make -j8 KERNELRELEASE=6.17.0-6-generic -C /lib/modules/6.17.0-6-generic/build 
M=/var/lib/dkms/tp_smapi/0.44/build HDAPS=1
/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/tp-smapi-dkms.0.crash'

Error! Bad return status for module build on kernel: 6.17.0-6-generic (x86_64)
Consult /var/lib/dkms/tp_smapi/0.44/build/make.log for more information.

Autoinstall on 6.17.0-6-generic succeeded for module(s) acpi-call.
Autoinstall on 6.17.0-6-generic failed for module(s) tp_smapi(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-6.17.0-6-generic (--configure):
 installed linux-headers-6.17.0-6-generic package post-installation script 
subprocess returned error exit status 1
Setting up linux-tools-common (6.17.0-6.6) ...
Setting up linux-image-6.17.0-6-generic (6.17.0-6.6) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-6.17.0-5-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-6.17.0-5-generic
I: /boot/vmlinuz is now a symlink to vmlinuz-6.17.0-6-generic
I: /boot/initrd.img is now a symlink to initrd.img-6.17.0-6-generic
Setting up linux-tools-6.17.0-6 (6.17.0-6.6) ...
Setting up linux-image-generic (6.17.0-6.6) ...
Setting up linux-tools-6.17.0-6-generic (6.17.0-6.6) ...
dpkg: dependency problems prevent configuration of linux-headers-generic:
 linux-headers-generic depends on linux-headers-6.17.0-6-generic; however:
  Package linux-headers-6.17.0-6-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.1No apport report written 
because the error message indicates its a followup error from a previous 
failure.
 7.0-6.6); 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.
                                                                                
                          Processing triggers for man-db (2.13.1-1) ...
Processing triggers for linux-image-6.17.0-6-generic (6.17.0-6.6) ...
/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 tp_smapi/0.44 for kernel 6.17.0-6-generic (x86_64)
Building module(s)...(bad exit status: 2)
Failed command:
make -j8 KERNELRELEASE=6.17.0-6-generic -C /lib/modules/6.17.0-6-generic/build 
M=/var/lib/dkms/tp_smapi/0.44/build HDAPS=1
/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/tp-smapi-dkms.0.crash'

Error! Bad return status for module build on kernel: 6.17.0-6-generic (x86_64)
Consult /var/lib/dkms/tp_smapi/0.44/build/make.log for more information.

Autoinstall on 6.17.0-6-generic succeeded for module(s) acpi-call.
Autoinstall on 6.17.0-6-generic failed for module(s) tp_smapi(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-6.17.0-6-generic (--configure):
 installed linux-image-6.17.0-6-generic package post-installation script 
subprocess returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Errors were 
encountered while processing:
 linux-headers-6.17.0-6-generic
 linux-headers-generic
 linux-generic
 linux-image-6.17.0-6-generic
Error: Sub-process /usr/bin/dpkg returned an error code (1)
REMOVING:
  linux-headers-6.14.0-33          linux-image-6.14.0-33-generic    
linux-modules-extra-6.14.0-33-generic  linux-tools-6.14.0-33-generic
  linux-headers-6.14.0-33-generic  linux-modules-6.14.0-33-generic  
linux-tools-6.14.0-33

Summary:
  Upgrading: 0, Installing: 0, Removing: 7, Not Upgrading: 0
  4 not fully installed or removed.
  Freed space: 301 MB

ProblemType: Package
DistroRelease: Ubuntu 25.10
Package: tp-smapi-dkms 0.44-1.2ubuntu1
ProcVersionSignature: Ubuntu 6.17.0-5.5-generic 6.17.0-rc7
Uname: Linux 6.17.0-5-generic x86_64
ApportVersion: 2.33.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Mon Oct 27 16:16:03 2025
DkmsStatus:
 acpi-call/1.2.2, 6.17.0-5-generic, x86_64: installed
 acpi-call/1.2.2, 6.17.0-6-generic, x86_64: installed
 tp_smapi/0.44: added
ErrorMessage: installed linux-headers-6.17.0-6-generic package 
post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2018-06-05 (2701 days ago)
InstallationMedia: Ubuntu 16.04.4 LTS "Xenial Xerus" - Release amd64 (20180228)
Python3Details: /usr/bin/python3.13, Python 3.13.7, python3-minimal, 3.13.7-1
PythonDetails: /usr/bin/python3.13, Python 3.13.7, unpackaged
RelatedPackageVersions:
 dpkg 1.22.21ubuntu3
 apt  3.1.6ubuntu2
SourcePackage: tp-smapi
Title: package tp-smapi-dkms 0.44-1.2ubuntu1 failed to install/upgrade: 
installed linux-headers-6.17.0-6-generic package post-installation script 
subprocess returned error exit status 1
UpgradeStatus: Upgraded to questing on 2025-10-10 (17 days ago)

** Affects: tp-smapi (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package questing

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2129963

Title:
  package tp-smapi-dkms 0.44-1.2ubuntu1 failed to install/upgrade:
  installed linux-headers-6.17.0-6-generic package post-installation
  script subprocess returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tp-smapi/+bug/2129963/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to