Wednesday, January 16, 2013

Resolve yum lock

Purpose: Basic steps to release yum lock, when error “Another app is currently holding the yum lock” exists.

If you are sure you are not still running another yum install or update, you can get past this error by one of the following steps.

First try to just clean and rebuild the yum repository.
yum clean all

If cleaning the yum repository does not work you may need to kill the process that currently has yum locked.
sudo kill $(cat /var/run/yum.pid)
killall –9 safe_yum
yum clean all

Technorati Tags: