Chinaunix首页 | 论坛 | 博客
  • 博客访问: 299643
  • 博文数量: 42
  • 博客积分: 2550
  • 博客等级: 少校
  • 技术积分: 475
  • 用 户 组: 普通用户
  • 注册时间: 2007-09-30 15:23
文章分类

全部博文(42)

文章存档

2012年(2)

2010年(2)

2009年(13)

2008年(19)

2007年(6)

我的朋友

分类: LINUX

2009-05-15 18:45:00

在RHEL4.5下使用
# yum update -y
出现如下的报错
Setting up Install Process
Setting up repositories
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:3221): GLib-CRITICAL **: file gtimer.c: line 106 (g_timer_stop): assert ion `timer != NULL' failed

(process:3221): GLib-CRITICAL **: file gtimer.c: line 88 (g_timer_destroy): asse rtion `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 getPrimar y
    self.repoid))
TypeError: Can not create index on requires table: near "NOT": syntax error
解决的方法是到   下载以下rpm包并执行强制安装
 
yum
sqlite
python-sqlite
python-elementtree
python-urlgrabber
 
rpm -i --force * 
问题解决!
阅读(2079) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~