I think I have found possible flow to reproduce the issue and workaround to fix it:
1) sudo apt install lvm2 Here installation finishes successfully. 2) sudo apt remove lvm2 3) sudo apt install lvm2 Here this issue appears. 4) sudo apt purge lvm2 5) sudo apt install lvm2 Here the issue disappears and installation finishes successfully. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1746582/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs