美文网首页
Could not get lock /var/lib/dpkg

Could not get lock /var/lib/dpkg

作者: 测试_机器猫 | 来源:发表于2020-10-20 16:32 被阅读0次

今天使用apt命令,sudo apt-get install openssh-server,提示:

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/

解决步骤
(1)ps afx|grep apt 查看被占用进程


ml.png

(2)接着使用命令杀掉进程即可
sudo kill 进程id

相关文章

网友评论

      本文标题:Could not get lock /var/lib/dpkg

      本文链接:https://www.haomeiwen.com/subject/jnmdmktx.html