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

dpkg: error: dpkg frontend is locked by another process

 

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

sudo rm /var/lib/dpkg/lock

sudo dpkg --configure -a

然后重新安装包。

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

dpkg: error: dpkg frontend is locked by another process

 

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

sudo rm /var/lib/dpkg/lock

sudo dpkg --configure -a

然后重新安装包。

相关文章:

  • 2022-12-23
  • 2021-09-25
  • 2022-01-13
  • 2021-06-18
  • 2021-07-04
  • 2021-12-10
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-05
  • 2022-01-03
相关资源
相似解决方案