执行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.’

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-23
  • 2021-10-14
  • 2022-12-23
  • 2021-09-20
  • 2021-05-18
猜你喜欢
  • 2021-10-22
  • 2021-06-07
  • 2021-07-22
  • 2021-07-14
  • 2021-11-12
  • 2022-12-23
相关资源
相似解决方案