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 - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-28-2006, 07:44 PM   #1
Elomis
Member
 
Registered: Dec 2004
Location: Sydney
Distribution: SUSE
Posts: 89

Rep: Reputation: 15
Carefully updating from stable packages - ability to roll back


Hey guys,
I had a question in another thread about what package might seize up my laptop (with make and model) etc. because when I do an update out of an rpm repository something is sneaking it that freezes it. Nobody could help, so I want to try something else;
Is it possible to track what RPMs you've installed, I can carefully update with a record of what's gone in, and is there a way to roll back (it doesn't need to be easy, just possible) if I get whatever it is that freezes me?
 
Old 07-28-2006, 08:13 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
The command "rpm -qa" will list the installed packages. You can also browse your rpm database using the MCC.

There are a number of other ways to use the "rpm" command. You can find which package supplied a program or file with the "rpm -qf <filename>" command. You can also verify packages, "rpm -q --verify <package>" or "rpm -q --verify --all". The later command might show up missing files.

One thing to look for after upgrading a package is for a configuration file with a .rpmnew extension. You may need to add changes to the old config file to the new one, or at least examine the .rpmnew file before copying it to the new one. Enter "locate rpmnew" and see if there are any config files that you need to look at.

If these things don't help, read the "info rpm" manual for the --oldpackage option. Also, consider uninstalling the package you installed and re-installing the version that your distro uses.

Maybe you should have supplied a link to your earlier post.

Good Luck!

Last edited by jschiwal; 07-28-2006 at 09:09 PM.
 
  


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
How to roll back kernel? Geminias Linux - Newbie 2 09-14-2006 04:04 PM
Roll back to stable ? tuxuser19 Debian 1 12-10-2005 06:59 AM
Any way to roll back? FKK Linux - Newbie 1 11-12-2005 03:44 AM
Kernel Roll Back jannino Linux - General 1 04-22-2005 11:11 AM
How to roll back to an old RPM source? scahrossar Linux - Newbie 1 10-08-2003 01:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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