LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 4833|回复: 5

yum问题,谢谢了

[复制链接]
发表于 2007-11-22 22:39:05 | 显示全部楼层 |阅读模式
[root@localhost wangcheng]# yum install yumex
Existing lock /var/run/yum.pid: another copy is running as pid 3807.
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...


这是什么原因?
/var/run/yum.pid我打开看了,只是一个数,其他的什么也没有。
谢谢各位了!刚装的fedora8
发表于 2007-11-22 22:44:07 | 显示全部楼层
可能是系统自动升级正在运行,所以yum被锁定了。
可以通过执行rm -rf /var/run/yum.pid 来强行解除锁定,然后你的yum就可以运行了。
回复 支持 反对

使用道具 举报

发表于 2007-11-22 22:45:49 | 显示全部楼层
到服务里把yum相关的东西关掉,在kill yum相关的进程 。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2007-11-22 22:47:58 | 显示全部楼层
Fedora 8 的很东西都可以参考 Fedora 7的,给个链接http://www.linuxsir.cn/bbs/thread316784.html
回复 支持 反对

使用道具 举报

发表于 2007-11-23 08:57:17 | 显示全部楼层
kill -9 3807 即可。
回复 支持 反对

使用道具 举报

发表于 2007-11-23 09:38:12 | 显示全部楼层
默认 yum-updatesd 这个服务开着 或其他yum进程关闭即可

su -
正确方法 关闭 service yum-updatesd stop

调整启动 chkconfig yum-updatesd off
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表