Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


linux, how to change back a package to old version

Posted on 2009-04-27
Medium Priority
Last Modified: 2013-12-16
i have updated bzip2 to a new version
how can i revert back to old version
Question by:ammadeyy2020
  • 2

Expert Comment

ID: 24239522
Uninstall, manually download older version and install it.
What linux distribution you are using?

Author Comment

ID: 24239769
im using CentOS 5

scenario here is, i have a linux firewall and our company is a PCI certified company
according to PCI policies, when update patches we have to test the patch and update
we should also document, which patch version is installed, and how we can change back to old version when necessary.

our firewall vendor releases updates, and after installing im thinking how to change back to old version,
like in windows, we can remove updates seperately, is there anyway linux does that?

Accepted Solution

anvanster earned 2000 total points
ID: 24239845
As far as I know there is no automatic update removing in linux.
When update is finished testing it is being placed in distribution's software repository and downloaded if you run update on linux machine.

You can switch to an older version in few ways:
1. Perform system backup and restore to previous state (can be done even with tar)
2. Manually uninstall program and manually download and install oldest version. May not work on every program if it has some irreversible dependencies lets say in a database...
3. Use a backup server for creating backups of you linux machine (Bacula - one of best open source backup systems) and revert to previous system state if you need.

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month13 days, 5 hours left to enroll

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question