[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:
From: Eugen Dedu <Eugen.Dedu@prism.uvsq.fr>
Subject: Bug#181882: tetex-base: Installation error: "kpsewhich: command not found"
Date: Fri, 21 Feb 2003 13:56:49 +0100


Unpacking tetex-base (from .../tetex-base_2.0.1-1_all.deb) ...
Setting up tetex-base (2.0.1-1) ...
/var/lib/dpkg/info/tetex-base.postinst: line 1: kpsewhich: command not
found


If possible, please try the following;

- edit /var/lib/dpkg/info/tetex-base.postinst in the line 60

    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 -a X"`kpsewhich --expand-var='$TEXMFMAIN'`" = X"/usr/share/texmf" ]; then

- then run "dpkg --configure tetex-base"

Is it a dependency for kpathsea?

root@eminescu:~# ls /usr/bin/kpsewhich
ls: /usr/bin/kpsewhich: No such file or directory
root@eminescu:~# dpkg -l \*kp\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
un  kpathsea       <none>         (no description available)
ii  libkpathsea3   1.0.7+20011202 shared libkpathsea for teTeX
un  ssh-askpass    <none>         (no description available)
un  ssh-askpass-gn <none>         (no description available)
un  ssh-askpass-pt <none>         (no description available)
root@eminescu:~#

Eugen




Reply to: