Troubleshooting Linux appears as follows error: Another app is currently holding the Yum lock;

Source: Internet
Author: User

[email protected] network-scripts]# Yum install vim

Loaded Plugins:fastestmirror

Existing lock/var/run/yum.pid:another copy is running as PID 2503.

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

The other application Is:yum

Memory:19 M RSS (306 MB VSZ)

Started:thu Oct 23:03:02 2015-04:00 ago

state:traced/stopped, pid:2503

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

The other application Is:yum

Memory:19 M RSS (306 MB VSZ)

Started:thu Oct 23:03:02 2015-04:02 ago

state:traced/stopped, pid:2503

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

The other application Is:yum

Memory:19 M RSS (306 MB VSZ)

Started:thu Oct 23:03:02 2015-04:04 ago

state:traced/stopped, pid:2503

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

The other application Is:yum

Memory:19 M RSS (306 MB VSZ)

Started:thu Oct 23:03:02 2015-04:06 ago

state:traced/stopped, pid:2503

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

The other application Is:yum

Memory:19 M RSS (306 MB VSZ)

Started:thu Oct 23:03:02 2015-04:08 ago

state:traced/stopped, pid:2503

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

The other application Is:yum

Memory:19 M RSS (306 MB VSZ)

Started:thu Oct 23:03:02 2015-04:10 ago

state:traced/stopped, pid:2503

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

The other application Is:yum

Memory:19 M RSS (306 MB VSZ)

Started:thu Oct 23:03:02 2015-04:12 ago

state:traced/stopped, pid:2503






Workaround:

Rm-rf/var/run/yum.pid to forcibly unlock, then you can use your Yum as usual.











This article is from the "Breght Moon" blog, make sure to keep this source http://liqingbiao.blog.51cto.com/3044896/1707723

Troubleshooting Linux appears as follows error: Another app is currently holding the Yum lock;

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.