Public bug reported: I am using chinese so some log will use chinese. These is the logs that i found on terminal:
解開 lvm2 (2.03.07-1ubuntu1) 中... 設定 lvm2 (2.03.07-1ubuntu1) ... update-initramfs: deferring update (trigger activated) Failed to restart lvm2-lvmpolld.service: Unit lvm2-lvmpolld.socket is masked. invoke-rc.d: initscript lvm2-lvmpolld, action "restart" failed. ● lvm2-lvmpolld.service - LVM2 poll daemon Loaded: loaded (/lib/systemd/system/lvm2-lvmpolld.service; static; vendor p reset: enabled) Active: inactive (dead) Docs: man:lvmpolld(8) dpkg: error processing package lvm2 (--configure): installed lvm2 package post-installation script 子進程傳回了 1 錯誤退出狀態碼 執行 systemd (245.4-2ubuntu1) 的觸發程式…… 執行 man-db (2.9.1-1) 的觸發程式…… 執行 ureadahead (0.100.0-21) 的觸發程式…… ureadahead will be reprofiled on next reboot 執行 initramfs-tools (0.136ubuntu6) 的觸發程式…… update-initramfs: Generating /boot/initrd.img-5.4.0-21-generic I: The initramfs will attempt to resume from /dev/sda6 I: (UUID=52eb06e0-e84e-4146-be3b-e07513046207) I: Set the RESUME variable to override this. Warning: Not updating LILO; /etc/lilo.conf not found! 處理時發生錯誤: lvm2 E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: lvm2 2.03.07-1ubuntu1 ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27 Uname: Linux 5.4.0-21-generic x86_64 ApportVersion: 2.20.11-0ubuntu26 Architecture: amd64 CasperMD5CheckResult: skip CurrentDesktop: ubuntu:GNOME Date: Wed Apr 15 23:17:22 2020 InstallationDate: Installed on 2020-02-08 (67 days ago) InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805) SourcePackage: lvm2 UpgradeStatus: Upgraded to focal on 2020-04-12 (3 days ago) ** Affects: lvm2 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1873017 Title: Error when install lvm2 on ubuntu 20.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1873017/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs