Fix : rpmdb: unable to lock mutex: Invalid argument

If you are getting this message printed out repeatedly on the terminal screen while trying to install some packages using yum
 
# rpmdb: unable to lock mutex: Invalid argument
 
yum -y update glibc ( This works sometimes )
 
If that doesn not work then execute below command 
 
rpmdb --rebuilddb -vv

No comments: