>From tex-common postinst: This looks OK if which updmap-sys >/dev/null; then # we also have to check that texlive-base is installed # and configured, otherwise we cannot be sure that # all necessary basic files are present # # dpkg-query has two defects wrt not existing packages # - it is noisy to stderr # - it returns 1 # so shut both errors up stat=$(dpkg-query -W -f='${Status}' texlive-base 2>/dev/null || true) case "$stat" in "install ok installed") do_it=1 ;; *) do_it=0 ;; esac if [ "$do_it" = 0 ] ; then echo "texlive-base is not ready, delaying updmap-sys call" >&2 else but is maybe failing??? Perhaps the OLD texlive-base without updmap-sys is still installed OK, but the OLD texlive-binaries containing updmap-sys is already removed??? Though I would have though the earlier conditional "if which updmap-sys" would have exited already.
On a related note: This does not look OK, is it checking for texlive-base or for context?? Does this stanza perhaps also trigger updmap? run_mtxrun_if_possible() { # code from postinst-tex if dhit_libkpathsea_configured; then if which mtxrun >/dev/null; then # we also have to check that texlive-base is installed # and configured, otherwise we cannot be sure that # all necessary basic files are present # # dpkg-query has two defects wrt not existing packages # - it is noisy to stderr # - it returns 1 # so shut both errors up stat=$(dpkg-query -W -f='${Status}' context 2>/dev/null || true) case "$stat" in "install ok installed") do_it=1 ;; *) do_it=0 ;; esac if [ "$do_it" = 1 ] ; then tempfile=$(mktemp -p /tmp mtxrun.XXXXXXXX) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1311032 Title: package tex-common 4.04 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tex-common/+bug/1311032/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs