package lvm2 2.03.07-1ubuntu1 failed to install/upgrade: installed lvm2 package post-installation script subprocess returned error exit status 1

Bug #1882179 reported by Omkar Nath Singh
32
This bug affects 7 people
Affects Status Importance Assigned to Milestone
lvm2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I had run "sudo apt install qemu qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virt-manager", when this system problem detected error came. Please check it if it causes any issue.

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: lvm2 2.03.07-1ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-33.37-generic 5.4.34
Uname: Linux 5.4.0-33-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.11-0ubuntu27.2
Architecture: amd64
CasperMD5CheckResult: skip
Date: Fri Jun 5 09:40:05 2020
ErrorMessage: installed lvm2 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2019-08-17 (292 days ago)
InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18rc1, python-is-python2, 2.7.17-4
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.2ubuntu0.1
SourcePackage: lvm2
Title: package lvm2 2.03.07-1ubuntu1 failed to install/upgrade: installed lvm2 package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to focal on 2020-05-08 (27 days ago)

Revision history for this message
Omkar Nath Singh (omkarnathsingh) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lvm2 (Ubuntu):
status: New → Confirmed
Revision history for this message
Miguel López (polimatio) wrote :

I fixed this by running:

sudo apt purge lvm2

sudo apt install lvm2

But I wasn't using LVM and had no volumes set, so it wasn't risky for me.

By the way, you could have run:

sudo apt install virt-manager

all the other packets you have expressly typed, with the exception of bridge-utils, are dependencies or recommends, and will get installed no matter what all those YouTube tutorials say.

I have no idea why lvm2 fails to install/upgrade though...

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.