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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1750586

Title:
  package python-minimal 2.7.12-1~16.04 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/1750586/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to