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

Bug #1900264 reported by Tom Drake
10
This bug affects 1 person
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
ProcVersionSignature: Ubuntu 5.4.0-51.56-generic 5.4.65
Uname: Linux 5.4.0-51-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
CasperMD5CheckResult: skip
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)
PackageArchitecture: all
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
RelatedPackageVersions:
 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)

Revision history for this message
Tom Drake (tdfilt1) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Giuseppe D'Angelo (dangelo) wrote :

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.

Revision history for this message
Giuseppe D'Angelo (dangelo) wrote :

(Sorry, I meant, WHILE upgrading. The upgrade leaves the 18.04 kernel installed, and also installs the 20.04 kernel. DKMS then tries to build LTTNG modules for both kernels, failing.)

Could it be possible to please mention this bug on https://wiki.ubuntu.com/FocalFossa/ReleaseNotes ?

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.