[root@yq01-hadoop-bdl119 yum.repos.d]# yum install openssl-devel
Loaded plugins: fastestmirror
Repository epel is listed more than once in the configuration
Existing lock /var/run/yum.pid: another copy is running as pid 26570.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 25 M RSS (416 MB VSZ)
Started: Fri Apr 10 17:04:08 2020 - 18:46 ago
State : Traced/Stopped, pid: 26570
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 25 M RSS (416 MB VSZ)
Started: Fri Apr 10 17:04:08 2020 - 18:48 ago
State : Traced/Stopped, pid: 26570
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 25 M RSS (416 MB VSZ)
Started: Fri Apr 10 17:04:08 2020 - 18:50 ago
State : Traced/Stopped, pid: 26570
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
直接报错,yum是因为有别的应用正在使用,
ps aux | grep yum
果然是这样然后直接 kill -9 干掉再重新
yum clean all
yum makecache fast
就可用了如果kill不掉
还可以强制的关闭yum
#rm -f /var/run/yum.pid
然后就好使了,如有不到之处请多指教