Koozali.org: home of the SME Server

Unable to perform YUM Update from 7.0 to 7.13

zz

Unable to perform YUM Update from 7.0 to 7.13
« on: May 23, 2007, 04:52:55 AM »
Hi, I am trying to update a 7.0 server to the latest update. I tried finding solutions by performing a search, but still not able to find one solution that solves my issue. I am not able to do a software update via server-manager and also not to perform a "yum update" via shell.

Whenever I perform a "yum update" via shell. I get this error which I don't know where to start to get rid of the error. I am not very well verse in SME. If someone can help, please elighten me. Greatly appreciated.

The yum packages I have installed on my server are the following:
yum-2.4.3-4.el4.centos
yum-metadata-parser-1.1.0-2.el4.centos
yum-plugin-fastestmirror-0.2.4-3.c4
smeserver-yum-1.2.0-27.el4.sme

Just to further illustrate what I have done. I have tried to:

rm /home/e-smith/db/yum_repositories
restart

yum clean all
restart

update yum manually via the "download" section in sme server homepage

==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up Update Process
Setting up repositories
smeaddons                 100% |=========================|  951 B    00:00    
updates                   100% |========================updates                   100% |=========================|  951 B    00:00    
base                      100% |=========================| 1.1 kB    00:00    
smeos                     100% |=========================|  951 B    00:00    
smeupdates                100% |=========================|  951 B    00:00    
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files

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

(process:7064): 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 477, in doCommands
    return self.updatePkgs()
  File "/usr/share/yum-cli/cli.py", line 955, in updatePkgs
    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
================================================================
No new rpms were installed. No additional commands are required.
================================================================

Offline skydivers

  • *
  • 178
  • +0/-0
Unable to perform YUM Update from 7.0 to 7.13
« Reply #1 on: May 23, 2007, 08:07:30 AM »
You should report this in the bugtracker!

zz

Unable to perform YUM Update from 7.0 to 7.13
« Reply #2 on: May 23, 2007, 08:46:46 AM »
Thanks for highlighting.  :lol:

Has been added into Bug Tracker - Bug Number is 3021