Description of problem:
I had a Fedora 13 installation on my desktop, which I just ran a yum upgrade on. Now rpm and yum are both pretty broken due to an undefined symbol 'pgpValString' in librpm:
[root@localhost ~]# yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
/usr/lib64/librpm.so.1: undefined symbol: pgpValString
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.6.4 (r264:75706, Jun 4 2010, 18:20:31)
[GCC 4.4.4 20100503 (Red Hat 4.4.4-2)]
If you cannot solve this problem yourself, please go to
the yum faq at:
[root@localhost ~]# rpm -qi rpm
rpm: symbol lookup error: /usr/lib64/librpm.so.1: undefined symbol: pgpValString
Version-Release number of selected component (if applicable):
[root@localhost ~]# rpm -q rpm rpm-libs yum
Freeing read locks for locker 0x31fd: 3659/140596657260448
Freeing read locks for locker 0x31fe: 3659/140596657260448
Freeing read locks for locker 0x31ff: 3659/140596657260448
I'm not sure how to reproduce this. My guess is there's something not right in the Python libraries, but I'm not sure what. I upgraded my system from F-12 shortly after F-13 was released and haven't upgraded it since, until today.
Ah... It seems a copy of librpmio got installed to /usr/local/lib back in May when I was fixing a bug debugedit. I don't recall installing it myself, but I may have done.