package lvm2 2.02.176-4.1ubuntu3 failed to install/upgrade: installed lvm2 package post-installation script subprocess returned error exit status 1

Bug #1810364 reported by nulesus
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
lvm2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

n@computer-1:~/Desktop$ sudo apt install lvm2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  dmeventd libdevmapper-event1.02.1 liblvm2app2.2 liblvm2cmd2.02 libreadline5
Suggested packages:
  thin-provisioning-tools
The following NEW packages will be installed:
  dmeventd libdevmapper-event1.02.1 liblvm2app2.2 liblvm2cmd2.02 libreadline5 lvm2
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,090 kB of archives.
After this operation, 8,260 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://us.archive.ubuntu.com/ubuntu cosmic/main amd64 libdevmapper-event1.02.1 amd64 2:1.02.145-4.1ubuntu3 [10.9 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu cosmic/main amd64 liblvm2cmd2.02 amd64 2.02.176-4.1ubuntu3 [586 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu cosmic/main amd64 dmeventd amd64 2:1.02.145-4.1ubuntu3 [30.4 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu cosmic/main amd64 liblvm2app2.2 amd64 2.02.176-4.1ubuntu3 [433 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu cosmic/main amd64 libreadline5 amd64 5.2+dfsg-3build2 [101 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu cosmic/main amd64 lvm2 amd64 2.02.176-4.1ubuntu3 [929 kB]
Fetched 2,090 kB in 4s (470 kB/s)
Selecting previously unselected package libdevmapper-event1.02.1:amd64.
(Reading database ... 298985 files and directories currently installed.)
Preparing to unpack .../0-libdevmapper-event1.02.1_2%3a1.02.145-4.1ubuntu3_amd64.deb ...
Unpacking libdevmapper-event1.02.1:amd64 (2:1.02.145-4.1ubuntu3) ...
Selecting previously unselected package liblvm2cmd2.02:amd64.
Preparing to unpack .../1-liblvm2cmd2.02_2.02.176-4.1ubuntu3_amd64.deb ...
Unpacking liblvm2cmd2.02:amd64 (2.02.176-4.1ubuntu3) ...
Selecting previously unselected package dmeventd.
Preparing to unpack .../2-dmeventd_2%3a1.02.145-4.1ubuntu3_amd64.deb ...
Unpacking dmeventd (2:1.02.145-4.1ubuntu3) ...
Selecting previously unselected package liblvm2app2.2:amd64.
Preparing to unpack .../3-liblvm2app2.2_2.02.176-4.1ubuntu3_amd64.deb ...
Unpacking liblvm2app2.2:amd64 (2.02.176-4.1ubuntu3) ...
Selecting previously unselected package libreadline5:amd64.
Preparing to unpack .../4-libreadline5_5.2+dfsg-3build2_amd64.deb ...
Unpacking libreadline5:amd64 (5.2+dfsg-3build2) ...
Selecting previously unselected package lvm2.
Preparing to unpack .../5-lvm2_2.02.176-4.1ubuntu3_amd64.deb ...
Unpacking lvm2 (2.02.176-4.1ubuntu3) ...
Setting up libdevmapper-event1.02.1:amd64 (2:1.02.145-4.1ubuntu3) ...
Processing triggers for libc-bin (2.28-0ubuntu1) ...
Processing triggers for systemd (239-7ubuntu10.4) ...
Setting up liblvm2app2.2:amd64 (2.02.176-4.1ubuntu3) ...
Processing triggers for man-db (2.8.4-2) ...
Setting up libreadline5:amd64 (5.2+dfsg-3build2) ...
Setting up liblvm2cmd2.02:amd64 (2.02.176-4.1ubuntu3) ...
Setting up dmeventd (2:1.02.145-4.1ubuntu3) ...
dm-event.service is a disabled or a static unit not running, not starting it.
Setting up lvm2 (2.02.176-4.1ubuntu3) ...
update-initramfs: deferring update (trigger activated)
Failed to restart lvm2-lvmetad.service: Unit lvm2-lvmetad.socket is masked.
invoke-rc.d: initscript lvm2-lvmetad, action "restart" failed.
● lvm2-lvmetad.service - LVM2 metadata daemon
   Loaded: loaded (/lib/systemd/system/lvm2-lvmetad.service; static; vendor preset: enabled)
   Active: inactive (dead) since Wed 2019-01-02 21:42:08 CST; 27min ago
     Docs: man:lvmetad(8)
 Main PID: 320 (code=exited, status=0/SUCCESS)

Jan 02 21:28:53 audiocito-1 systemd[1]: Started LVM2 metadata daemon.
Jan 02 21:42:08 audiocito-1 systemd[1]: Stopping LVM2 metadata daemon...
Jan 02 21:42:08 audiocito-1 systemd[1]: Stopped LVM2 metadata daemon.
dpkg: error processing package lvm2 (--configure):
 installed lvm2 package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.28-0ubuntu1) ...
Processing triggers for initramfs-tools (0.131ubuntu15) ...
update-initramfs: Generating /boot/initrd.img-4.18.0-13-lowlatency
Errors were encountered while processing:
 lvm2
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 18.10
Package: lvm2 2.02.176-4.1ubuntu3
ProcVersionSignature: Ubuntu 4.18.0-13.14-lowlatency 4.18.17
Uname: Linux 4.18.0-13-lowlatency x86_64
ApportVersion: 2.20.10-0ubuntu13.1
Architecture: amd64
Date: Wed Jan 2 22:09:28 2019
ErrorMessage: installed lvm2 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2019-01-02 (0 days ago)
InstallationMedia: Ubuntu-Studio 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.2)
Python3Details: /usr/bin/python3.6, Python 3.6.7, python3-minimal, 3.6.7-1~18.10
PythonDetails: /usr/bin/python2.7, Python 2.7.15+, python-minimal, 2.7.15-3
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu5
 apt 1.7.0
SourcePackage: lvm2
Title: package lvm2 2.02.176-4.1ubuntu3 failed to install/upgrade: installed lvm2 package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
nulesus (nulesus) 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
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.