Another app is currently holding yum lock

 时间:2026-02-15 01:15:51

1、问题分析:Another app is currently holding the yum lock. 意为另外一个应用正在锁住进程锁。waiting for it to exit.... 意为该应用等待解锁。此外,如图可以得知,yum的pid号为2724。

Another app is currently holding yum lock

2、方法①

kill  -9  2724执行上述命令即可,2724为系统报错的pid号

3、方法②

# kill -9 2724

the process could not be stopped

Second i attempt to kill all yum process

出现该进程无法被终止的情况,进而采用killall命令尝试

# killall -9 yum

still the process could not be stopped

若是通过以上两种方式都无法解决问题,那么采用以下命令

#rm -f /var/run/yum.pid 2724

随后执行更新

# yum -y update

最后确保yum-updatesd已经启动

#/etc/init.d/yum-updatesd status

# /etc/init.d/yum-updatesd start

  • 如何将虚拟机中的虚拟机鼠标切出来
  • 解决VMware 与Device/Credential Guard不兼容
  • Linux tty登录提示Login incorrect的解决方法
  • 怎样查看windows的CPU是arm架构还是x86架构?
  • 怎么设置SQL Server数据库用户权限
  • 热门搜索
    什么是石英表 公房是什么意思 ics是什么意思 领导谈话自己该说什么 抽风是什么意思 僚机是什么意思 中秋送什么 就业推荐表有什么用 碱性磷酸酶偏高是什么原因 炖羊肉放什么调料