答案1
解决方案 #1
它可能会帮助你的朋友:
sudo apt --fix-broken install
sudo dpkg --configure -a
sudo apt upgrade
sudo reboot
解决方案 #2
1- sudo rm /var/lib/apt/lists/lock
2- sudo rm /var/lib/dpkg/lock
3- sudo rm /var/lib/dpkg/lock-frontend
4- sudo dpkg --configure -a
5- sudo apt clean
6- sudo apt update --fix-missing
7- sudo apt install -f
8- sudo dpkg --configure -a
9- sudo apt upgrade
10- sudo apt dist-upgrade
11- sudo reboot