Howto downgrade to stable OMV - Debian Wheezy

  • Downgrade to Debian Wheezy Stable 7.x
    Description
    With this Guide you can downgrade to the stable version of Debian Wheezy, if you enabled a wrong repository with newer packages and getting errors installing something new.


    Repositories
    1. Disable all custom Repositories
    Make sure, you disabled/deleted any custom repositories in "OMV-Extras":
    OMV_repo.png


    2. Apt-Pin Packages
    Now we have to use the Apt-Pinning feature to get the correct default release tag for our apt downgrade
    Modify or create the file /etc/apt/preferences and put following text in it:

    Code
    nano /etc/apt/preferences


    copy and paste Shift+Insert the following text

    Code
    Package: *
    Pin: release a=stable
    Pin-Priority: 1001


    Hit Ctrl+O to save and Ctrl+X to exit


    3. Update and upgrade (downgrade) Packages:
    run these commands on the CLI:

    Code
    apt-get update
    apt-get upgrade
    apt-get dist-upgrade


    Apt will ask you for downgrading all packages now.
    Just say yes, let it go and pray that all packages getting installed and downgraded properly!


    4. optional: Install failing packages again
    If some packages failing on downgrade you have to purge them by doing:


    Code
    apt-get purge yourfailingpackage


    and reinstall them with

    Code
    apt-get install yourfailingpackage


    after purging it.


    You are on stable Debian Wheezy now!



    Questions / Problems / Diskussions
    Feel free to create a thread HERE.



    Thx to Jules from ispire.me for the original Guide

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!