Hi, I'm trying to uninstall Amsn using rpm -e amsn and I'm getting this error:
error: cannot open lock file ///var/lib/rpm/RPMLOCK in exclusive mode
error: cannot open Packages database in /var/lib/rpm
Does anyone know what this means ?
Printable View
Hi, I'm trying to uninstall Amsn using rpm -e amsn and I'm getting this error:
error: cannot open lock file ///var/lib/rpm/RPMLOCK in exclusive mode
error: cannot open Packages database in /var/lib/rpm
Does anyone know what this means ?
Are you trying to uninstall it as root?
Yep...
Perhaps your database is messed up, try
Code:rpm --rebuilddb
That worked, thanks!