Não consigo mais instalar ou atualizar pacotes com apt-get
, pois os pacotes python-problem-report
, python-apport
e apport
parecem causar alguns problemas. Qualquer comando apt-get
Eu tentei resultados na seguinte mensagem de erro:
Preparing to replace python-problem-report 2.0.1-0ubuntu15.1 (using .../python-problem-report_2.0.1-0ubuntu15.1_all.deb) ...
File "/usr/bin/pyclean", line 64
except (IOError, OSError), e:
^
SyntaxError: invalid syntax
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
File "/usr/bin/pyclean", line 64
except (IOError, OSError), e:
^
SyntaxError: invalid syntax
dpkg: error processing /var/cache/apt/archives/python-problem-report_2.0.1-0ubuntu15.1_all.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
File "/usr/bin/pycompile", line 36, in <module>
from debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/python/debpython/version.py", line 24, in <module>
from ConfigParser import SafeConfigParser
ImportError: No module named ConfigParser
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Preparing to replace python-apport 2.0.1-0ubuntu15.1 (using .../python-apport_2.0.1-0ubuntu15.1_all.deb) ...
File "/usr/bin/pyclean", line 64
except (IOError, OSError), e:
^
SyntaxError: invalid syntax
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
File "/usr/bin/pyclean", line 64
except (IOError, OSError), e:
^
SyntaxError: invalid syntax
dpkg: error processing /var/cache/apt/archives/python-apport_2.0.1-0ubuntu15.1_all.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
File "/usr/bin/pycompile", line 36, in <module>
from debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/python/debpython/version.py", line 24, in <module>
from ConfigParser import SafeConfigParser
ImportError: No module named ConfigParser
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Preparing to replace apport 2.0.1-0ubuntu15.1 (using .../apport_2.0.1-0ubuntu15.1_all.deb) ...
apport stop/waiting
File "/usr/bin/pyclean", line 64
except (IOError, OSError), e:
^
SyntaxError: invalid syntax
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
File "/usr/bin/pyclean", line 64
except (IOError, OSError), e:
^
SyntaxError: invalid syntax
dpkg: error processing /var/cache/apt/archives/apport_2.0.1-0ubuntu15.1_all.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
apport start/running
Traceback (most recent call last):
File "/usr/bin/pycompile", line 36, in <module>
from debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/python/debpython/version.py", line 24, in <module>
from ConfigParser import SafeConfigParser
ImportError: No module named ConfigParser
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/python-problem-report_2.0.1-0ubuntu15.1_all.deb
/var/cache/apt/archives/python-apport_2.0.1-0ubuntu15.1_all.deb
/var/cache/apt/archives/apport_2.0.1-0ubuntu15.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Isso acontece mesmo se eu tentar instalar pacotes que não tenham nada a ver com os 3 pacotes problemáticos. Eu também selecionei "Lock at Current Version" em muon
para esses 3 pacotes, mas o mesmo erro ainda ocorre.
Qualquer ajuda seria muito apreciada.