[yum] Solution for 'Another app is currently holding the yum lock'

Tadashi Shigeoka ·  Sun, September 4, 2011

On CentOS 5.6, when I tried to use yum, I got an error and couldn’t use it. I researched the solution, so here’s a memo.

■ Error Content

Another app is currently holding the yum lock

■ Solution

This happens when yum processes are running in the background. Use # ps aux | grep yum to identify the PID where yum is running and kill it, then yum will become usable.

・Reference:What is “Another app is currently holding the yum lock” - [yum/Linux [Red Hat etc.]] Pentan info

By the way, I referenced the following site for yum command list.

@IT:Frequently Used yum Commands

That’s all from the Gemba.