Linux yum提示Loaded plugins 错误的解决办法

在Linux中使用yum时出现错误信息:

Loaded plugins: fastestmirror, langpacks
Existing lock /var/run/yum.pid: another copy is running as pid 3807.
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory : 167 M RSS (572 MB VSZ)
    Started: Thu Jan  2 13:48:03 2020 - 02:30 ago
    State  : Sleeping, pid: 3807

出现该问题重启无法解决,需要删除 yum.pid 文件,并重启yum服务后才可恢复正常,删除命令(rm -rf /var/run/yum.pid),重启yum服务命令(/sbin/service yum -updatesd restart)

你可能感兴趣的:(Linux)