服务器有这个报错,如下所示:
The other application is: PackageKit Memory : 57 M RSS (364 MB VSZ) Started: Thu Jun 14 05:54:44 2018 - 1:34:18 ago State : Sleeping, pid: 35182 Another app is currently holding the yum lock; waiting for it to exit... The other application is: PackageKit Memory : 57 M RSS (364 MB VSZ) Started: Thu Jun 14 05:54:44 2018 - 1:34:20 ago State : Sleeping, pid: 35182 Another app is currently holding the yum lock; waiting for it to exit...
然后运行命令:
rm -f /var/run/yum.pid
问题得到解决