[CentOS] loosing applications

Michel Donais donais at telupton.com
Tue May 8 00:35:18 UTC 2012


> Hi Michel. This is only to print a sys variable; you don't need to do
> anything there. So your default python finds the libuser library, the 
> error
> you saw before with import libuser is not coming from this python, at 
> least
> as root. Does it make sense to remove pirut and re-install it? I don't use
> it, I have absolutely no idea which consequences it may have removing and
> reinstalling pirut for software that was already installed under pirut.

It's already been done, uninstall and re-install pirut without success. The 
version removed end the re-installed one were at the same level

For Centos-5.8 I've a test machine both are at the same level of update.
If I do >>>print (sys.path) on the production machine, I get

>>> import sys
>>> print (sys.path)
['', '/usr/lib/python24.zip', '/usr/lib/python2.4', 
'/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk', 
'/usr/lib/python2.4/lib-dynload', '/usr/lib/python2.4/site-packages']

And on the test machine I get

>>> import sys
>>> print (sys.path)
['', '/usr/lib/python24.zip', '/usr/lib/python2.4', 
'/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk', 
'/usr/lib/python2.4/lib-dynload', '/usr/lib/python2.4/site-packages', 
'/usr/lib/python2.4/site-packages/Numeric', 
'/usr/lib/python2.4/site-packages/gtk-2.0']

If I refer at Larry Martell message, he pointed that the problem was with 
sys.path

If I look in ?usr/lib/python2.4/site-packages/
numeric in there on the test machine but absent on the production one

I tried to re-install  python-numeric.i386 0:23.7-2.2.2.el5_6.1 and nothig 
change; numeric is still not there

On these facts, can somebody point me a solution?

---
Michel Donais





More information about the CentOS mailing list