image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old January 24th, 2004, 01:49 PM
Registered User
 
Join Date: Jan 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
fairwinds is on a distinguished road
Question Remove file woes - remove old python

I had recently installed macpython 2.3 which now resides in /usr/local/bin. the python that shipped with OSX resided in /usr/bin/python and I have been trying to get rid of older versions that are not needed and will only ultimately confuse the system. When I do a locate for python I see the following:

/usr/bin/python
/usr/bin/python2.2
/usr/include/python2.2
/usr/include/python2.2/abstract.h
/usr/include/python2.2/bitset.h
....
/usr/lib/python2.2/__future__.pyc
/usr/lib/python2.2/__future__.pyo
/usr/lib/python2.2/__phello__.foo.py
/usr/lib/python2.2/__phello__.foo.pyc
/usr/lib/python2.2/__phello__.foo.pyo

What's really strange is that I have removed these from the system. They don't exist and if I try and cd to them on terminal I get:

/usr/lib/python2.2: No such file or directory.

My new install of python2.3 is working fine but this is quite puzzling. So question is why is the locate reporting what it is and how to I correct it so that it is in sync with my system.

Help much appreciated.
Reply With Quote
  #2  
Old January 24th, 2004, 02:42 PM
Registered User
 
Join Date: Jan 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
fairwinds is on a distinguished road
Problem solved I believe

Ok I thing I answered my own question. I think my system is right and what I am seeing from locate is out of step. I am going to try sudo /usr/libexec/locate.updatedb to see if the locate database is out of step with the filesystem. If it is then everything should be in sync when it finishes building a new index.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 08:38 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.