RPM failed: error: can’t create transaction lock on /var/lib/rpm/__db.000

Wednesday, September 15, 2010 2:06 AM Posted by naz

  • Solution 1: 
    • Always be su (root) when you install rpm.
  • Solution 2:   
    • rm -f /var/lib/rpm/__db.0*
    • rpm --rebuildd
    • The first command clears out any of the files that will lock an RPM from running
    • The second command rebuilds the RPM database.

Comments (0)

Post a Comment