Errors were encountered while processing: /var/cache/apt/archives/apport_2.20.1-0ubuntu2.4_all.deb
2018-01-26 15:22
1141 查看
I encountered the error as below:
Errors were encountered while processing:
/var/cache/apt/archives/apport_2.20.1-0ubuntu2.4_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)I have tried to many ways to deal it. After I consider why my computer meet this error. I find that when I run tensorflow, I change my python version to 3.5. Even I do not make the default python version. So I recover my python version
to 2.7.13. It is glad that I never meet the aforementioned error. The needed commands as below
sudo ln -s /user/bin/python2 /usr/bin/python
sudo apt-get update
sudo apt-get upgrade
sudo ln -s /usr/bin/python3 /usr/bin/python
Errors were encountered while processing:
/var/cache/apt/archives/apport_2.20.1-0ubuntu2.4_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)I have tried to many ways to deal it. After I consider why my computer meet this error. I find that when I run tensorflow, I change my python version to 3.5. Even I do not make the default python version. So I recover my python version
to 2.7.13. It is glad that I never meet the aforementioned error. The needed commands as below
sudo ln -s /user/bin/python2 /usr/bin/python
sudo apt-get update
sudo apt-get upgrade
sudo ln -s /usr/bin/python3 /usr/bin/python
相关文章推荐
- dpkg: error processing /var/cache/apt/archives/python-apport_2.0.1-0ubuntu9_all.deb 解决方法
- dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a5.1.4-0ubuntu1_all.deb
- dpkg: error processing archive /var/cache/apt/archives/mysql-server-5.5_5.5.47-0ubuntu0.14.04.1_amd64.deb (--unpack):
- dpkg: error processing archive /var/cache/apt/archives/libc6-dev-amd64_2.19-0ubuntu6.7_i386.deb
- dpkg: error processing archive /var/cache/apt/archives/libc6-dev-amd64_2.19-0ubuntu6.9_i386.deb (--u
- dpkg: error processing /var/cache/apt/archives/binutils-msp430_2.22~msp20110716p5-1_i386.deb
- ubuntu下的/var/cache/apt/archives文件夹;用apt-get命令下载的deb软件包
- 执行apt-get install 报错:Errors were encountered while processing
- Errors were encountered while processing: ubuntu-tweak
- 关于dpkg: error processing archive /var/cache/apt/archives/libpostproc52_6%3a0.git20120821-4_amd64.deb
- ubuntu16.04安装kde桌面出错: /var/cache/apt/archives/kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_amd64.deb
- 在ubuntu主线版本下的/var/cache/apt/archives文件夹说明-系统清理
- Errors were encountered while processing: rabbitmq-server
- 转:Ubuntu “无法获得锁”解决方案(E: 无法获得锁 /var/cache/apt/archives/lock – open (11 资源临时不可用)
- [sloved]Errors were encountered while processing:ufw
- 解决mysql删除出现Errors were encountered while processing: mysql-server-5.6的问题
- Ubuntu “无法获得锁”解决方案(E: 无法获得锁 /var/cache/apt/archives/lock – open (11 资源临时不可用)
- Errors were encountered while processing: supervisor
- Ubuntu “无法获得锁”解决方案(E: 无法获得锁 /var/cache/apt/archives/lock – open (11 资源临时不可用)
- errors were encountered while processing qmail qmail-run