[arch-general] unable to install anything via yaourt

Martin Panter vadmium+al at gmail.com
Sun Jan 2 03:33:32 EST 2011


On 2 January 2011 08:30, Madhurya Kakati <mkakati2805 at gmail.com> wrote:
> On Sun, Jan 2, 2011 at 1:55 PM, Martin Panter
> <vadmium+al at gmail.com<vadmium%2Bal at gmail.com>
>> wrote:
>
>> On 2 January 2011 08:24, Madhurya Kakati <mkakati2805 at gmail.com> wrote:
>> > now i get this error
>> > $ xz
>> > bash: /usr/local/bin/xz: No such file or directory
>>
>> Try doing "hash -r" to make Bash forget the old location, or open a new
>> shell.
>>
>
> output of echo $PATH after running hash -r
> /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/share/java/apache-ant/bin:/opt/kde/bin:/usr/lib/perl5/vendor_perl/bin:/usr/bin/perlbin/vendor:/usr/lib/perl5/core_perl/bin:/opt/qt/bin

But after doing "hash -r" I'd expect your "xz" command to work. Have a
read of "help hash", but basically Bash is remembering where it found
xz last time, and isn't searching again after you deleted it.


More information about the arch-general mailing list