Problem
While upgrading a CentOS 4.5 to CentOS 5.*, yum starts to fail with
/usr/lib/python2.4/site-packages/_sqlitecache.so: undefined symbol: g_assert_warning
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, May 24 2008, 13:47:28)
[GCC 4.1.2 20070626 (Red Hat 4.1.2-14)]
Reason
The reason was that the glib2 package hadn’t been updated at the same time as the yum and python packages, since they only required glib2 and not a specific version.
Solution
So the solution was to upgrade glib2 manually with the rpm command after which yum worked again.
Thanks for this one, I got the same error and yours was the only mention
I could find online. And it worked
Ditto. This solved my problem too. Thanks for the post.
thank you! you saved my day !
thank you CentOS and your soso documentation
[...] 4. Basically everything else works. I also recommend that you install ’strace’ as you can then see what is wrong. For example, I had to find all those extra packages by running strace to see which library was missing. I also found out that I needed to add the glibc2 package thanks to this handy post here. [...]
thanks, I just ran into this problem in my own howto: http://benincosa.org/blog/?p=12