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

简述

在虚拟机中新装了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

相关文章

目录前言一、创建Hadoop用户二、更新apt和安装Vim编辑器三、...
原文连接:https://www.cnblogs.com/yasmi/p/5192694.html ...
电脑重启后,打开VirtualBox,发现一直用的虚拟机莫名的消失...
参见:https://blog.csdn.net/weixin_38883338/article/deta...
Ubuntu 18.04 LTS 已切换到 Netplan 来配置网络接口。Netpla...
介绍每个 Web 服务都可以通过特定的 URL 在 Internet 上访问...