yum提示Another app is currently holding the yum lock

使用yum安装计划任务功能,结果提示:

# yum -y install vixie-cron
Loaded plugins: fastestmirror, refresh-packagekit, security
Existing lock /var/run/yum.pid: another copy is running as pid 25960.
Another app is currently holding the yum lock; waiting for it to exit...

可能是系统自动升级正在运行,yum在锁定状态中。 
已经有一个yum进程在运行了,使用kill干掉它:

# kill -s 9 25960
# ps aux|grep yum
root  6744   0.0  0.0 103260  900 pts/1  S+  14:59 0:00 grep yum
root  25960  0.0  0.0    0    0    ?     Z   Sep19 0:01 [yumBackend.py] <defunct>

很遗憾,kill对付不了它,那怎么办呢?

可以通过强制关掉yum进程:

#rm -f /var/run/yum.pid1

然后就可以使用yum了。

原文地址:http://blog.51cto.com/sf1314/2150726

时间: 2024-12-11 10:43:24

yum提示Another app is currently holding the yum lock的相关文章

yum提示another app is currently holding the yum lock;waiting for it to exit

强制关掉yum进程:#rm -f /var/run/yum.pid然后就可以使用yum了. yum提示another app is currently holding the yum lock;waiting for it to exit,布布扣,bubuko.com

yum下提示Another app is currently holding the yum lock

解决方案: 1.查看:ps -ef | grep yum root      3160     1  0 14:47 ?        00:00:00 /usr/bin/python -tt /usr/sbin/yum-updatesd root      3340  3160  0 14:47 ?        00:00:00 /usr/bin/python -tt /usr/libexec/yum-updatesd-helper --check --dbus root      3458

yum安装提示Another app is currently holding the yum lock; waiting for it to exit...

在Linux系统中使用yum安装软件时,提示yum处于锁定状态 1 Another app is currently holding the yum lock; waiting for it to exit... 通过查询得知,可能是系统内部在自动升级,可通过强制关闭yum进程 1 #rm -f /var/run/yum.pid 之后yum就可以正常使用了 原文地址:https://www.cnblogs.com/guoxiangyue/p/9049202.html

Yum Error 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... The other application is: PackageKit Memory : 153 M RSS (266 MB VSZ) Started: Thu Jul 12 00:03:05 2012 - 06:17 ago State : Sleeping, pid: 4018 Another app is currently holding t

[yum]Another app is currently holding the yum lock

yum 安装 提示错误 提示信息: Another app is currently holding the yum lock; waiting for it to exit... The other application is: PackageKit Memory : 27 M RSS ( 74 MB VSZ) Started: Wed Jun 6 22:59:02 2018 - 03:47 ago State : Sleeping, pid: 2884 解决 rm -f /var/run/

yum被lock Existing lock /var/run/yum.pid: another copy is running as pid 1580. Another app is currently holding the yum lock; waiting for it to exi

[[email protected] bin]# yum -y install lrzszLoaded plugins: fastestmirrorExisting lock /var/run/yum.pid: another copy is running as pid 1580.Another app is currently holding the yum lock; waiting for it to exit... The other application is: yum Memor

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... The other application is: PackageKit Memory : 46 M RSS (925 MB VSZ) Started: Thu Jul 6 08:40:45 2017 - 01:57 ago State : Running, pid: 10884 解决方法:手工杀死yum进程 sudo kill -9 10884

Another app is currently holding the yum lock; waiting for it to exit...

刚安装完虚拟机,用xshell连接上linux后,安装程序时一直出现这个信息Another app is currently holding the yum lock; waiting for it to exit... 解决方法:rm -rf /var/run/yum.pid 来强行解除锁定,然后你的yum就可以运行了 可以看博文 http://www.cnblogs.com/IceKernel/articles/2587274.html

Centos Another app is currently holding the yum lock

yum命令用ctrl+z命令中断后,再运行yum时,出现: Existing lock /var/run/yum.pid: another copy is running as pid 3046. 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... Anoth