1, restart the system
2. 终端输入 ps -aux ,列出进程。找到含有apt‘-get或者wget的进程,
直接sudo kill PID。解决。
3, execute (do not try this way, the system is easy to hang)
sudo rm /var/lib/dpkg/lock
Then perform a repair
sudo dpkg --configure -a
1, restart the system
2. 终端输入 ps -aux ,列出进程。找到含有apt‘-get或者wget的进程,
直接sudo kill PID。解决。
3, execute (do not try this way, the system is easy to hang)
sudo rm /var/lib/dpkg/lock
Then perform a repair
sudo dpkg --configure -a