I have this problem from quite sometime. I have tried many things but in vain.
When i install a rpm package, i use rpm -Uvh xyz.rpm
(i use U instead of i, coz both install anyways) and it gets installed properly (lets assume that there were no dependency failures)
When i want to remove a package, ie..when i try rpm -e --allmatches --nodeps xyz.rpm
i get the following error
error: package xyz.rpm is not installed
Since it said that the package was not installed, i tried rpm -Uvh xyz.rpm
, it says package already installed.
I tried with rpm -iv xyz.rpm
, says package already installed.
I know that there is a fundamental problem in the way i use these commands, but i am not able to figure out what is wrong
. I am not able to erase any package that i have installed.
When i use the '--force' option while installing, upgrading it works, as in, it gets installed
I appreciate any suggestion