sudo apt-get install net-tools
Ubuntu 今天安装网络工具的时候出现错误
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
详细解决方案
Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
热度:25 发布时间:2023-12-10 13:27:13.0
相关解决方案
- org.apache.jasper.JasperException: Unable to compile class for JSP:该怎么解决
- org.apache.jasper.JasperException: Unable to compile class for JSP:解决思路
- Unable to load class for JSP,该如何处理
- struts2.3.4.1启动抛错误 Unable to load configuration
- cas客户端有关问题(unable to find valid certification path to requested target)
- :Unable to intantiate Action
- Unable to compile class for JSP找不出异常
- java.lang.OutOfMemoryError: unable to create new native thread内存泄漏分析-备忘解决办法
- 求教高手:Unable to load configuration.该如何处理
- 为什么虚拟串口安装了不能用 显示“Unable loading system driver ,the application will be eixt.”解决办法
- a.process(); // 这一句为什么编译异常呢?
- System.InvalidCastException:Unable to cast COM object of type 'System.
- C#用system.io.directory.getfiles查找文件出错的有关问题
- Directory.GetFiles(txtSource.Text) 如何获取文件对象
- c#中传闻的字典(Directory)
- 怎么取得System.Diagnostics.Process 的ErrorDataReceived 的所有信息
- Unable to connect to any of the specified MySQL hosts为什么连不上mysql?该如何解决
- .net Unable to load DLL 'libmySQL.dll': 拒绝访问。该怎么处理
- 向高手:The process cannot access the file 'X:\X.XXX' because it is being used by another process
- 关于System.Diagnostics.Process process有关问题!求解
- asp.net 修改Active Directory 中用户信息,
- unable to find a version of the runtime to run this application解决办法
- System.Diagnostics.Process.Start,该怎么解决
- Web小程序运行后提示:unable to start debugging on the web server.
- Process : function (ajaxInfo, processFun)什么意思嘛?解决办法
- Directory.Delete 有关问题 帮忙看下
- Process.start(filename)运行后提示:“系统找不到指定的文件”,该怎么处理
- Active Directory 怎样配置成单点登陆?该如何解决
- System.Diagnostics.Process.Start(filepath)调用出错解决办法
- Debug时报错,Unable to start debugging on the web server,大哥们帮帮忙啊解决办法