dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. E: _cache->open() failed, please report. 上网搜索了一下中文网站,里边没有能解决问题的,于是上了ubuntu国外论坛,在里面搜索,终于解决问题了: 代码如下: sudo dpkg --configure -a Enter your password when prompted.…
author  :headsen chen date : 2019-06-06  10:09:06 root@ubuntu:~# apt-get remove java-1.8.0-openjdk E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. root@ubuntu:~# rm /var/lib/dpkg/lockroot@ubuntu:~# apt-get…
执行sudo apt-get install安装对应的软件出现如下错误 详细错误信息: E: Could not : Resource temporarily unavailable) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it? 错误原因:是因为引用错误的链接导致的. 解决办法(删除这些引用即可): cd /var/lib/dpkg/…
如题,本人在安装samba等软件的时候,在命令行敲入: sudo apt-get install samba4命令的时候,系统在下载之后报错,大致内容如下: ~$ sudo apt-get install apache2[sudo] password for lilyyin: Reading package lists... DoneBuilding dependency tree Reading state information... Doneapache2 is already the n…
apt list *python* Nosee123关注赞赏支持   Linux软件安装管理之--dpkg与apt-*详解 [Linux软件安装管理系列]- - 传送门: - -<Linux软件安装管理之--源码安装详解> - -<Linux软件安装管理之--RPM与YUM详解> - -<Linux软件安装管理之--dpkg与apt-*详解> 一.序言 上一篇文章<Linux软件安装管理之--源码安装详解>详细介绍了Linux平台下的源码包安装原理,虽然使用…
ubuntu 常见错误--Could not get lock /var/lib/dpkg/lock 通过终端安装程序sudo apt-get install xxx时出错: 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…
在 Ubuntu 或者它的衍生版如 Linux Mint(我已经作为日常工作使用的系统)中使用 apt-get 命令或者其相对更新的APT 管理工具时,你可能会在命令行中看到一个 unable to lock the administration directory (/var/lib/dpkg/) is another process using it 的错误. 这个错误尤其对那些对这个错误原因不了解的 Linux(Ubuntu)新手而言更加恼人. 下面是一个例子,展示了出现在 Ubuntu…
1.配置xshell,查看虚拟机中ubuntu中网络ip ifconfig 报错 Command 'ifconfig' not found, but can be installed with: sudo apt install net-tools 没有这个工具需要安装 net-tools 2.安装net-tools,报错 sudo apt install net-tools 注意:ubuntu 高版本,比如18..,都是apt,而不是apt-get 报错信息: E: Could not get…
question: ubuntu@ubuntu:/usr/src/Linux-headers-3.5.0-23-generic$ sudo apt-get install cheese [sudo] password for ubuntu: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)E: Unable to lock the administration direct…
在用sudo apt-get install 安装软件时,由于速度太慢,想换个软件源,直接关闭了终端,apt-get但进程没有结束,结果终端提示 :“E: 无法获得锁 /var/lib/dpkg/lock – open (11: 资源暂时不可用) E: 无法锁定管理目录(/var/lib/dpkg/),是否有其他进程正占用它?” 解决办法如下: 1 终端输入 ps -aux ,列出进程.找到含有apt‘-get的进程,直接sudo kill PID.解决. 2 强制解锁,命令 sudo rm /…