Bootstrap

Linux使用yum安装出现Loaded plugins fastestmirror, langpacks

Linux使用yum安装出现Loaded plugins: fastestmirror, langpacks

[root@localhost ~]# yum install -y gcc-c++
Loaded plugins: fastestmirror, langpacks
Existing lock /var/run/yum.pid: another copy is running as pid 2800.
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory : 134 M RSS (559 MB VSZ)
    Started: Mon Jul 31 17:26:42 2023 - 00:32 ago
    State  : Sleeping, pid: 2800

解决办法

需要删除yum包,之后进行重启

rm -rf /var/run/yum.pid
/sbin/service yum-updatesd restart
;