Восстановить работу VPS

На VPS сервере сломался питон и apt-get Setting up python-magic (1:5.30-1+deb9u3) ... Traceback (most recent call last): File "/usr/bin/pycompile", line 38, in from debpython.namespace import add_namespace_files File "/usr/share/python/debpython/namespace.py", line 28, in from debpython.pydist import PUBLIC_DIR_RE File "/usr/share/python/debpython/pydist.py", line 27, in from string import maketrans ImportError: cannot import name 'maketrans' dpkg: error processing package python-magic (--configure): subprocess installed post-installation script returned error exit status 1 Setting up python-six (1.10.0-3) ... Traceback (most recent call last): File "/usr/bin/pycompile", line 38, in from debpython.namespace import add_namespace_files File "/usr/share/python/debpython/namespace.py", line 28, in from debpython.pydist import PUBLIC_DIR_RE File "/usr/share/python/debpython/pydist.py", line 27, in from string import maketrans ImportError: cannot import name 'maketrans' dpkg: error processing package python-six (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of python-dateutil: python-dateutil depends on python-six (>= 1.5); however: Package python-six is not configured yet. dpkg: error processing package python-dateutil (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: python-magic python-six python-dateutil E: Sub-process /usr/bin/dpkg returned an error code (1) такое случилось после попытки добавить туда питон 3.10 из сырцов Debian Stretch

Читайте на 123ru.net