Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Distribution: Red Hat, Fedora, Yellow Dog, Debian, FreeBSD, Embedix
Posts: 106
Rep:
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
Distribution: Red Hat, Fedora, Yellow Dog, Debian, FreeBSD, Embedix
Posts: 106
Rep:
Quote:
Originally posted by baudchaser 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
This might be correct. Try rpm --help | less to learn what exactly -qa and --whatprovides do. You seem to have a package called at76c503a-cvs20030728-tnl.rpm installed, that does not contain a file at76c503a-cvs20030728-tnl. For your own info try
Code:
rpm -ql at76c503a-cvs20030728-tnl
to see what files got actually installed by at76c503a-cvs20030728-tnl.rpm package and
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.