package lttng-modules-dkms 2.11.2-1ubuntu0.2 failed to install/upgrade: installed lttng-modules-dkms package post-installation script subprocess returned error exit status 10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lttng-modules (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
This occurred when upgrading from 18.04 to 20.04
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: lttng-modules-dkms 2.11.2-1ubuntu0.2
ProcVersionSign
Uname: Linux 5.4.0-51-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
CasperMD5CheckR
Date: Sat Oct 17 11:52:20 2020
ErrorMessage: installed lttng-modules-dkms package post-installation script subprocess returned error exit status 10
InstallationDate: Installed on 2018-05-10 (891 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
PackageArchitec
Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
RelatedPackageV
dpkg 1.19.7ubuntu3
apt 2.0.2ubuntu0.1
SourcePackage: lttng-modules
Title: package lttng-modules-dkms 2.11.2-1ubuntu0.2 failed to install/upgrade: installed lttng-modules-dkms package post-installation script subprocess returned error exit status 10
UpgradeStatus: Upgraded to focal on 2020-10-17 (0 days ago)
tags: | removed: need-duplicate-check |
I've just faced this bug, which made the 18.04 to 20.04 upgrade fail. It seems that, after upgrading, DKMS tries to build LTTNG modules for the 18.04 kernel (4.15), which doesn't work.
A possible workaround is to remove this package before the upgrade, and reinstall it afterwards.