dpkg: error processing package python-babel (--configure):
dependency problems - leaving unconfigured
dpkg: error processing package python-m2crypto (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of python-nose:
python-nose depends on python-pkg-resources; however:
Package python-pkg-resources is not configured yet.
dpkg: error processing package python-nose (--configure):
dependency problems - leaving unconfigured
dpkg: error processing package python-numpy (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: error processing package python-pip (--configure):
package is in a very bad inconsistent state; you should
reinstaNo apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
ll it before attempting configuration
dpkg: dependency problems prevent configuration of python-setuptools:
python-setuptools depends on python-pkg-resources (= 20.7.0-1); however:
Package python-pkg-resources is not configured yet.
dpkg: error processing package python-setuptools (--configure):
dependency problems - leaving unconfigured
dpkg: error processing package python-pycurl (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of python-software-properties:
python-software-properties depends on python-apt (>= 0.6.20ubuntu16); however:
Package python-apt is not configured yet.
python-software-properties depends on python-pycurl; however:
Package python-pycurl is not configured yet.
dpkg: error processing package python-software-properties (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-sphinx:
python-sphinx depends on python-babel (>= 1.3); however:
Package python-babel is not configured yet.
dpkg: error processing package python-sphinx (--configure):
dependency problems - leaving unconfigured
dpkg: error processing package python-wheel (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
Errors were encountered while processing:
python-apt
python-pkg-resources
python-babel
python-m2crypto
python-nose
python-numpy
python-pip
python-setuptools
python-pycurl
python-software-properties
python-sphinx
python-wheel
E: Sub-process /usr/bin/dpkg returned an error code (1)
I hope that someone can help me, thanks!
Hi! I installed torch on ubuntu 16.04, but when i used 'bash install-deps',it has some errors. Like this: Get:1 file:/var/cuda-repo-9-0-local InRelease Ign:1 file:/var/cuda-repo-9-0-local InRelease Get:2 file:/var/cuda-repo-9-0-local Release [574 B] Get:2 file:/var/cuda-repo-9-0-local Release [574 B] Get:4 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease [18.1 kB]
Hit:5 http://mirrors.ustc.edu.cn/ubuntu xenial InRelease
Hit:6 http://storage.googleapis.com/bazel-apt stable InRelease
Hit:7 http://mirrors.ustc.edu.cn/ubuntu xenial-security InRelease
Hit:8 http://linux.teamviewer.com/deb stable InRelease
Hit:9 http://linux.teamviewer.com/deb preview InRelease
Hit:10 http://mirrors.ustc.edu.cn/ubuntu xenial-updates InRelease
Hit:11 http://mirrors.ustc.edu.cn/ubuntu xenial-proposed InRelease
Hit:12 https://packages.microsoft.com/repos/vscode stable InRelease Hit:13 http://mirrors.ustc.edu.cn/ubuntu xenial-backports InRelease
Hit:14 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial InRelease
Hit:15 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial InRelease Get:16 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-updates InRelease [109 kB] Get:17 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-backports InRelease [107 kB] Get:18 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-security InRelease [107 kB] Hit:19 http://ppa.launchpad.net/hzwhuang/ss-qt5/ubuntu xenial InRelease Hit:20 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial InRelease
Hit:21 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Fetched 341 kB in 3s (101 kB/s) Reading package lists... Done Updated successfully. Reading package lists... Done Building dependency tree
Reading state information... Done software-properties-common is already the newest version (0.96.20.7). 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 12 not fully installed or removed. Need to get 0 B/2,750 kB of archives. After this operation, 0 B of additional disk space will be used. dpkg: error processing package python-apt (--configure): package is in a very bad inconsistent state; you should reinstall it before attempting configuration dpkg: error processing package python-pkg-resources (--configure): package is in a very bad inconsistent state; you should reinstall it before attempting configuration No apport report written because the error message indicates its a followup error from a previous failure. No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of python-babel: python-babel depends on python-pkg-resources; however: Package python-pkg-resources is not configured yet.
dpkg: error processing package python-babel (--configure): dependency problems - leaving unconfigured dpkg: error processing package python-m2crypto (--configure): package is in a very bad inconsistent state; you should reinstall it before attempting configuration dpkg: dependency problems prevent configuration of python-nose: python-nose depends on python-pkg-resources; however: Package python-pkg-resources is not configured yet.
dpkg: error processing package python-nose (--configure): dependency problems - leaving unconfigured dpkg: error processing package python-numpy (--configure): package is in a very bad inconsistent state; you should reinstall it before attempting configuration dpkg: error processing package python-pip (--configure): package is in a very bad inconsistent state; you should reinstaNo apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already ll it before attempting configuration dpkg: dependency problems prevent configuration of python-setuptools: python-setuptools depends on python-pkg-resources (= 20.7.0-1); however: Package python-pkg-resources is not configured yet.
dpkg: error processing package python-setuptools (--configure): dependency problems - leaving unconfigured dpkg: error processing package python-pycurl (--configure): package is in a very bad inconsistent state; you should reinstall it before attempting configuration dpkg: dependency problems prevent configuration of python-software-properties: python-software-properties depends on python-apt (>= 0.6.20ubuntu16); however: Package python-apt is not configured yet. python-software-properties depends on python-pycurl; however: Package python-pycurl is not configured yet.
dpkg: error processing package python-software-properties (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of python-sphinx: python-sphinx depends on python-babel (>= 1.3); however: Package python-babel is not configured yet.
dpkg: error processing package python-sphinx (--configure): dependency problems - leaving unconfigured dpkg: error processing package python-wheel (--configure): package is in a very bad inconsistent state; you should reinstall it before attempting configuration Errors were encountered while processing: python-apt python-pkg-resources python-babel python-m2crypto python-nose python-numpy python-pip python-setuptools python-pycurl python-software-properties python-sphinx python-wheel E: Sub-process /usr/bin/dpkg returned an error code (1) I hope that someone can help me, thanks!