用yum安装软件然后报这个错误
解决方法:
删除yum.pid文件,并重启yum服务后
rm -rf /var/run/yum.pid
还有一个错误,后边是什么来往了,是因为网速太慢或者网卡设置的问题可以尝试修改网卡来解决
Loaded plugins: fastestmirror, langpacks
Existing lock /var/run/yum.pid: another copy is running as pid 11497.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 49 M RSS (924 MB VSZ)
Started: Thu Mar 16 23:24:24 2017 - 01:46 ago
State : Sleeping, pid: 11497
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 49 M RSS (924 MB VSZ)
Started: Thu Mar 16 23:24:24 2017 - 01:48 ago
State : Sleeping, pid: 11497
解决方法:
删除yum.pid文件,并重启yum服务后
rm -rf /var/run/yum.pid
/sbin/service yum-updatesd restart
还有一个错误,后边是什么来往了,是因为网速太慢或者网卡设置的问题可以尝试修改网卡来解决
Loaded plugins: fastestmirror, langpacks