ubuntu中apt安装软件python时报: 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? 解决办法: 首先运行下面的命令来移除 /var/lib/dpkg/ 文件夹下的锁定文件: s…
修改Ubuntu默认apt下载源 默认下载源很慢,改成阿里的下载速度超快 sudo vim /etc/apt/sources.list 将文件内容替换成 deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb htt…
问题描述: 刚刚安装好Ubuntu16.04.使用apt命令时,提示报错信息: abc@pc:~$ sudo apt-get install openssh-server E: Could not get lock /var/lib/dpkg/lock - open (: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another pro…
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.…
1.修改之前首先做好备份 sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak 2.编辑源列表文件 sudo vim /etc/apt/sources.list 3.将source.list中的内容替换为如下内容 deb http://mirrors.aliyun.com/ubuntu/ xenial main deb-src http://mirrors.aliyun.com/ubuntu/ xenial main deb http:/…