Debian – downgrading distributions

I recently run into problems with some packages in Jessie and had to roll back to Whezzy,

This is how I’ve done it:

1. update /etc/apt/sources.list so it looks like this:

deb wheezy/updates main
deb-src wheezy/updates main

deb wheezy main contrib non-free
deb-src wheezy main contrib non-free

2. Create or modify /etc/apt/preferences and put following text in it:

 Pin: release a=stable

3. Run “apt-get update; apt-get dist-upgrade” to force downgrading of packages across the system.

In my case I just had to roll one package back to Whezzy so I after apt-get update I ran apt-get install <packagename>


Based on:

Leave a Reply

Your email address will not be published. Required fields are marked *

one × four =

This site uses Akismet to reduce spam. Learn how your comment data is processed.