Logo

dev-resources.site

for different kinds of informations.

ERROR: Existing lock /var/run/yum.pid: another copy is running as pid <PID>

Published at
4/29/2020
Categories
linux
processid
yum
Author
yuvarajan_johnpaul
Categories
3 categories in total
linux
open
processid
open
yum
open
Author
18 person written this
yuvarajan_johnpaul
open
ERROR: Existing lock /var/run/yum.pid: another copy is running as pid <PID>

Existing lock /var/run/yum.pid: another copy is running as pid .
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum-cron
Memory : 23 M *** (418 MB ***)
Started: Wed Apr 29 2020 - 12:41 ago
State : Sleeping, pid:

Solution:

$ yum list

[root@user bin]# yum list
Failed to set locale, defaulting to C
Existing lock /var/run/yum.pid: another copy is running as pid .
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum-cron
Memory : 23 M *** (418 MB ***)
Started: Wed Apr 29 2020 - 13:21 ago
State : Sleeping, pid:

Identify the PID from the above output.
State : Sleeping, pid:

Now, Kill if it is a stale process to resolve this issue.
$ kill -9

Featured ones: