---
title: "another app is currently holding the yum lock;waiting for it to exit"
author: "Charles+java"
date: "2013-01-27T13:04:39Z"
tags: []
categories: ["操作系统"]
slug: "another-app-is-currently-holding-the-yum-lock-waiting-for-it-to-exit"
draft: false
lastmod: "2013-01-27T13:04:39Z"
id: 1776308
url: "https://doing.iteye.com/blog/1776308"
---

## 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...  
可以通过强制关掉yum进程：  
#rm -f /var/run/yum.pid  
然后就可以使用yum了。