Yum hint Another app is currently holding the Yum lock; Waiting for it to exit ...

Source: Internet
Author: User


Transferred from: http://blog.csdn.net/testcs_dn/article/details/48711805

Using Yum to install the Scheduled Tasks feature, the results are prompt:

# yum-y Install vixie-cronloaded plugins:fastestmirror, Refresh-packagekit, securityexisting Lock/var/run/yum.pid:ano Ther copy is running as PID 25960.Another app is currently holding the Yum lock; Waiting for it to exit ...

It may be that the system is automatically upgraded and Yum is in a locked state.
There is already a Yum process running, kill it with Kill:

# kill-s 9 25960# PS aux|grep yumroot      6744  0.0  0.0 103260   pts/1    s+   14:59   0:00 grep YUMRO OT     25960  0.0  0.0      0     0?        Z    Sep19   0:01 [yumbackend.py] <defunct

I'm sorry, kill can't deal with it.

You can disable the Yum process by forcing:

#rm-F/var/run/yum.pid

Then you can use Yum.

Yum hint Another app is currently holding the Yum lock; Waiting for it to exit ...

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.