A tool that verifies your installed packages and reinstalls them if there is any problems.
I plan do add duplicate package fixing to this tool the next time I get that problem.
You should turn yum automatic updates of while running his utillity. It calls rpm and yum in batches so automatic updates may be able to grab the lock.
Requres rpm, yum, bash and Java 8 set as default java.