LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-12-2005, 07:34 AM   #1
abk4523
Member
 
Registered: Jun 2004
Distribution: RH8/Fedora Core 4
Posts: 139

Rep: Reputation: 15
uninstalling software through rpm


I tried removing a software package using rpm -e but got a package not installed error. I then tried using the rpm -U option but was told the package was already installed. What am I doing wrong? I have Fedora core 4 running. Thanks in advance.
 
Old 11-12-2005, 08:14 AM   #2
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Rep: Reputation: 68
do a rpm -qa | grep 'packagename'
If it isn't installed , do a rpm -Uvh --force 'packagename' if you get a dependencies message you'll have to take care of that.

Jim
 
Old 11-12-2005, 11:12 AM   #3
abk4523
Member
 
Registered: Jun 2004
Distribution: RH8/Fedora Core 4
Posts: 139

Original Poster
Rep: Reputation: 15
Tried rpm -qa |grep "packagename', got nothing. Tried rpm -Uvh -force 'packagename', got an unknown option -force. Any other suggestions?

Last edited by abk4523; 11-12-2005 at 11:40 AM.
 
Old 11-12-2005, 11:36 AM   #4
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Rep: Reputation: 68
sorry about that .
rpm -Uvh --force 'packagename'

Jim
 
Old 11-12-2005, 02:28 PM   #5
brianthegreat
Member
 
Registered: Oct 2005
Posts: 518

Rep: Reputation: 32
I have noticed that Fedora is terrible regarding the "rpm -e" command. Did you try to uninstall the program via yum??
 
Old 11-12-2005, 04:11 PM   #6
abk4523
Member
 
Registered: Jun 2004
Distribution: RH8/Fedora Core 4
Posts: 139

Original Poster
Rep: Reputation: 15
I tried yum remove per your suggestion. Got a "no match for argument. no packages marked for removal" message.
 
Old 11-12-2005, 04:20 PM   #7
cape25
LQ Newbie
 
Registered: Nov 2005
Posts: 6

Rep: Reputation: 0
you might need to rebuild the rpm database using the command rpm --rebuilddb
 
Old 11-12-2005, 04:31 PM   #8
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
When you are doing "rpm -e" or "yum remove", make sure you are giving it the actual name of the package, and not the "whatever.rpm" file.
 
Old 11-12-2005, 06:12 PM   #9
brianthegreat
Member
 
Registered: Oct 2005
Posts: 518

Rep: Reputation: 32
You can try

rpm -e rpmpackage name*
or
yum remove rpmpackage name*

The "*" is a wild card.
 
  


Reply



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
Uninstalling software not in rpm format naveenu Fedora - Installation 1 10-03-2005 06:41 AM
rpm uninstalling dangerousdave Linux - Newbie 3 02-15-2005 06:04 PM
Uninstalling MySQL (not rpm) ridertech Linux - Software 3 05-11-2004 11:43 PM
uninstalling using rpm -e ako Linux - Newbie 1 03-26-2004 05:11 AM
*** uninstalling with rpm *** gary.chan Linux - Software 2 06-29-2003 02:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 01:31 AM.

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
Open Source Consulting | Domain Registration