ubuntu运行 apt-get 时报错,解决办法

E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
解决方法:

sudo rm /var/lib/dpkg/lock-frontend
sudo rm /var/lib/dpkg/lock
sudo rm /var/cache/apt/archives/lock

ubuntu运行 apt-get 时报错,解决办法

上一篇:Linux基础-10文件目录管理2


下一篇:Linux的ssh监听多个端口