Another app is currently holding the yum lock解決方法
用yum安裝包有時候會提示
```
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 128 M RSS (439 MB VSZ)
Started: Fri Aug 28 08:08:31 2015 - 48:25 ago
State : Sleeping, pid: 3462
```
解決方法:
```
rm -f /var/run/yum.pid
```
然後重新執行yum就可以了
永久禁止該錯誤
```
[root@oracle pluginconf.d]# cd /etc/yum/pluginconf.d/
[root@oracle pluginconf.d]# ls
product-id.conf refresh-packagekit.conf rhnplugin.conf security.conf subscription-manager.conf
[root@oracle pluginconf.d]# vim refresh-packagekit.conf
[main]
enabled=0 --將原來的1改成0即可
```
```
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 128 M RSS (439 MB VSZ)
Started: Fri Aug 28 08:08:31 2015 - 48:25 ago
State : Sleeping, pid: 3462
```
解決方法:
```
rm -f /var/run/yum.pid
```
然後重新執行yum就可以了
永久禁止該錯誤
```
[root@oracle pluginconf.d]# cd /etc/yum/pluginconf.d/
[root@oracle pluginconf.d]# ls
product-id.conf refresh-packagekit.conf rhnplugin.conf security.conf subscription-manager.conf
[root@oracle pluginconf.d]# vim refresh-packagekit.conf
[main]
enabled=0 --將原來的1改成0即可
```
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29812844/viewspace-1988770/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Another app is currently holding the yum lock; waiting for it to exit...APPAI
- yum 提示 Another App is currently holding the yum lock; waiting for it to exit...APPAI
- Another app is currently holding the yum lock; waiting for it to exit...另一個應用程式在佔用yum lock,等待其退出。APPAI
- ## yum提示Another app is currently holding the yum lock; waiting for it to exit... 這是因為有另一個yum程式正在執行APPAI
- yum命令遇到holding 的lock程式 解決辦法
- yum [Errno 256] No more mirrors to try 解決方法
- How to Find which Session is Holding a Particular Library Cache LockSession
- 《Usermod:user lee is currently logged in 家目錄不能改變解決方法》
- CentOS 7 yum 無法下載的解決方法CentOS
- yum問題解決
- redis 報Operation against a key holding the wrong kind of value警告的解決方法RedisAI
- Find which Session is Holding a Particular Library Cache Lock_122793.1Session
- Linux yum提示Loaded plugins錯誤的解決方法LinuxPlugin
- Log actively being archived by another process問題解決Hive
- 定位Library Cache pin,Library Cache lock等待的解決方法
- Centos8.x yum 源配置 解決 yum 不可用CentOS
- 解決yum [Errno 256] No more mirrors to try
- ubuntu解決Could not get lock /var/lib/dpkg/lock-frontendUbuntu
- 小知識:CentOS配置yum源/解決yum源失效問題CentOS
- hanganalyze解決row cache lock(ZT)
- This system is not registered with RHN 解決方案(附表:配置yum)
- iOS”ThesandboxisnotinsyncwiththePodfile.lock”解決方案iOS
- 轉)用hanganalyze解決row cache lock
- innodb_lock_monitor解決mysql死鎖MySql
- (轉)用hanganalyze解決row cache lock
- 解決 yum clean all Error rpmdb open failedErrorAI
- 解決Ubuntu報錯 E: Unable to locate package yumUbuntuPackage
- 解決Centos無法yum源的問題CentOS
- Mac App Store總提示更新Twitter的解決方法MacAPP
- node app.js不起作用的解決方法APPJS
- linux輸入yum後提示: -bash: /usr/bin/yum: No such file or directory的解決方案Linux
- The sandbox is not in sync with the Podfile.lock解決辦法
- library cache pin/lock的解決辦法
- 轉貼_用hanganalyze解決row cache lock
- LOCK_NAME_SPACE 引數解決的使用
- 用hanganalyze解決row cache lock(轉貼)
- 羅技鍵盤 Caps Lock 鍵 bug 解決
- yum詳解