As I said...syntax is not the issue. I have that down no problem and when I throw the -q option....it shows me the package(s). But uninstalling them was a different story....I would write rpm -e foobar with NO rpm extension and unfortunately never worked (on those two cases or so). As I said in the first post...it would tell me that the packages was never installed. I should have clarified a little more in the beginning.
once installed the rpm package will not be refered to by the filename. so, for instance, i have gqview installed on my machine that i installed from a file named gqview-2.0.0-1.i386.rpm. to install it i ran:
> rpm -i gqview-2.0.0-1.i386.rpm
if i want to remove the package, i cant do
> rpm -e gqview-2.0.0-1.i386.rpm
because that is not the package name, instead its just:
> rpm -e gqview
you can see if a package is installed by using the -q option.
>rpm -q gqview
Unfortunately there is no force flag that I see and f is:
You can force an install with -f, I'd have to look at the man page again to see if you can force a remove. But then again if your syntax is off it won't matter, since you can't force uninstall a package that your system doesn't think exists.
-f, --file FILE
Query package owning FILE.
That is what I have been doing...locating and deleting manually. I was just hoping for someone else experiencing this problem to help me find an easier way for a situation like this. Once again...I thank you all for the help.
that said, if you just want to remove the package from our computer, you could just delete all the files the rpm installs. you can find that with the -l option.
>rpm -qlp gqview-2.0.0-1.i386.rpm