When installing St-load, the terminal tip "/var/run/yum.pid is locked and another program with PID 13908 is running. ”
Workaround: Run Rm-f/var/run/yum.pid directly at the terminal to delete the file and run Yum again.
The following prompt appears:
[[email protected] ~]# yum install git unzip patch gcc gcc-c++ make
Loaded plugins: Fastestmirror, LangPacks
/var/run/yum.pid is locked and another program with PID 13908 is running.
Another app is currently holding the Yum lock; Waiting for it to exit ...
Another application is: PackageKit
Memory: 184 M RSS (1.5 GB VSZ)
Started: Wed Sep 7 09:21:27 2016-14:57
Status: Sleep, Process id:13908
Another app is currently holding the Yum lock; Waiting for it to exit ...
Another application is: PackageKit
Memory: 184 M RSS (1.5 GB VSZ)
Started: Wed Sep 7 09:21:27 2016-14:59
Status: Sleep, Process id:13908
Another app is currently holding the Yum lock; Waiting for it to exit ...
Another application is: PackageKit
Memory: 184 M RSS (1.5 GB VSZ)
Started: Wed Sep 7 09:21:27 2016-15:01
Status: Sleep, Process id:13908
Another app is currently holding the Yum lock; Waiting for it to exit ...
Another application is: PackageKit
Memory: 184 M RSS (1.5 GB VSZ)
Started: Wed Sep 7 09:21:27 2016-15:03
Status: Sleep, Process id:13908
Another app is currently holding the Yum lock; Waiting for it to exit ...
Another application is: PackageKit
Memory: 184 M RSS (1.5 GB VSZ)
Started: Wed Sep 7 09:21:27 2016-15:05
Status: Sleep, Process id:13908
Another app is currently holding the Yum lock; Waiting for it to exit ...
Another application is: PackageKit
Memory: 184 M RSS (1.5 GB VSZ)
Started: Wed Sep 7 09:21:27 2016-15:07
Status: Sleep, Process id:13908
Another app is currently holding the Yum lock; Waiting for it to exit ...
Another application is: PackageKit
Memory: 184 M RSS (1.5 GB VSZ)
Started: Wed Sep 7 09:21:27 2016-15:09
Status: Running, Process id:13908
Another app is currently holding the Yum lock; Waiting for it to exit ...
Another application is: PackageKit
Memory: 184 M RSS (1.5 GB VSZ)
Started: Wed Sep 7 09:21:27 2016-15:11
Status: Sleep, Process id:13908
Another app is currently holding the Yum lock; Waiting for it to exit ...
Another application is: PackageKit
Memory: 184 M RSS (1.5 GB VSZ)
Started: Wed Sep 7 09:21:27 2016-15:13
Status: Sleep, Process id:13908
Another app is currently holding the Yum lock; Waiting for it to exit ...
Another application is: PackageKit
Memory: 184 M RSS (1.5 GB VSZ)
Started: Wed Sep 7 09:21:27 2016-15:15
Status: Running, Process id:13908
Another app is currently holding the Yum lock; Waiting for it to exit ...
Another application is: PackageKit
Memory: 184 M RSS (1.5 GB VSZ)
Started: Wed Sep 7 09:21:27 2016-15:17
Status: Sleep, Process id:13908
Another app is currently holding the Yum lock; Waiting for it to exit ...
Another application is: PackageKit
Memory: 184 M RSS (1.5 GB VSZ)
Started: Wed Sep 7 09:21:27 2016-15:19
Status: Sleep, Process id:13908
Another app is currently holding the Yum lock; Waiting for it to exit ...
Another application is: PackageKit
Memory: 184 M RSS (1.5 GB VSZ)
Started: Wed Sep 7 09:21:27 2016-15:21
Status: Sleep, Process id:13908
Another app is currently holding the Yum lock; Waiting for it to exit ...
Another application is: PackageKit
Memory: 184 M RSS (1.5 GB VSZ)
Started: Wed Sep 7 09:21:27 2016-15:23
Status: Sleep, Process id:13908
Another app is currently holding the Yum lock; Waiting for it to exit ...
Another application is: PackageKit
Memory: 184 M RSS (1.5 GB VSZ)
Started: Wed Sep 7 09:21:27 2016-15:25
Status: Sleep, Process id:13908
Another app is currently holding the Yum lock; Waiting for it to exit ...
Another application is: PackageKit
Memory: 184 M RSS (1.5 GB VSZ)
Started: Wed Sep 7 09:21:27 2016-15:27
Status: Sleep, Process id:13908
Another app is currently holding the Yum lock; Waiting for it to exit ...
Another application is: PackageKit
Memory: 184 M RSS (1.5 GB VSZ)
Started: Wed Sep 7 09:21:27 2016-15:29
Status: Sleep, Process id:13908
Another app is currently holding the Yum lock; Waiting for it to exit ...
Another application is: PackageKit
Memory: 184 M RSS (1.5 GB VSZ)
Started: Wed Sep 7 09:21:27 2016-15:31
Status: Sleep, Process id:13908
Another app is currently holding the Yum lock; Waiting for it to exit ...
Another application is: PackageKit
Memory: 184 M RSS (1.5 GB VSZ)
Started: Wed Sep 7 09:21:27 2016-15:33
Status: Sleep, Process id:13908
Another app is currently holding the Yum lock; Waiting for it to exit ...
Another application is: PackageKit
Memory: 184 M RSS (1.5 GB VSZ)
Started: Wed Sep 7 09:21:27 2016-15:35
Status: Sleep, Process id:13908
Another app is currently holding the Yum lock; Waiting for it to exit ...
Another application is: PackageKit
Memory: 184 M RSS (1.5 GB VSZ)
Started: Wed Sep 7 09:21:27 2016-15:37
Status: Sleep, Process id:13908
The/var/run/yum.pid is locked, and another program with a PID of XXXX is running.