>From the log:
/var/lib/dpkg/info/python3-markupsafe.prerm: 6:
/var/lib/dpkg/info/python3-markupsafe.prerm: py3clean: not found
That is in:
dpkg -S /usr/bin/py3clean
python3-minimal: /usr/bin/py3clean
The prerm comes in by dhpython
# Automatically added by dhpython:
if which py3clean >/dev/null 2>&1; then
py3clean -p python3-markupsafe
else
dpkg -L python3-markupsafe | perl -ne
's,/([^/]*)\.py$,/__pycache__/\1.*, or next; unlink $_ or die $! foreach
glob($_)'
find /usr/lib/python3/dist-packages/ -type d -name __pycache__ -empty
-print0 | xargs --null --no-run-if-empty rmdir
fi
That actually should be safe, but for whatever reasons in your case
didn't work.
Can you workaround for yourself by installing pytohn3-minimal?
I tried to recreate by uninstalling python3-minimal but it still
installed/remove correctly.
Do you have any extra insight to your local config that might be related?
** Changed in: markupsafe (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/1621892
Title:
package python3-markupsafe 0.18-1build2 failed to install/upgrade:
subprocess installed pre-removal script returned error exit status 127
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/markupsafe/+bug/1621892/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs