Koozali.org: home of the SME Server

yum broke after yum update

Offline steel

  • 2
  • +0/-0
yum broke after yum update
« on: June 14, 2008, 02:49:53 AM »
Hi all

Before I log this as a possible bug, I'll post it here in case its a user error.
After running a normal yum update, the following error now comes up when subsequent yum commands are ran:

I have googled and searched the forums for similar and there is some reference to a yum breakage, but nothing linked to SME that I could find.
Anyone had similar errors in the past?

its SME7

on second thoughts I'll post it as a bug too :-?

Thanks for your thoughts on this


Steve

[root@server ~]# yum list
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Setting up repositories
Reading repository metadata in from local files

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

(process:4015): 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 512, in doCommands
    ypl = self.returnPkgLists()
  File "/usr/share/yum-cli/cli.py", line 1176, in returnPkgLists
    ypl = self.doPackageLists(pkgnarrow=pkgnarrow)
  File "__init__.py", line 885, in doPackageLists
  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
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@server ~]#

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: yum broke after yum update
« Reply #1 on: June 14, 2008, 09:41:44 AM »
hi

try:
Code: [Select]
yum clean all
yum list

HTH
Ciao
Stefano

Offline steel

  • 2
  • +0/-0
Re: yum broke after yum update
« Reply #2 on: June 14, 2008, 05:17:23 PM »
Thanks for the suggestions stefano, however no go... I had tried this already but rebooted and tried again

[root@server ~]# yum clean all
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Cleaning up Everything
0 headers removed
0 packages removed
7 metadata files removed
0 cache files removed
1 cache files removed
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@server ~]# yum list
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Setting up repositories
smeaddons                 100% |=========================|  951 B    00:00
smeos                     100% |=========================|  951 B    00:00
smeupdates                100% |=========================|  951 B    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================|  186 B    00:00

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

(process:24233): 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 512, in doCommands
    ypl = self.returnPkgLists()
  File "/usr/share/yum-cli/cli.py", line 1176, in returnPkgLists
    ypl = self.doPackageLists(pkgnarrow=pkgnarrow)
  File "__init__.py", line 885, in doPackageLists
  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
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@server ~]#


Thanks

Steve

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: yum broke after yum update
« Reply #3 on: June 14, 2008, 07:26:17 PM »
on second thoughts I'll post it as a bug too :-?
That is the proper thing to do, I guess you launched this one: http://bugs.contribs.org/show_bug.cgi?id=4406

Next time please also read the FAQ as your error seems to be listed there (as well) like suggested in above bug already.

Please do all follow-ups in the bug report, as I and the devs, do not like to have two tracks and do not have the time to track them both.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)