-   Linux - Software (
-   -   Yum fails with "GLib-CRITICAL" (

Seregwethrin 02-28-2008 08:51 AM

Yum fails with "GLib-CRITICAL"
I'm trying to install or search anything with yum like yum install webalizer. But i get that error every time.

I searched it at Google but i can't find any useful solution.

Also I've installed the glib-2.14.5 by compiling, not with rpms. But couldn't fix.

Do you have an idea for this problem?

I'm using CentOS 4


# yum install webalizer
Setting up Install Process
Setting up repositories
kbs-CentOS-Extras        100% |=========================|  951 B    00:00
update                    100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
addons                    100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files

(process:8013): GLib-CRITICAL **: file gtimer.c: line 106 (g_timer_stop): assertion `timer != NULL' failed

(process:8013): GLib-CRITICAL **: file gtimer.c: line 88 (g_timer_destroy): assertion `timer != NULL' failed
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
  File "/usr/share/yum-cli/", line 97, in main
    result, resultmsgs = do()
  File "/usr/share/yum-cli/", line 470, in doCommands
    return self.installPkgs()
  File "/usr/share/yum-cli/", line 836, in installPkgs
  File "/usr/share/yum-cli/", line 75, in doRepoSetup
  File "", line 260, in doSackSetup
  File "", line 277, in populateSack
  File "/usr/lib/python2.3/site-packages/", line 40, in getPrimary
TypeError: Can not create index on requires table: near "NOT": syntax error

mtimbro 02-28-2008 01:53 PM

Can you post the output of these two commands:

>rpm -qa | grep -i python
>rpm -qa | grep -i glibc


Seregwethrin 02-28-2008 02:46 PM

I installed/re-installed the

# yum
# sqlite
# python-sqlite
# python-elementtree
# python-urlgrabber

packets from

It's working again now :)

Thankf for your post.

johnlace65 09-02-2008 09:00 PM

Solving the Critical error.
To solve the Critical error:

What I did was simple, and fixed the problem.

I reinstalled an older available version of yum. Quick fix. Search your box or download one.

I used:
rpm -i --force yum-2.4.3-1.c4.noarch.rpm

i for install
force to replace a newer one. mine was 2.4.4, the broken one.

Best regards

John Lace

Cudo29 07-30-2012 08:39 PM

URL is changed

Originally Posted by Seregwethrin (Post 3073049)

Now this URL already invalid. Current valid URL is following:

All times are GMT -5. The time now is 07:41 AM.