The/var/run/yum.pid is locked, and another program with a PID of XXXX is running.

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.