Ubuntu终端出现Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
来源:互联网 发布:哪家运营商4g网络最好 编辑:程序博客网 时间:2024/05/04 06:38
通过终端安装程序sudo apt-get install ***时出错:
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 /var/cache/apt/archives/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 /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock
(文章出处:http://selfcontroller.iteye.com/blog/1173063)
0 0
- Ubuntu终端出现Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
- E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
- Unable to lock the administration directory (/var/lib/dpkg/),is another process using it?
- Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
- Unable to lock the administration directory (/var/lib/dpkg/),is another process using it?
- Unable to lock the administration directory (/var/lib/dpkg/),is another process using it?
- E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
- Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
- E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
- E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
- E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
- Unable to lock the administration directory (/var/lib/dpkg/), is another process
- E: Unable to lock the administration directory (/var/lib/dpkg/), is another
- Unable to lock the administration directory (/var/lib/dpkg/)
- 修复 Ubuntu 中“Unable to lock the administration directory (/var/lib/dpkg/)”的
- 修复 Ubuntu 中“Unable to lock the administration directory (/var/lib/dpkg/)”
- Ubuntu‘Unable to lock the administration directory (/var/lib/dpkg/)’错误
- E: Could not get lock /var/lib/dpkg/lock E: Unable to lock the administration directory (/var/lib/d
- C语言初学者的福音:精简C语言诞生了 (习语言 最新版 支持 )
- Windows/MFC_中dll __stdcall,__cdcel,extern c 和导出函数名
- 基本字符串操作函数
- ural 1012
- Unity3D序列化ScriptableObject
- Ubuntu终端出现Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
- AVI文件格式解析+AVI文件解析工具
- Ext.encode与Ext.decode的JSON转换
- 缓存技术PK:选择Memcached还是Redis?
- Sublime安装php代码提示插件
- JavaScript解析JSON
- 二分图小结
- 国家基本药物学习班 止咳化痰中成药的简易选择
- Navicat for mySQL 10.1.7注册码