yum 被锁定 现象如下
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Existing lock /var/run/yum.pid: another copy is running as pid 9166.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is:
Memory : 25 M RSS ( 36 MB VSZ)
Started: Wed Jun 6 16:59:34 2012 - 00:04 ago
State : Uninteruptable, pid: 9166
.............................
.............................
解决方法1. rm -rf /var/run/yum.pid
直接删除pid文件也是可以的
解决方法2. service yum-updatesd stop
这样也是可以的
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Existing lock /var/run/yum.pid: another copy is running as pid 9166.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is:
Memory : 25 M RSS ( 36 MB VSZ)
Started: Wed Jun 6 16:59:34 2012 - 00:04 ago
State : Uninteruptable, pid: 9166
.............................
.............................
解决方法1. rm -rf /var/run/yum.pid
直接删除pid文件也是可以的
解决方法2. service yum-updatesd stop
这样也是可以的