*** This bug is a duplicate of bug 2068107 *** https://bugs.launchpad.net/bugs/2068107
The problem is that the custom amdgpu-dkms module is outdated and doesn't support kernel 6.11 This is not a bug with Ubuntu. Please update your versions of the AMD and/or ROCm repositories you added. "Error! Bad return status for module build on kernel: 6.11.0-21-generic (x86_64) Consult /var/lib/dkms/amdgpu/6.8.5-2044426.24.04/build/make.log for more information." ** Changed in: linux-hwe-6.11 (Ubuntu) Status: New => Invalid ** This bug has been marked a duplicate of bug 2068107 package linux-headers-<version> <version> failed to install/upgrade: installed linux-headers-<version> package post-installation script subprocess returned error exit status -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-hwe-6.11 in Ubuntu. https://bugs.launchpad.net/bugs/2104898 Title: package linux-headers-6.11.0-21-generic 6.11.0-21.21~24.04.1 failed to install/upgrade: 已安装 linux-headers-6.11.0-21-generic 软件包 post- installation 脚本 子进程返回错误状态 11 Status in linux-hwe-6.11 package in Ubuntu: Invalid Bug description: Maybe it's because of amdgpu-dkms. Building module: Cleaning build area...(bad exit status: 2) . /tmp/amd.HDfRSV4y/.env && make -j32 KERNELRELEASE=6.11.0-21-generic TTM_NAME=amdttm SCHED_NAME=amd-sched -C /lib/modules/6.11.0-21-generic/build M=/tmp/amd.HDfRSV4y...(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.11.0-21-generic (x86_64) Consult /var/lib/dkms/amdgpu/6.8.5-2044426.24.04/build/make.log for more information. dkms autoinstall on 6.11.0-21-generic/x86_64 succeeded for nvidia dkms autoinstall on 6.11.0-21-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.11.0-21-generic ...fail! run-parts: /etc/kernel/postinst.d/dkms exited with return code 11 dpkg: 处理软件包 linux-image-6.11.0-21-generic (--configure)时出错: 已安装 linux-image-6.11.0-21-generic 软件包 post-installation 脚本 子进程返回错误状态 11 由于已经达到 MaxReports 限制,没有写入 apport 报告。 在处理时有错误发生: linux-headers-6.11.0-19-generic linux-headers-6.11.0-21-generic linux-headers-generic-hwe-24.04 linux-generic-hwe-24.04 linux-image-6.11.0-19-generic linux-image-6.11.0-21-generic E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Package DistroRelease: Ubuntu 24.04 Package: linux-headers-6.11.0-21-generic 6.11.0-21.21~24.04.1 ProcVersionSignature: Ubuntu 6.8.0-52.53-generic 6.8.12 Uname: Linux 6.8.0-52-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.28.1-0ubuntu3.5 Architecture: amd64 CasperMD5CheckResult: pass Date: Fri Mar 28 16:03:51 2025 ErrorMessage: 已安装 linux-headers-6.11.0-21-generic 软件包 post-installation 脚本 子进程返回错误状态 11 InstallationDate: Installed on 2025-01-03 (84 days ago) InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 (20240827.1) Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 3.12.3-0ubuntu2 PythonDetails: N/A RelatedPackageVersions: dpkg 1.22.6ubuntu6.1 apt 2.7.14build2 SourcePackage: linux-hwe-6.11 Title: package linux-headers-6.11.0-21-generic 6.11.0-21.21~24.04.1 failed to install/upgrade: 已安装 linux-headers-6.11.0-21-generic 软件包 post-installation 脚本 子进程返回错误状态 11 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-hwe-6.11/+bug/2104898/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp