解决Another app is currently holding the yum lock; waiting for it to exit...
来源:互联网 发布:快刀抢票软件 编辑:程序博客网 时间:2024/06/03 13:27
[root@bogon ~]# yum install gcc-c++ Loaded plugins: fastestmirror, refresh-packagekit, securityExisting lock /var/run/yum.pid: another copy is running as pid 2395.Another app is currently holding the yum lock; waiting for it to exit... The other application is: PackageKit Memory : 20 M RSS ( 35 MB VSZ) Started: Thu Jul 20 11:25:58 2017 - 8:01:01 ago State : Sleeping, pid: 2395
这里的意思是yum被占用所以需要把这个进程干掉!!!
解决办法:
第一种办法:
kill -s 9 2395
第二种办法:
要是第一种没效果就用下面语句:
rm -f /var/run/yum.pid
然后使用ps命令
ps aux|grep yum
查看占用yum的进程是否被干掉
然后安心的使用yum命令吧。。。我这里安装的是gcc
yum install gcc-c++
阅读全文
0 0
- [CentOS]another app is currently holding the yum lock;waiting for it to exit...解决
- another app is currently holding the yum lock;waiting for it to exit解决
- another app is currently holding the yum lock;waiting for it to exit解决
- another app is currently holding the yum lock;waiting for it to exit解决
- 解决Another app is currently holding the yum lock; waiting for it to exit...
- yum提示another app is currently holding the yum lock;waiting for it to exit
- yum提示another app is currently holding the yum lock;waiting for it to exit
- yum提示another app is currently holding the yum lock;waiting for it to exit
- yum提示another app is currently holding the yum lock;waiting for it to exit
- yum提示another app is currently holding the yum lock;waiting for it to exit
- yum提示another app is currently holding the yum lock;waiting for it to exit
- yum提示Another app is currently holding the yum lock; waiting for it to exit...
- yum提示another app is currently holding the yum lock;waiting for it to exit
- yum时候报another app is currently holding the yum lock;waiting for it to exit
- yum提示another app is currently holding the yum lock;waiting for it to exit
- CentOS7 yum提示:another app is currently holding the yum lock;waiting for it to exit
- yum提示another app is currently holding the yum lock;waiting for it to exit
- yum提示Another app is currently holding the yum lock; waiting for it to exit...
- SQL-外联接默认的属性
- sduacm2016级暑假集训 最短路&最小生成树
- PBOC规范研究之七 ----应用选择(转)
- Android Notification多个通知跳转Activity总会被最后一个替换的问题
- 关于COUNT,MAX函数的记录
- 解决Another app is currently holding the yum lock; waiting for it to exit...
- assertThat用法
- 获取当前栈顶的Activity
- 《UNIX网络编程》中的unp.h文件和config.h文件
- QT远程调试的部署及问题的解决
- Lamda表达式学习
- 50个jQuery代码段帮你成为更好的JavaScript开发者
- Ubuntu创建新用户并增加管理员权限
- JavaScript中this的解析