>From your log:
  /var/lib/dpkg/info/python-six.postinst: 6: pycompile: not found

The missing binary pycompile is of pkg:python2

And python-six in Focal has:
  Depends: python2:any (<< 2.8), python2:any (>= 2.7~)

According to your log you should have python2-minimal:amd64 2.7.17-2ubuntu4
Which provides the missing binary.

So everything should work, but it didn't.

Could you check the following things on your system:
# which pycompile
/usr/bin/pycompile
# dpkg --verify python2
# dpkg -S pycompile
...
python2-minimal: /usr/bin/pycompile
# ll /usr/bin/pycompile
-rwxr-xr-x 1 root root 11895 Mar 13  2020 /usr/bin/pycompile*

If your output is different that might be an indicator what is wrong.
But with the logs so far I fail to see the root cause.

** Changed in: six (Ubuntu)
       Status: New => Incomplete

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

Title:
  package python-six 1.14.0-2 failed to install/upgrade: installed
  python-six package post-installation script subprocess returned error
  exit status 127

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/six/+bug/1903484/+subscriptions

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

Reply via email to