LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 02-06-2004, 01:09 PM   #1
baudchaser
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Rep: Reputation: 0
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
 
Old 02-06-2004, 01:48 PM   #2
artur
Member
 
Registered: Apr 2002
Location: Illinois, US
Distribution: Red Hat, Fedora, Yellow Dog, Debian, FreeBSD, Embedix
Posts: 106

Rep: Reputation: 15
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 ">"
 
Old 02-09-2004, 04:32 PM   #3
baudchaser
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
Old 02-13-2004, 10:16 AM   #4
artur
Member
 
Registered: Apr 2002
Location: Illinois, US
Distribution: Red Hat, Fedora, Yellow Dog, Debian, FreeBSD, Embedix
Posts: 106

Rep: Reputation: 15
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
Code:
rpm -e at76c503a-cvs20030728-tnl
to remove it
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
core 3, where the hell is the kernel source rpm ? Biased turkey Fedora - Installation 2 02-18-2005 08:39 AM
installing anjuta, depenency hell, rpms, debs on slack? flipper333 Slackware 11 01-13-2004 04:51 PM
Remove RPMs? xperience Linux - Newbie 2 12-12-2003 11:04 AM
Installing from Source Rpms(*.src.rpm) elluva Linux - Newbie 6 10-15-2003 05:32 PM
how the hell do you remove kaffe and java 1.1 chingasman Linux - General 3 02-20-2003 08:27 PM


All times are GMT -5. The time now is 08:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration