Solve yum lock in centos

Source: Internet
Author: User

Solve yum lock in centos

Http://www.cnblogs.com/tippoint/archive/2010/09/19/1831126.html

A bunch of errors were reported during yum install under centos5.5, as shown below:


Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory: 38 m rss (37 mb vsz)
Started: Sta Jul 24 16:28:58 2010-1:37:07 ago
State: Sleeping, pid: 13020

It seems that a process is executing yum, so it adopts the conventional processing method.

1. Logout: The result is invalid.

2. Restart: Invalid

3. VM restart: Invalid or not

This is really strange. It seems that linux and windows are different, so I checked some information and found that there was still this process during system initialization.

Solution:


Rm-f/var/run/yum. pid
/Sbin/service yum-updatesd restart
Stopping yum-updatesd: [OK]
Starting yum-updatesd: [OK]
In addition, it is said that/sbin/service yum-updatesd stop is not used because update is disabled but the process still exists when the system is started.

Related Article

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.