View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-28-2008, 08:51 AM   #1
Registered: Feb 2008
Posts: 112

Rep: Reputation: 16
Question 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
Old 02-28-2008, 01:53 PM   #2
Registered: Feb 2008
Location: Montreal, Canada
Distribution: RedHat 3/4, Ubuntu 7.10
Posts: 86

Rep: Reputation: 15

Can you post the output of these two commands:

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

Old 02-28-2008, 02:46 PM   #3
Registered: Feb 2008
Posts: 112

Original Poster
Rep: Reputation: 16
I installed/re-installed the

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

packets from

It's working again now

Thankf for your post.
Old 09-02-2008, 09:00 PM   #4
LQ Newbie
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
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
Old 07-30-2012, 08:39 PM   #5
LQ Newbie
Registered: Jul 2012
Posts: 2

Rep: Reputation: Disabled
URL is changed

Originally Posted by Seregwethrin View Post
Now this URL already invalid. Current valid URL is following:


critical, glib, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference betweenn "yum install" and "yum update" john lee Linux - Newbie 1 02-11-2008 11:26 PM
Post back , How to get "yum" and "ndiswrapper" to work? BootLaptop Linux - Wireless Networking 1 07-17-2007 08:27 PM
"cp -p" fails with "cp: setting permissions for `/home/svbld/t': Invalid argument" mkhesin Red Hat 1 02-28-2007 12:57 AM
FC4: "yum update libcddb" fails -- missing dependancy problem: MattCrypto Fedora 2 07-28-2005 06:47 PM
Issues with glib, "cannot find glib".. Mandrake 10.1... Please Help!~ TheCowboy Mandriva 2 03-01-2005 04:49 AM

All times are GMT -5. The time now is 08:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration