root@odroid:/var/cache/apt/archives# sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
root@odroid:/var/cache/apt/archives# sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
64 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up python3 (3.5.1-3) ...
running python rtupdate hooks for python3.5...
File "/usr/bin/py3clean", line 4
SyntaxError: Non-ASCII character '\xc2' in file /usr/bin/py3clean on line 4, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
error running python rtupdate hook dh-python
File "/usr/bin/py3clean", line 4
SyntaxError: Non-ASCII character '\xc2' in file /usr/bin/py3clean on line 4, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
error running python rtupdate hook gdebi-core
dpkg: error processing package python3-html5lib (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-lxml:
python3-lxml depends on python3 (<< 3.6); however:
Package python3 is not configured yet.
python3-lxml depends on python3 (>= 3.5~); however:
Package python3 is not configured yet.
dpkg: error processing package python3-lxml (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-numpy:
python3-numpy depends on python3 (<< 3.6); however:
Package python3 is not configured yet.
python3-numpy depends on python3 (>= 3.5~); however:
Package python3 is not configured yet.
dpkg: error processing package python3-numpy (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-pil:armhf:
python3-pil:armhf depends on python3 (<< 3.6); however:
Package python3 is not configured yet.
python3-pil:armhf depends on python3 (>= 3.5~); however:
Package python3 is not configured yet.
dpkg: error processing package python3-pil:armhf (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-pip:
python3-pip depends on python3:any (>= 3.4~); however:
Package python3 is not configured yet.
dpkg: error processing package python3-pip (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-polib:
python3-polib depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
dpkg: error processing package python3-polib (--configure):
dependency problems - leaving unconfigured
dpkg: too many errors, stopping
No apport report written because MaxReports is reached already
Errors were encountered while processing:
python3
python3-apt
python3-dbus
language-selector-common
ubuntu-drivers-common
python3-pkg-resources
python3-chardet
python3-debian
python3-lxml
python3-numpy
python3-pil:armhf
python3-pip
python3-polib
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
я удалил python2 с sudo Кв. - добираются, удаляют
Хорошо это - ошибка, по крайней мере, с Ubuntu 16.04 (и ранее) включая он - производные.
И версии Python используются в, например, склонный - добираются и все, что это - подфункции.
И к сожалению, я должен все же определить описание того, как "восстановить" ту ошибку кроме переустановки ОС.
Если Вы имеете, например, синаптический установленный - Вы могли бы попытаться переустановить Python2, но это могло бы просто быть началом того, что требуется.
Примечание: Вышеупомянутая проблема, вероятно, присутствует также с попыткой обновить включенные версии Python.