Another app is currently holding the yum lock; waiting for it to exit...
1.1 Another app is currently holding the yum lock; waiting for it to exit...
有時用yum安裝docker或者升級時,會出現以下情況:
1.1.1 現象
[root@dockerserver2 ~]# yum install docker
Loaded plugins: fastestmirror, langpacks
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
Existing lock /var/run/yum.pid: another copy is running as pid 4279.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 132 M RSS (1.0 GB VSZ)
Started: Mon Sep 26 06:27:37 2016 - 04:18 ago
State : Sleeping, pid: 4279
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 132 M RSS (1.0 GB VSZ)
Started: Mon Sep 26 06:27:37 2016 - 04:20 ago
State : Sleeping, pid: 4279
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 132 M RSS (1.0 GB VSZ)
Started: Mon Sep 26 06:27:37 2016 - 04:22 ago
State : Sleeping, pid: 4279
1.1.2 處理辦法
可以透過強制關掉yum程式來解決處理
rm -f /var/run/yum.pid
1.1.3 具體過程
刪除後,安裝正常操作
Exiting on user cancel.
[root@dockerserver2 ~]# rm -f /var/run/yum.pid
[root@dockerserver2 ~]# yum install docker
Loaded plugins: fastestmirror, langpacks
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
base | 3.6 kB 00:00:00
extras | 3.4 kB 00:00:00
updates | 3.4 kB 00:00:00
(1/2): extras/7/x86_64/primary_db | 165 kB 00:00:00
(2/2): updates/7/x86_64/primary_db | 7.8 MB 00:00:02
Loading mirror speeds from cached hostfile
* base: mirrors.tuna.tsinghua.edu.cn
* extras: mirrors.btte.net
* updates: mirrors.neusoft.edu.cn
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24179204/viewspace-2125618/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 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
- Another app is currently holding the yum lock解決方法APP
- ## yum提示Another app is currently holding the yum lock; waiting for it to exit... 這是因為有另一個yum程式正在執行APPAI
- yum命令遇到holding 的lock程式 解決辦法
- 當匯入flutter專案時,報Waiting for another flutter command to release the startup lockFlutterAI
- Waiting for table metadata lockAI
- How to Find which Session is Holding a Particular Library Cache LockSession
- MySQL5.7 Waiting for global read lockMySqlAI
- create table if not exists Waiting for table metadata lockAI
- MySQL新增索引偶遇waiting for table metadata lockMySql索引AI
- MySQL DDL Waiting for table metadata lock 解決MySqlAI
- Find which Session is Holding a Particular Library Cache Lock_122793.1Session
- ORA-04021: timeout occurred while waiting to lock objectWhileAIObject
- ORA-04021,timeout occurred while waiting to lock objectWhileAIObject
- MySQL:簡單記錄一下Waiting for commit lockMySqlAIMIT
- ORA-02049: timeout: distributed transaction waiting for lockAI
- List of currently operational QOTD serversServer
- 安卓APP開發日記1——名為Another的日記APP開發安卓APP
- Yet Another Problem
- Another Intro for CookiesCookie
- stylus , another css processorCSS
- Another article published by apiAPI
- pipe stderr into another process
- Another Intro for HTTP CacheHTTP
- Yet Another Intro for SymbolSymbol
- Yet Another Permutation ConstructiveStruct
- [Oracle] Append hint(insert sql) will lead a TM LOCKOracleAPPSQL
- 奇怪的All threads (200) are currently busythread
- Right here waitingAI
- yum install yum-fastestmirrorAST
- A - Yet Another Two Integers Problem ACMACM
- Yet Another Intro to Event LoopOOP
- Yet another intro for localStorage and sessionStorageSession
- Q2b:Another FSM
- linux 中 yum makecache 、yum update、yum upgrade的作用Linux
- How To Know If An Object (Table / Procedure / View /…) Is Currently BeingObjectView
- RMAN progress and what it is waiting for scriptsAI