Another app is currently holding the yum lock; waiting for it to exit...
2016-12-29 16:05
405 查看
[root@localhost ~]# yum makecache
Loaded plugins: fastestmirror, refresh-packagekit, security
Existing lock /var/run/yum.pid: another copy is running as pid 2542.
Another app is currently holding the yum lock; waiting for it to exit...
在更换yum源的过程中出现这个报错,可能是系统自动升级正在运行,yum在锁定状态。
[root@localhost ~]# ps -aux | grep yum
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ
root 2542 0.0 0.0 0 0 ? Z 22:18 0:01 [yumBackend.py] <defunct>
root 23606 0.0 0.0 103244 836 pts/1 S+ 23:55 0:00 grep yum
在这时使用kill并不能生效
这是可以强制关闭yum里的进程
[root@localhost ~]# rm -f /var/run/yum.pid
这时继续执行就可以了。
Loaded plugins: fastestmirror, refresh-packagekit, security
Existing lock /var/run/yum.pid: another copy is running as pid 2542.
Another app is currently holding the yum lock; waiting for it to exit...
在更换yum源的过程中出现这个报错,可能是系统自动升级正在运行,yum在锁定状态。
[root@localhost ~]# ps -aux | grep yum
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ
root 2542 0.0 0.0 0 0 ? Z 22:18 0:01 [yumBackend.py] <defunct>
root 23606 0.0 0.0 103244 836 pts/1 S+ 23:55 0:00 grep yum
在这时使用kill并不能生效
这是可以强制关闭yum里的进程
[root@localhost ~]# rm -f /var/run/yum.pid
这时继续执行就可以了。
相关文章推荐
- yum提示another app is currently holding the yum lock;waiting for it to exit
- 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.....
- 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…
- 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...
- Centos6.5使用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...
- yum提示Another app is currently holding the yum lock; waiting for it to exit...