While I was trying to make rpm installation by yum, it gave below error
[root@veridata ~]# yum install pdksh* Loaded plugins: langpacks, ulninfo Existing lock /var/run/yum.pid: another copy is running as pid 8432. Another app is currently holding the yum lock; waiting for it to exit... The other application is: PackageKit Memory : 85 M RSS (513 MB VSZ) Started: Thu Mar 14 21:19:39 2019 - 01:41 ago State : Sleeping, pid: 8432 Another app is currently holding the yum lock; waiting for it to exit... The other application is: PackageKit Memory : 85 M RSS (513 MB VSZ) Started: Thu Mar 14 21:19:39 2019 - 01:43 ago State : Sleeping, pid: 8432 Another app is currently holding the yum lock; waiting for it to exit... The other application is: PackageKit Memory : 85 M RSS (513 MB VSZ) Started: Thu Mar 14 21:19:39 2019 - 01:45 ago State : Sleeping, pid: 8432
So how We can handle this error? Here is the step:
First check which process keep busy yum
[root@veridata ~]# ps aux | grep yum root 8432 8.4 4.5 525300 86544 ? SN 21:19 0:11 /usr/bin/python /usr/share/PackageKit/helpers/yum/yumBackend.py get-updates none root 9965 0.0 0.0 112712 980 pts/0 S+ 21:21 0:00 grep --color=auto yum
As you can see process 8432 access yum. So let us kill it and retry to use yum [root@veridata ~]# kill -9 8432
Yorum bırakın
Comments feed for this article