The postinst script gets/expects a wrong error code from dpkg-query.
Replacing the occurrences of
stat=$(dpkg-query -W -f='${Status}' texlive-base)
with
stat=$(dpkg-query -W -f='${Status}' texlive-base || /bin/true)
resolves the issue.
See attached file (postinst.in.patch).
** Patch added: "postinst.in.patch"
https://bugs.launchpad.net/ubuntu/+source/tex-common/+bug/606551/+attachment/1618071/+files/postinst.in.patch
--
package tex-common 2.06 failed to install/upgrade: subprocess installed
post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/606551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs