Howto downgrade to stable OMV - Debian Wheezy

    • core
    • Howto downgrade to stable OMV - Debian Wheezy

      Downgrade to Debian Wheezy Stable 7.x
      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.

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

      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:

      Source Code

      1. nano /etc/apt/preferences

      copy and paste Shift+Insert the following text

      Source Code

      1. Package: *
      2. Pin: release a=stable
      3. 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:

      Source Code

      1. apt-get update
      2. apt-get upgrade
      3. 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:

      Source Code

      1. apt-get purge yourfailingpackage

      and reinstall them with

      Source Code

      1. 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 for the original Guide

      The post was edited 1 time, last by WastlJ ().