[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#181882: tetex-base: Installation error: "kpsewhich: command not found"



Atsuhito Kohda wrote:
A check for existence of /usr/bin/kpsewhich should be done probably before the if.

Hmm, perhaps we need more investigation.


If possible and if you didn't install tetex-bin yet, please try to modify /var/lib/dpkg/info/tetex-base.postinst

    if [ -x ${UPDMAP} -a -x /usr/bin/updmap -a -f ${BASEMAP} -a X"`kpsewhich --expand-var='$TEXMFMAIN'`" = X"/usr/share/texmf" ]; then

to

    if [ -x ${UPDMAP} -a -x /usr/bin/updmap -a -f ${BASEMAP} -a -x /usr/bin/kpsewhich ]; then

and run "dpkg --configure tetex-base"

Now it's ok:

root@eminescu:~# vi /var/lib/dpkg/info/tetex-base.postinst
root@eminescu:~# dpkg --configure tetex-base
Setting up tetex-base (2.0.1-1) ...

root@eminescu:~#

Eugen




Reply to: