LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-23-2011, 05:48 PM   #1
linux_us
LQ Newbie
 
Registered: Jan 2010
Posts: 19

Rep: Reputation: 0
How to list the removed rpm packages used by "rpm -e"


OS: RHEL / CentOS
If I use "yum" to add / erase packages, OS will log the info to file /var/log/yum.log.

But if use "rpm -e" to remove a package, there is no related log file to show which rpm package got earsed. I have to run "rpm -qa > /tmp/$TIME", and then diff the /tmp/$TIME file to get the difference.

Is there is command to show the erased packages (erased by using rpm -e)?
 
Old 06-23-2011, 06:11 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,361

Rep: Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569
this is why yum is used
and why rpm is used as a last resort
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Do i need "RPM Packages" or "SuSe Source code packages" Donati Linux - Software 3 03-19-2009 07:32 PM
need a list of every installed RPM beginning with the letter "j" me210 Linux - Software 2 01-17-2007 10:59 AM
"Bad signature" in many rpm packages cpbl Mandriva 5 10-23-2006 06:50 PM
Where to download rpm packages of "gocr" and "kooka" satimis Linux - Software 6 02-23-2006 11:35 PM
How to tell rpm of "installed from source" packages hfreeman Linux - Software 2 07-28-2004 01:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:41 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration