Could not open lock file/var/lib/dpkg/lock的解决发方法

669人浏览 / 0人评论
Could not open lock file/var/lib/dpkg/lock的解决发方法 错误提示: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? 解决办法: sudo rm -rf /var/lib/dpkg/lock sudo rm -rf /var/cache/apt/archives/lock sudo apt-get update 然后运行sudo dpkg --configure -a重新配置