Yum was lock Existing lock/var/run/yum.pid:another copy is running as PID 1580. Another app is currently holding the Yum lock; Waiting for it to Exi

Source: Internet
Author: User

[Email protected] bin]# yum-y install Lrzsz
Loaded Plugins:fastestmirror
Existing lock/var/run/yum.pid:another copy is running as PID 1580.
Another app is currently holding the Yum lock; Waiting for it to exit ...
The other application Is:yum
memory:37 M RSS (331 MB VSZ)
started:wed 23:05:35 2018-12:26 ago
state:traced/stopped, pid:1580
Another app is currently holding the Yum lock; Waiting for it to exit ...
The other application Is:yum
memory:37 M RSS (331 MB VSZ)
started:wed 23:05:35 2018-12:28 ago
state:traced/stopped, pid:1580
Another app is currently holding the Yum lock; Waiting for it to exit ...
The other application Is:yum

Executes rm-r/var/run/yum.pid prompts whether to delete input y

[Email protected] bin]# rm-r/var/run/yum.pid
Rm:remove regular file '/var/run/yum.pid '? Y
[Email protected] bin]#/sbin/service yum-updatesd restart
Yum-updatesd:unrecognized Service
[[Email protected] bin]# CD
[Email protected] ~]#/sbin/service yum-updatesd restart
Yum-updatesd:unrecognized Service
[Email protected] ~]# yum-y install Lrzsz
Loaded Plugins:fastestmirror
Setting up Install Process
Determining fastest Mirrors
Epel 12518/12518
Extras | 3.4 KB 00:00
extras/primary_db | KB 00:00
Updates

Yum was lock Existing lock/var/run/yum.pid:another copy is running as PID 1580. Another app is currently holding the Yum lock; Waiting for it to Exi

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.