Live with grace. Write superb software.

In case you upgraded by mistake your system from Wheezy, to the latest unstable version Stretch, you have several options:

1. Reinstall (recommended)

This is actually the recommended option, since the init scripts have changed across versions. Also it's pretty hard to guarantee that the same packages will be there.

2. Downgrade Your System

This option is a bit trickier, fortunately Jules from wrote a pretty good article about it.  Note that the tutorial he wrote was to downgrade from Jessie to Wheezy. Since we want to skip Jessie as well, we need to use the oldstable (aka "wheezy" at the time of writing) instead stable. See for the current Debian releases.

So since you want now to skip two versions, you need to have the file in /etc/apt/preferences with:

Package: *
Pin: release a=oldstable
Pin-Priority: 1001

Instead of:

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

The main idea is to pin the package version to update, and then just run: 

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

That should do it.

Disqus Comments

comments powered by Disqus


The one to rule them all. The browsers that is.


SharpKnight is an Android chess game.


MagicGroup is an eclipse plugin.