package linux-headers-6.5.0-26-generic 6.5.0-26.26 failed to install/upgrade: installed linux-headers-6.5.0-26-generic package post-installation script subprocess returned error exit status 1

Bug #2058877 reported by sa3n
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Kleber Sacilotto de Souza

Bug Description

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

ProblemType: Package
DistroRelease: Ubuntu 23.10
Package: linux-headers-6.5.0-26-generic 6.5.0-26.26
ProcVersionSignature: Ubuntu 6.5.0-25.25-generic 6.5.13
Uname: Linux 6.5.0-25-generic x86_64
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: sa3n 1564 F.... wireplumber
 /dev/snd/controlC2: sa3n 1564 F.... wireplumber
 /dev/snd/controlC0: sa3n 1564 F.... wireplumber
 /dev/snd/seq: sa3n 1558 F.... pipewire
CRDA: N/A
CasperMD5CheckResult: pass
Date: Wed Mar 20 13:25:25 2024
ErrorMessage: installed linux-headers-6.5.0-26-generic package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2023-12-17 (98 days ago)
InstallationMedia: Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1)
IwConfig:
 lo no wireless extensions.

 enp3s0 no wireless extensions.

 docker0 no wireless extensions.
MachineType: {report['dmi.sys.vendor']} {report['dmi.product.name']}
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.5.0-25-generic root=UUID=2b5027ee-d64f-400f-aee1-6a8e03e86038 ro quiet splash vt.handoff=7
Python3Details: /usr/bin/python3.11, Python 3.11.6, python3-minimal, 3.11.4-5
PythonDetails: N/A
RelatedPackageVersions: grub-pc N/A
RfKill:
 0: hci0: Bluetooth
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
Title: package linux-headers-6.5.0-26-generic 6.5.0-26.26 failed to install/upgrade: installed linux-headers-6.5.0-26-generic package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/08/2023
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: FA
dmi.board.asset.tag: Default string
dmi.board.name: A520M K V2
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInternational,LLC.:bvrFA:bd08/08/2023:br5.17:svnGigabyteTechnologyCo.,Ltd.:pnA520MKV2:pvr-CF:rvnGigabyteTechnologyCo.,Ltd.:rnA520MKV2:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:skuDefaultstring:
dmi.product.family: A520 MB
dmi.product.name: A520M K V2
dmi.product.sku: Default string
dmi.product.version: -CF
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Revision history for this message
sa3n (empthings) wrote :
tags: removed: need-duplicate-check
Changed in linux (Ubuntu):
assignee: nobody → Kleber Sacilotto de Souza (kleber-souza)
Revision history for this message
Juerg Haefliger (juergh) wrote :

Building module:
Cleaning build area...(bad exit status: 2)
make -j12 KERNELRELEASE=6.5.0-26-generic TTM_NAME=amdttm SCHED_NAME=amd-sched -C /lib/modules/6.5.0-26-generic/build M=/var/lib/dkms/amdgpu/6.2.4-1683306.22.04/build...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/amdgpu-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.5.0-26-generic (x86_64)
Consult /var/lib/dkms/amdgpu/6.2.4-1683306.22.04/build/make.log for more information.
dkms autoinstall on 6.5.0-26-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.5.0-26-generic
   ...fail!

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

You have an unsupported DKMS module installed that breaks kernel header installation. Please remove it:

$ dkms remove amdgpu/6.2.4-1683306.22.04

Changed in linux (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.