rpm rebuilddb error

hi there,
when i try to run rpm --rebuilddb in the Trustix command prompt, it pops the following error:

error: failed to replace old database with new database!
error: replace files in /var/lib/rpm with files from /var/lib/rpmrebuilddb.16596 to recovererror: failed to remove directory /var/lib/rpmrebuilddb.16596: Directory not empty


Can anyone tell me how to fix this problem?

 

 

 

 

Top