Another app is currently holding the yum lock 已解决 原创 Linux平台 2022年3月10日 11:24 夏至未至 957 当前内容 1509 字,在路上,马上到,马上到 ### 问题现象 yum 时,报如下错误: [root@localhost network-scripts]# yum -y install mysql57-community-release-el7-10.noarch.rpm Loaded plugins: fastestmirror, langpacks Existing lock /var/run/yum.pid: another copy is running as pid 2736. Another app is currently holding the yum lock; waiting for it to exit... The other application is: PackageKit Memory : 172 M RSS (598 MB VSZ) Started: Wed Mar 9 19:07:58 2022 - 06:17 ago State : Sleeping, pid: 2736 Another app is currently holding the yum lock; waiting for it to exit... The other application is: PackageKit Memory : 172 M RSS (598 MB VSZ) Started: Wed Mar 9 19:07:58 2022 - 06:19 ago State : Sleeping, pid: 2736 ... ### 解决方法 rm -f /var/run/yum.pid 删除即可,如下验证: [root@localhost network-scripts]# rm -rf /var/run/yum.pid [root@localhost network-scripts]# [root@localhost network-scripts]# [root@localhost network-scripts]# yum -y install mysql57-community-release-el7-10.noarch.rpm Loaded plugins: fastestmirror, langpacks Examining mysql57-community-release-el7-10.noarch.rpm: mysql57-community-release-el7-10.noarch Marking mysql57-community-release-el7-10.noarch.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package mysql57-community-release.noarch 0:el7-10 will be installed --> Finished Dependency Resolution Dependencies Resolved ... yum 实测正常。 本文标题: Another app is currently holding the yum lock 已解决 本文作者: 夏至未至 发布时间: 2022年3月10日 11:24 最近更新: 2022年3月14日 12:17 原文链接: 许可协议: 署名-非商业性-禁止演绎 4.0 国际(CC BY-NC-ND 4.0) 请按协议转载并保留原文链接及作者 yum(3) 上一个 CentOS7 yum 安装 MySQL 下一个 内存共享与写时拷贝 当前文章评论暂未开放,请移步至留言处留言。