首页 随记 正文

解决apt-get /var/lib/dpkg/lock-frontend 问题

sanmi头像 sanmi 随记 2022-07-08 17:07:39 1058
导读:运行apt-get时报如下错 E:Couldnotgetlock/var/lib/dpkg/lock-frontend-open(11:Resour...

运行 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

都运行一遍,具体也不知道哪条起了作用。 


打赏 支付宝打赏 微信打赏
本文地址:https://www.sanmi.org/post/15.html
免责申明
本站属于非赢利网站,所有内容均来自网络。如侵犯到您的权利,请联系3mi@3mi.me,谢谢!
广告3

网站分类

标签列表

退出请按Esc键

召唤伊斯特瓦尔