CENTOS7小注意

时间:2023-09-01 19:00:56

由于第一次使用 Linux CENTOS ,所以安装了图形界面,但是在终端执行yum 安装的时候,总是提示

Existing lock /var/run/yum.pid: another copy is running as pid 5758

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

The other application is : PackageKit

从网上看到了这个, 修改一下

/etc/yum/pluginconf.d/refresh-packagekit.conf ,enable = 0

如果没有,就新建一个就好

然后重启就没事了