LinuxSir.cn,穿越时空的Linuxsir!

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

关于YUM

[复制链接]
发表于 2007-2-3 13:00:06 | 显示全部楼层 |阅读模式
是不是一次只能执行一个YUM进程?如果你想YUM软件时,系统同时在YUM别的,就会出现:
[root@localhost ~]# yum install xmss
Loading "installonlyn" plugin
Existing lock /var/run/yum.pid: another copy is running. Aborting.
[root@localhost ~]#
是吧?但为什么我中止不了这个进程呢?
[root@localhost ~]# ps aux|grep yum
root      3356  0.0  1.4  22496 10952 tty6     T    10:34   0:00 /usr/bin/python /usr/bin/yum install xmms
root      4527  0.0  0.0   4744   672 pts/1    R+   12:52   0:00 grep yum
[root@localhost ~]# kill 3356
[root@localhost ~]# ps aux|grep yum
root      3356  0.0  1.4  22496 10952 tty6     T    10:34   0:00 /usr/bin/python /usr/bin/yum install xmms
root      4529  0.0  0.0   4744   676 pts/1    R+   12:52   0:00 grep yum
[root@localhost ~]#
发表于 2007-2-3 16:46:12 | 显示全部楼层
rm -f /var/run/yum.pid
回复 支持 反对

使用道具 举报

发表于 2007-2-5 11:51:30 | 显示全部楼层
kill -9 3356
回复 支持 反对

使用道具 举报

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

本版积分规则

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