dpkg is broken, you must manually run 'sudo dpkg --configure -a' to fix this

Prompt when installing software

dpkg 被中断,您必须手工运行 ‘sudo dpkg --configure -a’ 解决此问题

If you execute the sudo dpkg --configure -a command, the computer will always be stuck in the state of updating database of manual pages, and the system will be stuck.
You can execute the following command to solve it:

sudo rm /var/lib/dpkg/updates/*
sudo apt-get update
sudo apt-get upgrade

Guess you like

Origin blog.csdn.net/qq_27577263/article/details/125912166