安装rpm包时出现以下错误,请帮忙,谢谢

安装rpm包时出现以下错误,请帮忙,谢谢

$ rpm -ivh MySQL-4.0.1-2.i386.rpm
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm


我是Linux初学者,请大家帮忙,谢谢
以root身份安装