LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 02-28-2008, 08:51 AM   #1
Seregwethrin
Member
 
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

Code:
# 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 ?
    yummain.main(sys.argv[1:])
  File "/usr/share/yum-cli/yummain.py", line 97, in main
    result, resultmsgs = do()
  File "/usr/share/yum-cli/cli.py", line 470, in doCommands
    return self.installPkgs()
  File "/usr/share/yum-cli/cli.py", line 836, in installPkgs
    self.doRepoSetup()
  File "/usr/share/yum-cli/cli.py", line 75, in doRepoSetup
    self.doSackSetup(thisrepo=thisrepo)
  File "__init__.py", line 260, in doSackSetup
  File "repos.py", line 277, in populateSack
  File "/usr/lib/python2.3/site-packages/sqlitecachec.py", line 40, in getPrimary
    self.repoid))
TypeError: Can not create index on requires table: near "NOT": syntax error
 
Old 02-28-2008, 01:53 PM   #2
mtimbro
Member
 
Registered: Feb 2008
Location: Montreal, Canada
Distribution: RedHat 3/4, Ubuntu 7.10
Posts: 86

Rep: Reputation: 15
Question

Can you post the output of these two commands:

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

Cheers,
 
Old 02-28-2008, 02:46 PM   #3
Seregwethrin
Member
 
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 http://mirror.centos.org/centos/4/os/

It's working again now

Thankf for your post.
 
Old 09-02-2008, 09:00 PM   #4
johnlace65
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
Cudo29
LQ Newbie
 
Registered: Jul 2012
Posts: 2

Rep: Reputation: Disabled
URL is changed

Quote:
Originally Posted by Seregwethrin View Post
Now this URL already invalid. Current valid URL is following:
http://vault.centos.org/4.9/os/
 
  


Reply

Tags
critical, glib, yum



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:57 AM.

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