Public bug reported:

Binary package hint: debianutils

I'm a little bit at loss with this problem and don't know where to start
debugging it. My $PATH is
PATH='~/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games',
but neither 'which' nor 'xargs' find executable shell scripts in
$HOME/bin. However, the bash magically 'knows' about these commands and
can execute them. Bash-completion with <TAB> works for them as well. So
I suppose that both which and xargs are somehow broken. However, 'which'
is able to find commands in /usr/bin, /usr/sbin, /bin and /sbin. So this
is very strange, looks as if 'which' and 'xargs' ignore the current
$PATH.

I would appreciate all help with this.

Thanks.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: debianutils 3.2.2
ProcVersionSignature: Ubuntu 2.6.32-23.37-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-23-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Fri Jul 23 23:30:01 2010
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: debianutils

** Affects: debianutils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid

-- 
/usr/bin/which and /usr/bin/xargs do not find commands in $HOME/bin
https://bugs.launchpad.net/bugs/609146
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to