LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 11-10-2011, 06:14 PM   #1
HarryBoy
Member
 
Registered: Apr 2008
Distribution: MontaVista Linux Version 4.0.1, Professional Edition
Posts: 215

Rep: Reputation: 16
remove rpm files using yum


In fedora I was installing eclipse using
yum install eclipse.

I had to stop the download halfway through as I had to leave.

Now I want to remove these by doing:
yum remove eclipse
Loaded plugins: refresh-packagekit
Setting up Remove Process
No Match for argument: eclipse
No Packages marked for removal

How do I remove these files using yum?

Or do I have to manually searh for them and delete them one by one??

Anyway, when I search for what packages were downloaded I get:
find / -name *eclipse*
/var/cache/yum/fedora/packages/eclipse-ecj-3.4.1-5.fc10.i386.rpm
/var/cache/yum/fedora/packages/eclipse-platform-3.4.1-5.fc10.i386.rpm
/var/cache/yum/fedora/packages/eclipse-rcp-3.4.1-5.fc10.i386.rpm
/var/cache/yum/fedora/packages/eclipse-jdt-3.4.1-5.fc10.i386.rpm
/var/cache/yum/fedora/packages/eclipse-pde-3.4.1-5.fc10.i386.rpm
 
Old 11-10-2011, 06:45 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,534
Blog Entries: 51

Rep: Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601
Quote:
Originally Posted by HarryBoy View Post
I had to stop the download halfway through as I had to leave.
Grepping syslog should show which packages were installed?


Quote:
Originally Posted by HarryBoy View Post
Anyway, when I search for what packages were downloaded I get: (..)
/var/cache/yum/fedora/packages/eclipse-pde-3.4.1-5.fc10.i386.rpm
What does 'rpm -qa --qf="%{NAME}\n"| grep -i eclipse' return?
 
Old 11-10-2011, 07:05 PM   #3
HarryBoy
Member
 
Registered: Apr 2008
Distribution: MontaVista Linux Version 4.0.1, Professional Edition
Posts: 215

Original Poster
Rep: Reputation: 16
Thanks for the reply.

The command rpm -qa --qf="%{NAME}\n"| grep -i eclipse
does not return anything.
 
Old 11-10-2011, 07:21 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,534
Blog Entries: 51

Rep: Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601
Then it isn't installed.
 
Old 11-10-2011, 10:07 PM   #5
inoculos
Member
 
Registered: Apr 2009
Location: Seattle
Distribution: Arch, Crunchbang, Fedora
Posts: 38

Rep: Reputation: 6
if you want to delete the remaining files you have to do it manually. use wild cards to save typing. something like

rm /var/cache/yum/fedora/packages/eclipse*

then update you data base and search for more. the locate and updatedb commands will be useful to you/
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
# yum remove dbus - trying to remove the whole system... atnonis Fedora 4 11-23-2007 06:31 AM
can rpm remove config files during uninstall? drokmed Linux - Software 1 03-15-2007 04:59 AM
yum remove rpm --> how to reinstall rpm npubudu Linux - Software 5 01-25-2007 08:08 AM
rpm -e & yum -remove. Easy questions. rickh Fedora 10 12-26-2005 10:46 AM
yum version yum-2.0.5-0.9.2.legacy.noarch.rpm master Red Hat 6 05-13-2005 03:03 PM


All times are GMT -5. The time now is 10:15 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration