package linux-headers-6.5.0-17-generic 6.5.0-17.17~22.04.1 failed to install/upgrade: installed linux-headers-6.5.0-17-generic package post-installation script subprocess returned error exit status 1

Bug #2052710 reported by Peter Doria
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-hwe-6.5 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I do not know any other details about the issue. I was away from my computer.

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: linux-headers-6.5.0-17-generic 6.5.0-17.17~22.04.1
ProcVersionSignature: Ubuntu 6.5.0-15.15~22.04.1-generic 6.5.3
Uname: Linux 6.5.0-15-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
Date: Thu Feb 8 06:44:58 2024
ErrorMessage: installed linux-headers-6.5.0-17-generic package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2024-02-04 (4 days ago)
InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230223)
Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.2
 apt 2.4.11
SourcePackage: linux-hwe-6.5
Title: package linux-headers-6.5.0-17-generic 6.5.0-17.17~22.04.1 failed to install/upgrade: installed linux-headers-6.5.0-17-generic package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Peter Doria (pdoria) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Juerg Haefliger (juergh) wrote :

/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 6.5.0-17-generic
Error! Could not locate dkms.conf file.
File: /var/lib/dkms/amdgpu/6.2.4-1652687.22.04/source/dkms.conf does not exist.
   ...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 4
dpkg: error processing package linux-headers-6.5.0-17-generic (--configure):
 installed linux-headers-6.5.0-17-generic package post-installation script subprocess returned error exit status 1

Revision history for this message
Juerg Haefliger (juergh) wrote :

You have a broken/unsupported DKMS installed that breaks the header installation. Please remove it:

$ dkms remove amdgpu/6.2.4-1652687.22.04

Changed in linux-hwe-6.5 (Ubuntu):
status: New → Invalid
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.