CenOS 7 yum /var/run/yum.pid 已被锁定,PID 为 3410 的另一个程序正在运行

傷城~ 2022-04-15 06:39 359阅读 0赞

[root@localhost ~]# yum update
已加载插件:fastestmirror, langpacks
/var/run/yum.pid 已被锁定,PID 为 3410 的另一个程序正在运行。
Another app is currently holding the yum lock; waiting for it to exit…
另一个应用程序是:PackageKit
内存:112 M RSS (1.5 GB VSZ)
已启动: Thu Nov 22 17:43:57 2018 - 01:09之前
状态 :睡眠中,进程ID:3410

Exiting on user cancel.
[root@localhost ~]# rm -rf /var/run/yum.pid
[root@localhost ~]# yum update
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.cn99.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com

删除掉 rm -rf /var/run/yum.pid 即可运行

发表评论

表情:
评论列表 (有 0 条评论,359人围观)

还没有评论,来说两句吧...

相关阅读