LinuxQuestions.org
Latest LQ Deal: Linux Power User 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 03-24-2007, 05:45 AM   #1
paul123
Member
 
Registered: Nov 2006
Location: UK
Distribution: Mandriva 2007
Posts: 93

Rep: Reputation: 15
Question Uninstalling a software problem - rpm's


I recently added several rpm packages to my Linux Mandriva 2007, plugins, mozzplugger, supporting files etc. I havent got a record of everything urpmi loaded but I did do it all on the same day.

Is it possible to find out from a log all that was loaded that day? If so what log?

Basically something I have loaded has trashed all browsers and any attempt at running say an mp3 online crashes the browser. Opening my browser from my email even crashes mozilla.

I just need to uninstall all the rpm packages that were added on that date but I dont know what they all were.

errr.... I need the windoz equivalent of system roll back.

Or can you find all files installed on a specific date and delete them?
 
Old 03-24-2007, 07:34 AM   #2
bdox
Member
 
Registered: Feb 2005
Location: SoL iii
Distribution: Mandriva 2007
Posts: 110

Rep: Reputation: 15
Lightbulb

Code:
rpm -qa --last
That command gives the list of all packages installed ordered by install time such that the latest packages are at the top.
 
Old 03-24-2007, 08:14 PM   #3
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Quote:
Or can you find all files installed on a specific date and delete them?
Whatever you do, do not delete files installed by rpm. Use "rpm -e packagename" or better yet "urpme packagename". Urpm removes a package and all dependencies packages, keeping your system in tip top shape. RPM with erase option (-e) removes a specific package, if it is a dependency for another package, it will not remove it, again, keeping your system in tip top shape.
If you go around deleting individual files like Windows makes it easy for you to do, your system will have major problems (like Windows eventually is because of peoples bad habits). Then you'll turn around, cuss and swear, and run down Linux because of your own mistakes. You're Mandriva will do as you want, as long as you do as you should. Coming here and asking questions is a good practice along with research before doing what you do in Windows.
 
Old 03-25-2007, 09:27 AM   #4
paul123
Member
 
Registered: Nov 2006
Location: UK
Distribution: Mandriva 2007
Posts: 93

Original Poster
Rep: Reputation: 15
Thanks for all the replies. very helpful.

I didnt know urpme. very useful.

I also didnt know rpm -qa --last.

Excellent and thanks again for all the advice.
 
Old 03-25-2007, 09:35 AM   #5
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
mandrivausers is always a handy location for distro specific assistance (not forgetting the mandriva section at the distros forum here at LQ of course

regards

John
 
  


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
Uninstalling Software geordzilla Linux - Software 3 04-26-2006 02:41 PM
Uninstalling rpm's zWaR Linux - Software 6 07-18-2004 09:23 AM
Upgrading Software by Building new RPM's farmerdan Linux - General 2 03-28-2004 12:29 PM
Upgrading Software by Building new RPM's farmerdan Linux - General 2 03-28-2004 08:13 AM
Uninstalling software tarballed Linux - Software 2 04-02-2003 04:56 PM


All times are GMT -5. The time now is 05:59 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