package linux-headers-5.19.0-42-generic 5.19.0-42.43~22.04.1 failed to install/upgrade: installed linux-headers-5.19.0-42-generic package post-installation script subprocess returned error exit status 1

Bug #2020463 reported by xku
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux-hwe-5.19 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

dpkg: error processing package linux-headers-generic-hwe-22.04 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-hwe-22.04:
 linux-generic-hwe-22.04 depends on linux-headers-generic-hwe-22.04 (= 5.19.0.42.43~22.04.15); however:
  Package linux-headers-generic-hwe-22.04 is not configured yet.

dpkg: error processing package linux-generic-hwe-22.04 (--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 m
essage indicates its a followup error from a previous failure.
                                                              Processing triggers for linux-image-5.19.0-42-generic (5.19.0-42.43~22.04.1) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.19.0-42-generic
Error! Could not locate dkms.conf file.
File: /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/source/dkms.conf does not exist.
   ...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 4
dpkg: error processing package linux-image-5.19.0-42-generic (--configure):
 installed linux-image-5.19.0-42-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-5.19.0-42-generic
 linux-headers-generic-hwe-22.04
 linux-generic-hwe-22.04
 linux-image-5.19.0-42-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: linux-headers-5.19.0-42-generic 5.19.0-42.43~22.04.1
ProcVersionSignature: Ubuntu 5.19.0-41.42~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-41-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
Date: Tue May 23 10:54:23 2023
ErrorMessage: installed linux-headers-5.19.0-42-generic package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2022-08-04 (291 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
Python3Details: /usr/bin/python3.10, Python 3.10.6, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.1
 apt 2.4.9
SourcePackage: linux-hwe-5.19
Title: package linux-headers-5.19.0-42-generic 5.19.0-42.43~22.04.1 failed to install/upgrade: installed linux-headers-5.19.0-42-generic package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
xku (xku) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-hwe-5.19 (Ubuntu):
status: New → Confirmed
Revision history for this message
Aril Spetalen (aril-spetalen) wrote :

I get a very similar error, adding here my console output:

dpkg: error processing package linux-generic-hwe-20.04 (--configure):
 dependency problems - leaving unconfigured
Processing triggers for linux-image-5.19.0-1024-lowlatency (5.19.0-1024.25~22.04.1) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.19.0-1024-lowlatency
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.19.0-1024-lowlatency
/usr/sbin/update-initramfs: 145: sync: not found
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 127
dpkg: error processing package linux-image-5.19.0-1024-lowlatency (--configure):
 installed linux-image-5.19.0-1024-lowlatency package post-installation script subprocess returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Processing triggers for linux-image-5.19.0-43-generic (5.19.0-43.44~22.04.1) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.19.0-43-generic
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.19.0-43-generic
/usr/sbin/update-initramfs: 145: sync: not found
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 127
dpkg: error processing package linux-image-5.19.0-43-generic (--configure):
 installed linux-image-5.19.0-43-generic package post-installation script subprocess returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Processing triggers for linux-image-5.19.0-42-generic (5.19.0-42.43~22.04.1) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.19.0-42-generic
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.19.0-42-generic
/usr/sbin/update-initramfs: 145: sync: not found
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 127
dpkg: error processing package linux-image-5.19.0-42-generic (--configure):
 installed linux-image-5.19.0-42-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-firmware
 linux-image-generic-hwe-22.04
 linux-generic-hwe-22.04
 linux-image-lowlatency-hwe-22.04
 linux-lowlatency-hwe-22.04
 linux-lowlatency-hwe-20.04
 linux-generic-hwe-20.04
 linux-image-5.19.0-1024-lowlatency
 linux-image-5.19.0-43-generic
 linux-image-5.19.0-42-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
W: Operation was interrupted before it could finish
arils@arils-laptop:~/dev/xochitl$

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.