yum 出现Existing lock /var/run/yum.pid: another copy is running as pid:3355

简介:

使用yum命令时,出现:


Existing lock /var/run/yum.pid: another copy is running as pid:3355.


Another app is currently holding the yum lock; waiting for it to exit...


    The other application is: yum-updatesd-he


……


主要原因就是yum在自动更新 只要关掉他就可以了


解决方案:


直接输入  rm -f    /var/run/yum.pid

或者:      /etc/init.d/yum-updatesd stop

也可以等更新完了再进行安装





     本文转自布拉君君 51CTO博客,原文链接:
http://blog.51cto.com/5148737/1538486
,如需转载请自行联系原作者


相关文章
|
3月前
|
Linux 开发工具 数据安全/隐私保护
linux异常一:feng 不在 sudoers 文件中,此事将被报告。yum提示Another app is currently holding the yum lock; waiting for
这篇文章介绍了在CentOS 7系统中安装Docker时遇到的两个常见问题及其解决方法:用户不在sudoers文件中导致权限不足,以及yum被锁定的问题。
57 2
linux异常一:feng 不在 sudoers 文件中,此事将被报告。yum提示Another app is currently holding the yum lock; waiting for
|
8月前
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
34 0
|
8月前
yum 报错:Another app is currently holding the yum lock; waiting for it to exit
开发过程中需要用到 yum 命令 有时候执行 yum 会报错如下
132 0
|
Linux Docker 容器
yum install docker报错:Another app is currently holding the yum lock
今天在centos7安装docker的时候yum报错。 在进程里查看下:ps -ef | grep update 把后台占用的更新进程杀掉。
121 0
|
开发工具 Docker Python
成功解决使用yum安装软件的时候提示/var/run/yum.pid被锁定
成功解决使用yum安装软件的时候提示/var/run/yum.pid被锁定
1452 0
成功解决使用yum安装软件的时候提示/var/run/yum.pid被锁定
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竟然这样解决最快
190 0
|
Linux
Linux yum提示Another app is currently holding the yum lock; waiting for it to exit...
版权声明:本文为 testcs_dn(微wx笑) 原创文章,非商用自由转载-保持署名-注明出处,谢谢。 https://blog.csdn.net/testcs_dn/article/details/48711805 使用yum安装计划任务功能,结果提...
1245 0
|
2月前
|
存储 缓存 Linux
【Linux】另一种基于rpm安装yum的方式
通过本文的方法,您可以在离线环境中使用RPM包安装YUM并进行必要的配置。这种方法适用于无法直接访问互联网的服务器或需要严格控制软件源的环境。通过配置本地YUM仓库,确保了软件包的安装和更新可以顺利进行。希望本文能够为您在特定环境中部署YUM提供实用的指导。
305 0
|
4月前
|
关系型数据库 MySQL Linux
Linux 安装 mysql【使用yum源进行安装】
这篇文章介绍了在Linux系统中使用yum源安装MySQL数据库的步骤,包括配置yum源、安装MySQL服务、启动服务以及修改root用户的默认密码。
Linux 安装 mysql【使用yum源进行安装】