我正在尝试安装 JDK(Java 开发工具包)以便在 Scala 中编程,但一直收到此错误:
dpkg: too many errors, stopping
Processing triggers for libc-bin (2.23-0ubuntu5) ...
Errors were encountered while processing:
python-six
python-wrapt
python-decorator
python-ptyprocess
python-pexpect
python-simplegeneric
ipython
python-pygments
python-zmq
ipython-qtconsole
mercurial-common
mercurial
python-pkg-resources
python-pyflakes
pyflakes
python-lazy-object-proxy
python-logilab-common
python-astroid
pylint
python-antlr
python-apt
python-tz
python-babel
python-bs4
python-cairo
python-chardet
python-cvxopt
python-cycler
python-dateutil
python-roman
python-docutils
python-egenix-mxtools
python-egenix-mxdatetime
python-gobject-2
python-gtk2
python-glade2
python-html5lib
python-pil:amd64
python-imaging
python-jdcal
python-jedi
python-markupsafe
python-jinja2
python-joblib
python-lxml
python-pyparsing
python-numpy
python-matplotlib
python-nose
python-numexpr
python-openpyxl
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
以前安装其他软件包时也出现过这种情况,但通常不会停止。我在 Ubuntu 16.04 上。