Hello,
I made my last update on February 3. Now I realize that something must have happened because yum doesn't work.
[pablo@pampas ~]$ uname -a
Linux pampas 3.2.2-1.fc16.i686 #1 SMP Thu Jan 26 03:38:31 UTC 2012 i686 i686 i386 GNU/Linux
[pablo@pampas ~]$ yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
librpm.so.2: cannot dynamically load executable
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.7.2 (default, Oct 27 2011, 01:36:46)
[GCC 4.6.1 20111003 (Red Hat 4.6.1-10)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
I tried to reinstall yum using rpm, but
[pablo@pampas ~]$ rpm
rpm: error while loading shared libraries:
librpm.so.2: cannot dynamically load executable
[pablo@pampas ~]$ ldd /bin/rpm
/bin/rpm: error while loading shared libraries:
librpm.so.2: cannot dynamically load executable
However,
librpm.so.2 seems to be present
[pablo@pampas ~]$ ls -ls /usr/lib/librpm*
0 lrwxrwxrwx. 1 root root 20 Feb 1 13:14 /usr/lib/librpmbuild.so.2 -> librpmbuild.so.2.0.1
144 -rwxr-xr-x. 1 root root 146300 Jan 24 19:26 /usr/lib/librpmbuild.so.2.0.1
0 lrwxrwxrwx. 1 root root 17 Jan 31 12:52 /usr/lib/librpmio.so.2 -> librpmio.so.2.0.1
164 -rwxr-xr-x. 1 root root 164768 Jan 24 19:26 /usr/lib/librpmio.so.2.0.1
0 lrwxrwxrwx. 1 root root 19 Feb 1 13:14 /usr/lib/librpmsign.so.0 -> librpmsign.so.0.0.1
16 -rwxr-xr-x. 1 root root 14472 Jan 24 19:26 /usr/lib/librpmsign.so.0.0.1
0 lrwxrwxrwx. 1 root root 15 Jan 31 12:52 /usr/lib/
librpm.so.2 -> librpm.so.2.0.2
312 -rwxr-xr-x. 1 root root 315500 Jan 24 19:26 /usr/lib/librpm.so.2.0.2
I don't know what have happened. I need to update, but I am afraid that the only way is reinstalling
yum or rpm from source code. I wish to avoid that. Can anyone help me out?
Thanks.