Any yum command fails with "problem importing one of the Python modules , /usr/lib/python2.4/site-packages/_sqlitecache.so: undefined symbol: g_string_chunk_insert_len" error.

Solution Unverified - Updated -

Issue

  • Any yum command fails with the following error :-
# yum clean all
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

/usr/lib/python2.4/site-packages/_sqlitecache.so: undefined symbol: g_string_chunk_insert_len

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.4.3 (#1, Sep 17 2008, 16:04:01)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-41)]

Environment

  • Red Hat Enterprise Linux(RHEL) 5
  • Python 2.4.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.