Yum lock: Centos7

when trying to install or update with yum i get the error "Another app is currently holding the yum lock"

That means another program is using yum, probably the software updater program. it should give you a id number in () that is the process that is holding yum, you can kill that number if you like.

so say that it says

error: Another app is currently holding the yum lock (1234)

you can do "kill 1234"

then you can do your yum command again.

1 Like