error: dpkg frontend is locked by another process


安装包的时候出现了一个异常

dpkg: error: dpkg frontend is locked by another process

 

原因是包管理器没有正确关闭。需要重启计算机或者重新打开终端 输入:

sudo rm /var/lib/dpkg/lock

sudo dpkg --configure -a

然后重新安装包。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM