方法一:

# ps aux | grep yum

# kill -9 pid


方法二:可以通过执行rm -rf /var/run/yum.pid 来强行解除锁定,然后你的yum就可以运行了

 

解释: 

[root@localhost wangcheng]# yum list

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

Another app is currently holding the yum lock; waiting for it to exit...

字面意思是说另外一个程序给yum加了锁,要等到 该 程序退出以后才可以进行。

 

转自: http://huyuedong.blog.51cto.com/4705586/907438

相关文章:

  • 2021-06-21
  • 2022-12-23
  • 2021-08-17
  • 2021-08-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-17
猜你喜欢
  • 2021-10-03
  • 2021-05-01
  • 2021-05-27
  • 2021-10-26
  • 2022-12-23
  • 2022-01-03
  • 2021-04-23
相关资源
相似解决方案