E:dpkg was interrupted, you must manually run'dpkg配置'to correct the problem.


执行sudo apt-get install安装对应的软件出现如下错误

详细错误信息:

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?

错误原因:是因为引用错误的链接导致的。

解决办法(删除这些引用即可):

cd /var/lib/dpkg/updates
rm -r ./*

删除完后,执行sudo apt-get update即可,这时就可以正常安装软件了。

参考解决办法链接:
14.04消息’E:dpkg was interrupted, you must manually run’dpkg配置’to correct the problem.’


免责声明!

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



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