YUM _sqlite.OperationalError: database is locked
April 15th, 2008 | by sour |Firstly I state, I dislike yum, and i dislike Fedora, unfortunately sometimes we must deal with such crappy file package managers..
back to the point, yum is coming up with a random error stating that it cannot install your package because sqlite is blocked.
You’re thrown with a heap of uncaught python exceptions and the final error message is:
_sqlite.OperationalError: database is locked
I’ve had a quick look on google but couldn’t find anything helpful, one stated to start NFSLock, and the other was some other random blurb, my solution was this,
rm -rf /var/cache/yum
there that should do it..
I suspect that the cause of this was because i kill -9′ed the yum process, and it had not closed the sqlite database correctly.
Del.icio.us
Digg
Technorati
Blinklist
Furl
Reddit