Centos:別のアプリが現在yumロックを保持しています。それが終了するのを待っています...



Centos Another App Is Currently Holding Yum Lock



Another app is currently holding the yum lock waiting for it to exit... Another application is: PackageKit Memory: 27 M RSS (1.4 GB VSZ) Started: Sat Oct 8 10:49:10 2016 - before 01:35 Status: sleep, a process ID: 2637 Another app is currently holding the yum lock waiting for it to exit... Another application is: PackageKit Memory: 27 M RSS (1.4 GB VSZ) Started: Sat Oct 8 10:49:10 2016 - before 01:37 Status: sleep, a process ID: 2637 Another app is currently holding the yum lock waiting for it to exit... Another application is: PackageKit Memory: 27 M RSS (1.4 GB VSZ) Started: Sat Oct 8 10:49:10 2016 - before 01:39 Status: sleep, a process ID: 2637

解決:

rm -rf /var/run/yum.pid to forcibly unlock, then you can run the yum