Remove a RPM entry from RPM database
I wrestled with an old install DELL Open Manage agent all morning today. Unable to remove the old rpms (scriptlet error, missing files) and these entries were also causing new agent install to fail. I attempted to use various switches such as “–force”, “–nodeps”, none of them worked. Finally found a way to remove the rpm entries from database, and installation went smoothly after that.
rpm -e --justdb sample.rpm
Category: Linux / SysAdmin