Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2041116
  • 博文数量: 220
  • 博客积分: 8531
  • 博客等级: 中将
  • 技术积分: 4976
  • 用 户 组: 普通用户
  • 注册时间: 2007-07-18 13:33
文章分类

全部博文(220)

文章存档

2017年(1)

2015年(1)

2014年(5)

2013年(6)

2012年(6)

2011年(30)

2010年(37)

2009年(53)

2008年(41)

2007年(40)

分类: LINUX

2007-07-26 17:37:26

    今天想升级一下我的everest,因为知道everest0.5pre2出来了,结果发现atp不行了,登录公司内部的服务器发现只提供yum方式升级了:

Everest升级仓库

目前为止,Everest支持YUM升级方式,并支持Debian deb格式软件的安装,
deb软件包格式可以通过命令debinst *.deb方式进行安装。升级仓库yum的使用方法如下

YUM升级方式(仅对0.5pre2之后的用户有效):
下载(右键另存为):
[对于升级服务器架设人员,不要忘记修改everest.repo文件中的IP地址]
系统升级定义
将其保存到/etc/yum.repos.d/目录。
然后,运行开始菜单->使用工具->kyum.
通过:
List Available按钮可以列出所有可以安装的软件包
List Updates按钮可以列出系统可用的升级

欢迎使用Everest
--Cjacker


    一看我的everest0.5pre1没有装yum包,所以先用atp装上yum的rpm包。另外yum还有个图形前端,kyum也装上,启动kyum发现好像不能用,在终端之行yum有错误提示

# yum


Could not find any working storages.
Exception exceptions.AttributeError: "'YumRepository' object has no attribute 'sack'" in <bound method YumRepository.__del__ of <yum.yumRepo.YumRepository object at 0x833866c>> ignored


    并没有提示少库文件,上面这个提示让我很郁闷,不知道问题所在。用strace看看详细提示,发现有很多文件找不到,大部分都是关于python的,如下信息

open("/usr/lib/python2.4/site-packages/gtk-2.0/sqlitemodule.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.4/site-packages/gtk-2.0/sqlite.py", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.4/site-packages/gtk-2.0/sqlite.pyc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
close(4) = 0
futex(0x804a3d8, FUTEX_WAKE, 1) = 0
gettimeofday({1185439894, 248822}, NULL) = 0
write(2, "\n\nCould not find any working sto"..., 39

Could not find any working storages.
) = 39
futex(0x830d4e8, FUTEX_WAKE, 1) = 0
unlink("///var/run/yum.pid") = -1 ENOENT (No such file or directory)
write(2, "Exception ", 10Exception ) = 10
write(2, "exceptions.AttributeError", 25exceptions.AttributeError) = 25


    看了一下我系统也装python了啊,在google上搜一下,发现有,讲的比较类似,有人回复说先看看依赖包是否都安装全了。

Is the installed yum and it's dependencies OK ?
rpm -V yum python rpm rpm-libs fedora-release python-sqlite2
python-urlgrabber yum-metadata-parser

Show us any output from the rpm Verify, and also any *.repo files that
have been modified or added {/etc/yum.repos.d/*.repo}

DaveT.

    不用执行,看了看有关python的这两个我系统里面有没有吧。的确发现python-sqlite2 没有,装上之后,yum可以正常执行了。
    非常奇怪,当时装yum的时候,也没有提示依赖这个包。真奇怪啊。

阅读(2133) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~