Martin Pitt martin.pitt at ubuntu.com
Wed Oct 19 02:48:56 CDT 2005


Hi!

Christoph Bier [2005-10-18 16:21 +0200]:
> I guess I found the problem:
> 
> chris at skull:~$ which install-info
> /usr/local/bin/install-info
> 
> But I know that `install-info' resides in /usr/sbin/. The
> install-info that's found by which belongs to teTeX-3.0 (installed
> from source):
> 
> chris at 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
> 
> It's the order of PATH that calls /usr/local/bin/install-info
> instead of /usr/sbin/install-info. I guess that's a severe problem.
> Would it be reasonable to hardcode /usr/sbin/install-info in the
> prerem and postinst scripts?

We should rather hardcode a sensible $PATH in the scripts, which would
have the same effect, but is less intrusive.

Martin
-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org

In a world without walls and fences, who needs Windows and Gates?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.ubuntu.com/archives/ubuntu-devel/attachments/20051019/9275be1b/attachment.pgp


More information about the ubuntu-devel mailing list