fedora yum Another app is currently holding the yum lock
来源:互联网 发布:深圳知味饺子馆 编辑:程序博客网 时间:2024/06/11 04:52
可以直接输入 rm -f /var/run/yum.pid
也可以/etc/init.d/yum-updatesd stop
或是等它更新完了再进行安装
运行yum,系统提示Existing lock /var/run/yum.pid: another copy is running as pid 3046
问题描述:登录系统后,执行yum install vsftpd,提示Existing lock /var/run/yum.pid: another copy is running as pid 5048.有时等5~10分钟yum可以正常使用。
问题分析:主要原因就是yum在自动更新,所以再运行yum就会报这个错。
问题解决:只要关掉正在执行的yum更新就可以了就可以了,停止正在运行的yum进程,或者禁用开机自动启动yum进程。
操作步骤:
停止yum进程
[root@localhost ~]# rm -f /var/run/yum.pid
为什么会有一个yum进程在执行呢?
原来是yum自动更新机制自动激活了yum进程,用下面的命令停止自动更新:
[root@localhost ~]# /etc/init.d/yum-updatesd stop
停止 yum-updatesd: [确定]
如果我们不需要自动更新服务,可以直接删除它。
#yum remove yum-updatesd
不过删除该服务之后,以后的更新要用下面的命令手工来完成了。
#yum update
- fedora yum Another app is currently holding the yum lock
- fedora yum Another app is currently holding the yum lock
- [yum install] Another app is currently holding the yum lock
- yum提示 Another app is currently holding the yum lock
- Another app is currently holding the yum lock
- Centos Another app is currently holding the yum lock
- Centos Another app is currently holding the yum lock
- Another app is currently holding the yum lock
- Another app is currently holding the yum lock 解决办法!
- Another app is currently holding the yum lock
- Another app is currently holding the yum lock
- Linux Another app is currently holding the yum lock...问题解决
- Another app is currently holding the yum lock解决方法
- another app is currently holding the yum lock
- fedora 遇到“another app is currently holding the yum lock;waiting for it to exit”问题
- Another app is currently holding the yum lock; The other application is: yum-updatesd-he
- Fedora16下运行yum makecache时,遇到Another app is currently holding the yum lock...
- yum问题 Another app is currently holding the yum lock; waiting for
- 怎样做研究(五) 刘挺
- 怎样做研究(六) 刘挺
- 怎样做研究(七) 刘挺
- 二. 主动对象(Active Object)模式
- 用触发器保证数据库中指定的字段不允许修改
- fedora yum Another app is currently holding the yum lock
- 就TinyXml使用答复一位网友
- 傻B自己看的java笔记:解析XML
- 精讲
- Fedora 11 64 配置1
- 三。Template Method模式(继承)与Strategy模式(委托) -- 分离算法与上下文
- 详解
- 触发器本身就是一个事务
- 加载SkyX中遇到的问题