** Summary changed:
- package linux-headers-<version> <version> failed to install/upgrade:
installed linux-headers-<version> package post-installation script subprocess
returned error exit status 11
+ package linux-headers-<version> <version> failed to install/upgrade:
installed linux-headers-<version> package post-installation script subprocess
returned error exit status 4|11
** Description changed:
This is an umbrella bug report for a DKMS problem that results in a
failure to install/upgrade a linux kernel headers package.
If you have DKMS modules installed, they are recompiled for every new
kernel that is installed. Since you can have multiple kernels installed
in parallel, a kernel upgrade is in fact an installation of a new kernel
package.
The rebuild of the DKMS modules is triggered by the installation of a
new kernel headers package. If you have unsupported DKMS modules
installed, that rebuild might fail, resulting in a kernel headers
package installation failure which will trigger the automatic bug
reporting tool (apport).
The Ubuntu kernel team makes sure that all officially supported DKMS
modules (the ones you can install from the Ubuntu archive) compile
correctly for all supported Ubuntu kernels. This means that if you see
DKMS build failures, it's most likely due to the fact, that you have
unsupported DKMS modules installed.
If you encounter a linux-headers package installation failure, you can
check the log '/var/log/dpkg.log' for something like the following:
+
--------------------------------------------------------------------------------
Building module:
- Cleaning build area...
- make -j4 KERNELRELEASE=6.2.0-1003-lowlatency all
INCLUDEDIR=/lib/modules/6.2.0-1003-lowlatency/build/include
KVERSION=6.2.0-1003-lowlatency DKMS_BUILD=1...(bad exit status: 2)
- ERROR (dkms apport): binary package for evdi: 1.12.0 not found
- Error! Bad return status for module build on kernel: 6.2.0-1003-lowlatency
(x86_64)
- Consult /var/lib/dkms/evdi/1.12.0/build/make.log for more information.
+ 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! 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!
+ run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
+
--------------------------------------------------------------------------------
- In this case, you need to remove the unsupported DKMS module:
+ or:
+
+
--------------------------------------------------------------------------------
+ /etc/kernel/header_postinst.d/dkms:
+ * dkms: running auto installation service for kernel 6.5.0-18-generic
+ Error! Could not locate dkms.conf file.
+ File: /var/lib/dkms/amdgpu/6.2.4-1666569.22.04/source/dkms.conf does not
exist.
+ ...fail!
+ run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 4
+
--------------------------------------------------------------------------------
+
+
+ You need to remove the unsupported/broken DKMS module to be able to install
the new kernel packages:
$ dkms remove <name>/<version>
- For the above case that would be:
+ **IMPORTANT**
- $ dkms remove evdi/1.12.0
-
- Final note, this is *not* a kernel problem.
+ This is *not* a kernel problem.
** Description changed:
This is an umbrella bug report for a DKMS problem that results in a
failure to install/upgrade a linux kernel headers package.
If you have DKMS modules installed, they are recompiled for every new
kernel that is installed. Since you can have multiple kernels installed
in parallel, a kernel upgrade is in fact an installation of a new kernel
package.
The rebuild of the DKMS modules is triggered by the installation of a
new kernel headers package. If you have unsupported DKMS modules
installed, that rebuild might fail, resulting in a kernel headers
package installation failure which will trigger the automatic bug
reporting tool (apport).
The Ubuntu kernel team makes sure that all officially supported DKMS
modules (the ones you can install from the Ubuntu archive) compile
correctly for all supported Ubuntu kernels. This means that if you see
DKMS build failures, it's most likely due to the fact, that you have
unsupported DKMS modules installed.
If you encounter a linux-headers package installation failure, you can
check the log '/var/log/dpkg.log' for something like the following:
--------------------------------------------------------------------------------
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! 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!
+ * dkms: autoinstall for kernel 6.5.0-35-generic
+ ...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
--------------------------------------------------------------------------------
or:
--------------------------------------------------------------------------------
/etc/kernel/header_postinst.d/dkms:
- * dkms: running auto installation service for kernel 6.5.0-18-generic
+ * dkms: running auto installation service for kernel 6.5.0-18-generic
Error! Could not locate dkms.conf file.
File: /var/lib/dkms/amdgpu/6.2.4-1666569.22.04/source/dkms.conf does not
exist.
- ...fail!
+ ...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 4
--------------------------------------------------------------------------------
-
- You need to remove the unsupported/broken DKMS module to be able to install
the new kernel packages:
+ You need to remove the unsupported/broken DKMS module to be able to
+ install the new kernel packages:
$ dkms remove <name>/<version>
**IMPORTANT**
This is *not* a kernel problem.
** Summary changed:
- package linux-headers-<version> <version> failed to install/upgrade:
installed linux-headers-<version> package post-installation script subprocess
returned error exit status 4|11
+ 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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068107
Title:
package linux-headers-<version> <version> failed to install/upgrade:
installed linux-headers-<version> package post-installation script
subprocess returned error exit status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2068107/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs