dpkg's install-info conflicts with teTeX's install-info

Bug #24253 reported by Christoph Bier
6
Affects Status Importance Assigned to Milestone
dpkg (Ubuntu)
Invalid
High
Scott James Remnant (Canonical)

Bug Description

Installation and/or upgrade of some packages (at least wget, gv, cpio,
util-linux, info, texinfo) fails with "subprocess post-installation script
returned error exit status 1" because install-info from teTeX is called instead
of install-info from dpkg. I installed teTeX-3.0 from source some months ago and
it took me a very long time to find the cause for the problems with
installations/upgrades. Here is some more information:

chris@skull:~$ which install-info
/usr/local/bin/install-info

chris@skull:~$ ls -l `which install-info`
lrwxrwxrwx 1 root root 33 2005-08-07 13:30
/usr/local/bin/install-info -> /usr/local/teTeX/bin/install-info

chris@skull:~$ echo $PATH
/home/chris/adabas/bin:/home/chris/adabas/pgm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games

A workaround was to temporarily change PATH to
/usr/local/sbin:/usr/sbin/:/usr/local/bin:/usr/bin:/sbin:/bin:/usr/bin/X11
But this is no long-time solution. Martin Pitt proposed to "hardcode a sensible
$PATH in the scripts".

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

This bug has been marked as a duplicate of bug 24246.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.