用yum安装软件然后报这个错误
解决方法:
删除yum.pid文件,并重启yum服务后
rm -rf /var/run/yum.pid
还有一个错误,后边是什么来往了,是因为网速太慢或者网卡设置的问题可以尝试修改网卡来解决
复制代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16Loaded 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
还有一个错误,后边是什么来往了,是因为网速太慢或者网卡设置的问题可以尝试修改网卡来解决
复制代码
1Loaded plugins: fastestmirror, langpacks
最后
以上就是大力鲜花最近收集整理的关于centos 中使用yum报错的问题的全部内容,更多相关centos内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复