yum命令用ctrl+z命令中断后,再运行yum时,出现:

Existing lock /var/run/yum.pid: another copy is running as pid 3046.
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...

解决方案:

rm -f /var/run/yum.pid/sbin/service yum-updatesd restartStopping yum-updatesd:                                     [ OK ]
Starting yum-updatesd:                                     [ OK ]

yum-updatesd上系统自带的一个提供系统更新的服务,安装文件也叫做yum-updatesd,这个服务默认是自动启动的(init 5),因为系统只允许一个更新进程在运行,所以他运行的时候会自动给yum加锁,这就导致了开机后不能手动进行yum了。

转载于:https://www.cnblogs.com/lzxianren/p/4254059.html

Centos Another app is currently holding the yum lock相关推荐

  1. centos在yum install报错:Another app is currently holding the yum lock解决方法

    centos在yum install报错:Another app is currently holding the yum lock解决方法 参考文章: (1)centos在yum install报错 ...

  2. another app is currently holding the yum lock;waiting for it to exit解决

    有时用yum升级一些文件时,会出现以下情况: another app is currently holding the yum lock;waiting for it to exit... 可以通过强 ...

  3. Another app is currently holding the yum lock; waitingn

    yum配置提示错误: [root@localhost yum.repos.d]# yum clean all Another app is currently holding the yum lock ...

  4. 解决Another app is currently holding the yum lock; waiting for it to exit...问题

    在下载安装lrzsz时出现Another app is currently holding the yum lock; waiting for it to exit...问题yum被锁定了可以使用 ` ...

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

    使用yum安装计划任务功能,结果提示: # yum -y install vixie-cron Loaded plugins: fastestmirror, refresh-packagekit, s ...

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

    使用yum安装计划任务功能,结果提示: # yum update Loaded plugins: fastestmirror, refresh-packagekit, security Existin ...

  7. 解决yum锁定Another app is currently holding the yum lock; waiting for it to exit...

    完整的报警如下: Another app is currently holding the yum lock; waiting for it to exit...The other applicati ...

  8. Linux工作笔记026---Centos7.3 yum提示Another app is currently holding the yum lock; waiting for it to exit.

    JAVA技术交流QQ群:170933152 这个问题是由于,上午通过堡垒机,装着,然后到饭点了,去吃饭, 吃饭回来,链接超时,然后装着的东西就卡在那了... 出现了这个问题 使用yum安装计划任务功能 ...

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

    有时用yum升级一些文件时,会出现以下情况: another app is currently holding the yum lock;waiting for it to exit... 可以通过强 ...

最新文章

  1. 2014/3/16 长沙多校(第三次)
  2. C++ leetcode 面试题64. 求1+2+…+n
  3. 初探AngularJS6.x---目录结构说明
  4. jq挑战30天——打字机效果+小程序
  5. 小牛地图矢量抓取工具_SEO优化网站sitemap需要注意哪些要点才能很好的被百度蜘蛛抓取...
  6. AI如何用特征、权重和避免过拟合等技术来分辨冬瓜和西瓜?
  7. 重要的气质-个性决定命运
  8. 加载geojson面数据_地理数据可视化
  9. 浅谈API测试与UI Auomation一点心得
  10. 企业级PHP发卡网源码,金发卡企业级发卡平台源码
  11. Logitech Control Center 3.9.8 特别版 Mac 罗技USB键盘和鼠标管理软件
  12. dart语言和PHP,如何以Dart语言完全转储/打印变量到控制台?
  13. 计算机网络设备的种类,计算机网络设备选型依据.ppt
  14. 中级财管电脑操作不会用计算机,很全面!2018年中级无纸化考试财管公式输入方法及计算器操作说明...
  15. 华为手机nova计算机怎么找过程,华为nova手机拆机全过程 华为nova真机拆解图解教程...
  16. Java基础之JDK 8下载、安装和环境变量配置
  17. 一个ONLYOFFICE编辑器的在线演示地址
  18. android手机图片和价格,安卓拍照手机强势推荐及报价【图文】
  19. 示坡线高程判断_【专题突破】等高线地形图的判读技巧
  20. UTC时间与北京时间

热门文章

  1. [LeetCode] 9. Palindrome Number
  2. 深入浅出学习Struts框架(九):分析Struts框架实例4
  3. sqlite数据类型、关键词及创建、修改、删除数据表
  4. 深入浅出之正则表达式(一)
  5. Impala架构和工作原理
  6. 第四章:Spring AOP
  7. React Native 第六天
  8. 手把手教你从零构建属于自己的小linux
  9. 关于iPhone 中sqlite文件的使用
  10. 使用Django搭建web服务器(最最正确的方式)