Problem
I was trying to have the yum cache on a lustre mount so it could be shared amongst several machines to save on external bandwidth, but got the message that
_sqlite.OperationalError: database is locked
It also happens with an nfs mounted directory.