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

Bug #2067015 reported by sa3n
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

-

ProblemType: Package
DistroRelease: Ubuntu 23.10
Package: linux-headers-6.5.0-35-generic 6.5.0-35.35
ProcVersionSignature: Ubuntu 6.5.0-28.29-generic 6.5.13
Uname: Linux 6.5.0-28-generic x86_64
ApportVersion: 2.27.0-0ubuntu5
AptOrdering:
 google-chrome-stable:amd64: Install
 containerd.io:amd64: Install
 libcjson1:amd64: Install
 lintian:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
CRDA: N/A
CasperMD5CheckResult: pass
Date: Fri May 24 07:10:58 2024
ErrorMessage: installed linux-headers-6.5.0-35-generic package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2023-12-17 (158 days ago)
InstallationMedia: Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1)
MachineType: {report['dmi.sys.vendor']} {report['dmi.product.name']}
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.5.0-28-generic root=UUID=2b5027ee-d64f-400f-aee1-6a8e03e86038 ro quiet splash
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-35-generic 6.5.0-35.35 failed to install/upgrade: installed linux-headers-6.5.0-35-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
Revision history for this message
Juerg Haefliger (juergh) wrote :

Building module:
Cleaning build area...(bad exit status: 2)
make -j12 KERNELRELEASE=6.5.0-35-generic TTM_NAME=amdttm SCHED_NAME=amd-sched -C /lib/modules/6.5.0-35-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-35-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-35-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-35-generic
   ...fail!

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

You have an unsupported DKMS modules installed that breaks installation of the kernel headers package. Please remove it.

$ dkms remove amdgpu/6.2.4-1683306.22.04

Changed in linux (Ubuntu):
status: New → Invalid
Revision history for this message
Juerg Haefliger (juergh) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 2068107, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

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.