linux, how to change back a package to old version

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

    Expert Comment

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

    Author Comment

    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?
    LVL 4

    Accepted Solution

    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

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    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…
    The purpose of this article is to demonstrate how we can use conditional statements using Python.
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    755 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

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now