--- postinst.in 2010-01-12 12:33:21.000000000 +0100 +++ ../../../tmp.new/tex-common-2.06/debian/postinst.in 2010-09-21 15:20:30.000000000 +0200 @@ -122,7 +122,7 @@ # we also have to check that texlive-base is installed # and configured, otherwise we cannot be sure that # all necessary basic files are present - stat=$(dpkg-query -W -f='${Status}' texlive-base) + stat=$(dpkg-query -W -f='${Status}' texlive-base 2>/dev/null || true) case "$stat" in "install ok installed") do_it=1 @@ -364,7 +364,7 @@ # and configured, otherwise we cannot be sure that # all necessary basic files are present if dhit_libkpathsea_configured; then - stat=$(dpkg-query -W -f='${Status}' texlive-base) + stat=$(dpkg-query -W -f='${Status}' texlive-base 2>/dev/null || true) case "$stat" in "install ok installed") do_it=1