Comment 3 for bug 1750586

Revision history for this message
Stephen Pape (srpape) wrote :

The post installation file /var/lib/dpkg/info/python-minimal.postinst runs the following command:

python2.7 -m compileall /usr/share/python/ >/dev/null

Running the command manually (without the /dev/null redirect) produces the following error for me:

Compiling /usr/share/python/rekall-forensic/lib/python2.7/site-packages/pexpect/async.py ...
  File "/usr/share/python/rekall-forensic/lib/python2.7/site-packages/pexpect/async.py", line 16
    transport, pw = yield from asyncio.get_event_loop()\
                             ^
SyntaxError: invalid syntax

I removed the /usr/share/python/rekall-forensic folder and was able to "apt install -f". Likely a different package is causing you trouble, but try running that command for more information.