[Bug 1746582] Re: package lvm2 2.02.176-4.1ubuntu2 failed to install/upgrade: installed lvm2 package post-installation script subprocess returned error exit status 1

j1n3l0 nelo.onyiah at gmail.com
Fri Mar 9 17:26:27 UTC 2018


If it helps I was trying to install vagrant when this happened. Output
(of a second attempt) below:

$ sudo apt install vagrant
Reading package lists... Done
Building dependency tree       
Reading state information... Done
vagrant is already the newest version (2.0.2+dfsg-2ubuntu2).
0 to upgrade, 0 to newly install, 0 to remove and 5 not to upgrade.
7 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Setting up lvm2 (2.02.176-4.1ubuntu2) ...
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)
     Docs: man:lvmetad(8)

Mar 09 16:06:24 ynap-techub systemd[1]: Started LVM2 metadata daemon.
Mar 09 16:36:08 ynap-techub systemd[1]: Stopping LVM2 metadata daemon...
Mar 09 16:36:08 ynap-techub systemd[1]: Stopped LVM2 metadata daemon.
dpkg: error processing package lvm2 (--configure):
 installed lvm2 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of libguestfs0:amd64:
 libguestfs0:amd64 depends on lvm2; however:
  Package lvm2 is not configured yet.

dpkg: error processing package libguestfs0:amd64 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
                            dpkg: dependency problems prevent configuration of libguestfs-reiserfs:amd64:
 libguestfs-reiserfs:amd64 depends on libguestfs0 (= 1:1.36.13-1ubuntu3); however:
  Package libguestfs0:amd64 is not configured yet.

dpkg: error processing package libguestfs-reiserfs:amd64 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
                            dpkg: dependency problems prevent configuration of libguestfs-perl:
 libguestfs-perl depends on libguestfs0 (= 1:1.36.13-1ubuntu3); however:
  Package libguestfs0:amd64 is not configured yet.

dpkg: error processing package libguestfs-perl (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached
                                                                    dpkg: dependency problems prevent configuration of libguestfs-hfsplus:amd64:
 libguestfs-hfsplus:amd64 depends on libguestfs0 (= 1:1.36.13-1ubuntu3); however:
  Package libguestfs0:amd64 is not configured yet.

dpkg: error processing package libguestfs-hfsplus:amd64 (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached
                                                                    dpkg: dependency problems prevent configuration of libguestfs-tools:
 libguestfs-tools depends on libguestfs0 (= 1:1.36.13-1ubuntu3); however:
  Package libguestfs0:amd64 is not configured yet.
 libguestfs-tools depends on libguestfs-perl (= 1:1.36.13-1ubuntu3); however:
  Package libguestfs-perl is not configured yet.

dpkg: error processing package libguestfs-tools (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached
                                                                    dpkg: dependency problems prevent configuration of libguestfs-xfs:amd64:
 libguestfs-xfs:amd64 depends on libguestfs0 (= 1:1.36.13-1ubuntu3); however:
  Package libguestfs0:amd64 is not configured yet.

dpkg: error processing package libguestfs-xfs:amd64 (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached
                                                                    Processing triggers for initramfs-tools (0.130ubuntu3) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-10-generic
Errors were encountered while processing:
 lvm2
 libguestfs0:amd64
 libguestfs-reiserfs:amd64
 libguestfs-perl
 libguestfs-hfsplus:amd64
 libguestfs-tools
 libguestfs-xfs:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lvm2 in Ubuntu.
https://bugs.launchpad.net/bugs/1746582

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

Status in lvm2 package in Ubuntu:
  Confirmed

Bug description:
  I *think* this was from trying to install python-guestfs

  ProblemType: Package
  DistroRelease: Ubuntu 18.04
  Package: lvm2 2.02.176-4.1ubuntu2
  ProcVersionSignature: Ubuntu 4.13.0-32.35-generic 4.13.13
  Uname: Linux 4.13.0-32-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  ApportVersion: 2.20.8-0ubuntu7
  Architecture: amd64
  Date: Wed Jan 31 09:56:36 2018
  ErrorMessage: installed lvm2 package post-installation script subprocess returned error exit status 1
  InstallationDate: Installed on 2017-06-28 (217 days ago)
  InstallationMedia: Kubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
  Python3Details: /usr/bin/python3.6, Python 3.6.4, python3-minimal, 3.6.4-1
  PythonDetails: /usr/bin/python2.7, Python 2.7.14+, python-minimal, 2.7.14-4
  RelatedPackageVersions:
   dpkg 1.19.0.5ubuntu1
   apt  1.6~alpha7ubuntu1
  SourcePackage: lvm2
  Title: package lvm2 2.02.176-4.1ubuntu2 failed to install/upgrade: installed lvm2 package post-installation script subprocess returned error exit status 1
  UpgradeStatus: Upgraded to bionic on 2018-01-30 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1746582/+subscriptions



More information about the foundations-bugs mailing list