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...
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...

解决方案:

rm -f /var/run/yum.pid

/sbin/service yum-updatesd restart

Stopping yum-updatesd:                                     [ OK ]
Starting yum-updatesd:                                     [ OK ]

yum-updatesd上系统自带的一个提供系统更新的服务,安装文件也叫做yum-updatesd,这个服务默认是自动启动的(init 5),因为系统只允许一个更新进程在运行,所以他运行的时候会自动给yum加锁,这就导致了开机后不能手动进行yum了。

时间: 2024-08-09 11:34:14

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

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

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 update时候出现Another app is currently holding the yum lock解决方法

[[email protected] ]# yum install app* 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

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

解决linux 出现如下报错:Another app is currently holding the yum lock;

[[email protected] network-scripts]# yum install vim Loaded plugins: fastestmirror Existing lock /var/run/yum.pid: another copy is running as pid 2503. Another app is currently holding the yum lock; waiting for it to exit... The other application is:

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

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... 可以通过强制关掉yum进程: www.2cto.com #rm -f /var/run/yum.pid 然后就可以使用yum了.

Centos6.5使用yum安装软件的时候 Another app is currently holding the yum lock; waiting for it to exit...

Loaded plugins: fastestmirror, refresh-packagekit, security Existing lock /var/run/yum.pid: another copy is running as pid 2135. Another app is currently holding the yum lock; waiting for it to exit... The other application is: PackageKit Memory : 43