RPM hell, how to remove source rpms?
I was trying to get a wireless card working, and installed a source rpm. It didn't work, and I want to try again, but I can not remove the rpm. From what I understand, rpm -e will not work, as it was installed via source. If I try rpm -e at76c503-rfmd, etc, I get "error: package at76c503-rfmd is not installed". I have searched high and low and can not find out how to remove the package. I am asking in here before I have to reinstall, but I would really like to know as I don't want to have to reinstall every time I want to remove a source package.
edit: RH 9.0 |
what was the SRPM package called?
what command did you use to install it? try rpm -qa | grep at76 to see how exactly your package is known to rpm. you could also try rpm -qa | less to scroll through the list of RPMs that are installed to see if you can recognise your package's name. You could also try rpm -qal if you wish to look through painfully long list of all files installed by RPM to see if you can recognize some file names. Once you know what files you're looking for, do a rpm -q --whatprovides <filename> to see which package installed that file. Of course you'd omit the "<" and ">" |
I ran rpm -qa | grep at76, and was returned at76c503a-cvs20030728-tnl. When I run rpm -q --whatprovides at76c503a-cvs20030728-tnl, it says "no package provides at76c503a-cvs20030728-tnl.
I think I may have accidentally deleted the source? I had a few variations of the driver on the machine and may have accidentally deleted the wrong one :( |
Quote:
Code:
rpm -ql at76c503a-cvs20030728-tnl Code:
rpm -e at76c503a-cvs20030728-tnl |
All times are GMT -5. The time now is 01:04 PM. |