解決 apt 出現 "you must manually run 'sudo dpkg --configure -a' to correct the problem"

1. 進入 /var/lib/dpkg/updates/
2. 用指令 rm 刪除所有裡面之檔案,如圖
rm -rf * ,
如圖
3. sudo apt upgrade
4. sudo apt update


這個網誌中的熱門文章

Upgrade php and httpd(apache) on CentOS 7

Installing VMware workstation pro on Ubuntu 22.X (Jammy Jellyfish)