I got this error after a few steps:

* After upgrading from eoan to focal and rebooting, I was dropped into
the initramfs shell. Exiting from the shell, I see the error message
"/dev/mapper/ubuntu--vg-root does not exist".

* After some searching online, I reboot using my previous kernel and
reach the desktop.

* I open Synaptic and see that lvm2 was removed. When I try to install
it, I get the error in this issue.

After some more searching online, I see
https://askubuntu.com/questions/1049727/every-time-i-install-or-
remove-a-package-i-get-lvm2-error/1085420 and try the suggested answer
(purge lvm2 before reinstalling) - this worked.

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

Title:
  package lvm2 2.03.07-1ubuntu1 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/1871176/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to