line 34 flag=`ls /etc/texmf/texmf.d/*[^\.cnf$] 2> /dev/null | egrep -v '(.dpkg-.*|~)$'` of the debian/config (or debian/tetex-bin.config) file fails because ls: /etc/texmf/texmf.d/*[^.cnf$]: No such file or directory the package would install fine after a $ sudo touch /etc/texmf/texmf.d/foo sorry if this was already obvious to you, and thanks, -- Joris