Bug#101889: xdvi does not run because of missing link to /etc/alternatives/
Olivier Cappe writes:
> Package: tetex-bin
> Version: 1.0.7+20001218-4
>
> Apparently, the post install script of tetex-bin fails to create the
> links to /etc/alternatives/xdvi.bin et /etc/alternatives/oxdvi.bin:
>
> udon:/usr/bin# ls -l xdvi*
> -rwxr-xr-x 1 root root 2258 Jun 3 19:45 xdvi*
> -rwxr-xr-x 1 root root 140316 Jun 3 19:45 xdvi.real*
> udon:/usr/bin# ls -l oxdvi*
> -rwxr-xr-x 1 root root 1827 Jun 3 19:45 oxdvi*
> -rwxr-xr-x 1 root root 140540 Jun 3 19:45 oxdvi.real*
>
> but the xdvi and oxdvi wrappers need these :
>
> udon:/usr/bin# more xdvi
> [...]
> xdvi.bin $NAMEOPT $args $filename || exit 1
>
> udon:/usr/bin# more xdvi
> [...]
> exec oxdvi.bin $NAMEOPT ${1+"$@"}
>
Please let us know, if you did an upgrade (from which version) or a
fresh install.
Also please run
update-alternatives --display xdvi.bin
and send us the result.
You might try to run
apt-get install tetex-bin --reinstall
which might fix your problem.
Still, we don't know why this happens. We can't reproduce it. The
postinst correctly calls update-alternatives.
Christoph
Reply to: