!
也想出现在这里? 联系我们
广告位
当前位置:首页>教程分享>服务器教程>Linux执行yum安装提示Anothe holding the yum lock

Linux执行yum安装提示Anothe holding the yum lock

Linux执行yum安装提示Another app is currently holding the yum lock; waiting for it to exit.

 

小课堂:

问题描述:

Linux系统中使用到yum命令报错:

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

The other application is: yum

Memory :  28 M RSS (772 MB VSZ)

Started: Sat Apr 13 14:11:00 2024 - 02:18 ago

State  : Sleeping, pid: 29635

解决办法:

输入:

rm -f /var/run/yum.pid

然后重新运行刚才的yum命令即可

原因:

可能是系统自动升级正在运行,yum在锁定状态中,要等待那个进程结束退出:

看报错的那一段话:

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

你可以看一下是否有yum进程

ps aux|grep yum

Linux执行yum安装提示Anothe holding the yum lock

给TA打赏
共{{data.count}}人
人已打赏
服务器教程

Windows系统查看远程桌面端口号的三种方式

2021-4-22 15:00:09

服务器教程

Windows服务器宝塔出现python报错怎么办

2021-4-22 15:00:13

声明 本站上的部份代码及教程来源于互联网,仅供网友学习交流,若您喜欢本文可附上原文链接随意转载。无意侵害您的权益,请发送邮件至 [email protected] 或点击右侧 私信:吉吉国王 反馈,我们将尽快处理。
0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索
OneEase