• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: GNU locate looking into a non-existant tree
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU locate looking into a non-existant tree


  • Subject: Re: GNU locate looking into a non-existant tree
  • From: Mo McRoberts <email@hidden>
  • Date: Sun, 16 May 2010 00:23:41 +0100

On 16-May-2010, at 00:21, John B Brown wrote:

> Dear Folk,
>
> 	After doing a wipe -r on /usr/local and recompiling the GNU findutils package to install under /usr, the command 'locate --version' returns a peculiar failure;
>
>> (1): % locate --version
>> -bash: /usr/local/bin/locate: No such file or directory
>
> 	But of course, it's correct, but 'whereis' reveals;
>
>> (5): % whereis locate
>> /usr/bin/locate
>
> 	My PATH has no /usr/local anything in it now; I edited all that stuff out.

the error’s from bash itself. it caches paths of executables you’ve run recently. do a “hash locate” to force it to forget the old path.

M.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: GNU locate looking into a non-existant tree
      • From: John B Brown <email@hidden>
References: 
 >Using SystemConfiguration API inside KEXT (From: Andy Huang <email@hidden>)
 >Re: Using SystemConfiguration API inside KEXT (From: John B Brown <email@hidden>)
 >Re: Using SystemConfiguration API inside KEXT (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Using SystemConfiguration API inside KEXT (From: John B Brown <email@hidden>)
 >Re: Using SystemConfiguration API inside KEXT (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Using SystemConfiguration API inside KEXT (From: Uli Kusterer <email@hidden>)
 >Re: Using SystemConfiguration API inside KEXT (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Using SystemConfiguration API inside KEXT (From: John B Brown <email@hidden>)
 >Re: Using SystemConfiguration API inside KEXT (From: Mo McRoberts <email@hidden>)
 >Re: Using SystemConfiguration API inside KEXT (From: David Leimbach <email@hidden>)
 >Re: Using SystemConfiguration API inside KEXT (From: John B Brown <email@hidden>)
 >Re: Using SystemConfiguration API inside KEXT (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Using SystemConfiguration API inside KEXT (From: John B Brown <email@hidden>)
 >Re: Using SystemConfiguration API inside KEXT (From: Kevin Van Vechten <email@hidden>)
 >Re: Using SystemConfiguration API inside KEXT (From: John B Brown <email@hidden>)
 >Re: Using SystemConfiguration API inside KEXT (From: Mo McRoberts <email@hidden>)
 >Re: Using SystemConfiguration API inside KEXT (From: John B Brown <email@hidden>)
 >Re: Using SystemConfiguration API inside KEXT (From: Amanda Walker <email@hidden>)
 >Re: Using SystemConfiguration API inside KEXT (From: John B Brown <email@hidden>)
 >Re: Using SystemConfiguration API inside KEXT (From: Brian Mastenbrook <email@hidden>)
 >Re: Using SystemConfiguration API inside KEXT (From: John B Brown <email@hidden>)
 >GNU locate looking into a non-existant tree (From: John B Brown <email@hidden>)

  • Prev by Date: GNU locate looking into a non-existant tree
  • Next by Date: Re: GNU locate looking into a non-existant tree
  • Previous by thread: GNU locate looking into a non-existant tree
  • Next by thread: Re: GNU locate looking into a non-existant tree
  • Index(es):
    • Date
    • Thread