Re: unable to install anything via yaourt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 2 January 2011 08:30, Madhurya Kakati <mkakati2805@xxxxxxxxx> wrote:
> On Sun, Jan 2, 2011 at 1:55 PM, Martin Panter
> <vadmium+al@xxxxxxxxx<vadmium%2Bal@xxxxxxxxx>
>> wrote:
>
>> On 2 January 2011 08:24, Madhurya Kakati <mkakati2805@xxxxxxxxx> 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.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux