[Ubuntu--Install]apt-get install时Resource temporarily unavailable

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/suxiang198/article/details/80129347

简述

在虚拟机中新装了Ubuntu16.04的系统,但是有一次打开使用“apt-get install”时出现问题,提示如下信息:

Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

解决

进入“Software & Updates”工具,将系统进行更新后,就没有该问题了。在更新过程中看到apt工具也被自动更新好。
另外在Ubuntu上看到也有遇到类似的问题的:
https://askubuntu.com/questions/15433/unable-to-lock-the-administration-directory-var-lib-dpkg-is-another-process

猜你喜欢

转载自blog.csdn.net/suxiang198/article/details/80129347