解决办法
可使用该命令强制解锁
ubuntu@ubuntu-virtual-machine:~/桌面$ sudo rm /var/lib/dpkg/lock-frontend
ubuntu@ubuntu-virtual-machine:~/桌面$ sudo rm /var/lib/dpkg/lock
解决办法
可使用该命令强制解锁
ubuntu@ubuntu-virtual-machine:~/桌面$ sudo rm /var/lib/dpkg/lock-frontend
ubuntu@ubuntu-virtual-machine:~/桌面$ sudo rm /var/lib/dpkg/lock