rm -f /var/lib/rpm/__db.0*
rpm --rebuilddb
The first command clears out any of the files that will lock an RPM from running. The second command rebuilds the RPM database.
Then I was able to install Webmin 1.470 from the RPM that I had downloaded with:
rpm -Uhv /Storage/rpmDownloads/webmin-1.470-1.noarch.rpm
2 comments:
OK. Thanks.. after too much time trying to guess what the hell happened with yum (fedora)/rpm you gave the answer
I have the following error that wasnt fixed by doing that. The diference is the no such file thing
error: can't create transaction lock on /var/lib/rpm/__db.000 (No such file or directory)
Post a Comment