Comment 5 for bug 1746582

Revision history for this message
Yevhen (yevhen.b) wrote :

After that any "apt install" and also "apt upgrade" happens with this error.

sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
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.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)
     Docs: man:lvmetad(8)
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
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.

No apport report written because the error message indicates its a followup error from a previous failure.
                          No apport report written because the error message indicates its a followup error from a previous failure.
                                                    No apport report written because MaxReports is reached already
                                  dpkg: error processing package libguestfs-reiserfs:amd64 (--configure):
 dependency problems - leaving unconfigured
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
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
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 dependNo apport report written because MaxReports is reached already
      No apport report written because MaxReports is reached already
                                                                    s 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
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 is reached already
                                                              Processing triggers for initramfs-tools (0.130ubuntu3) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-20-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)