经过正常的定期升级后,我得到了
After this operation, 0 B of additional disk space will be used.
Setting up python-pexpect (4.0.1-0~ppatrusty2) ...
File "/usr/lib/python2.7/dist-packages/pexpect/async.py", line 16
transport, pw = yield from asyncio.get_event_loop()\
. ^
SyntaxError: invalid syntax
dpkg: error processing package python-pexpect (--configure):
subprocess installed post-installation script returned error exit status 101
Errors were encountered while processing:
python-pexpect
E: Sub-process /usr/bin/dpkg returned an error code (1)
我该如何解决??
答案1
答案2
尝试寻找一个干净的解决方案后,最后只需删除python-pexpect
包并运行,autoremove
到目前为止似乎没有任何损坏。