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

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



> > 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"

Note you didn't need to purge tetex-base.

If this fails please run

"sh -x /var/lib/dpkg/info/tetex-base.postinst configure"

Thanks for your help,		    2003-2-22(Sat)

-- 
 Debian Developer & Debian JP Developer - much more I18N of Debian
 Atsuhito Kohda <kohda@debian.org>
 Department of Math., Tokushima Univ.



Reply to: