红联Linux门户
Linux帮助

yum被一个程序锁定~~~

发布时间:2008-09-13 12:40:41来源:红联作者:qingcai2007
安装了一个yumex打开后,弹出一个错误信息~~
yum被一个程序锁定
怎么弄呀??而且yum也用不了了~~~~
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...
文章评论

共有 8 条评论

  1. wingsmart 于 2008-09-14 00:13:10发表:

    rm -f /var/run/yum.pid,这个应该比较管用吧,也不用去查PID

  2. ba0zhu 于 2008-09-13 15:28:54发表:

    关闭自动更新就好了,,因为后台已经在更新了,,所以才要你等待的!!

  3. qingcai2007 于 2008-09-13 14:02:13发表:

    谢谢!!ok了!!(o):tx (o):tx (o):tx

  4. deepwhite 于 2008-09-13 13:05:11发表:

    引用:
    原帖由 奶茶dsk 于 2008-9-13 12:47 发表
    ps -aux | grep yum
    kill 相应的pid..

    如果觉得麻烦不怕出错还可以直接kill -9 $(ps -A| grep yum )

  5. 奶茶dsk 于 2008-09-13 12:59:49发表:

    直接chkconfig --level 35 yum-updatesd off吧.

  6. yourfriend 于 2008-09-13 12:56:05发表:

    进程号在“Another app is currently holding the yum lock; waiting for it to exit...”最顶端后面给出来了。
    kill -9 [进程号]

  7. qingcai2007 于 2008-09-13 12:52:19发表:

    [root@localhost ~]# ps -aux | grep yum
    Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
    root 2379 0.0 0.6 247692 12880 ? SN 12:07 0:00 /usr/bin/python -tt /usr/sbin/yum-updatesd
    root 2883 0.0 0.9 241344 18004 ? SN 12:08 0:00 /usr/bin/python -tt /usr/libexec/yum-updatesd-helper --check --dbus
    root 3067 0.0 0.8 216176 15896 ? S 12:13 0:00 /usr/bin/python /usr/bin/yum install unrar
    root 3115 0.0 0.8 216112 15836 tty2 S+ 12:15 0:00 /usr/bin/python /usr/bin/yum install unrar
    root 3187 0.0 0.8 216172 15896 ? S 12:17 0:00 /usr/bin/python /usr/bin/yum install make auto make perl kdelibs kdelibs-devel qt qt-devel compat-gcc-34 compat-gcc-34-c++
    root 4215 0.0 0.0 82228 784 pts/3 R+ 12:51 0:00 grep yum
    又怎么弄啊~~我还是新手~~不会~~

  8. 奶茶dsk 于 2008-09-13 12:47:07发表:

    ps -aux | grep yum
    kill 相应的pid..