Convert LMDE to Debian Wheezy

By | 2013/05/14

I changed my existing Linux Mint Debian Edition desktop over to pure Debian wheezy. Right now (May 2013) is the optimum time as switching to wheezy is currently an ‘upgrade’ and packages will nicely upgrade without issue. Here is how I did it!

Change your sources.list to point to wheezy

/etc/apt/sources.list before change:

deb debian main upstream import backport
deb-src debian main upstream import backport #Added by software-properties
deb testing main contrib non-free
deb testing/updates main contrib non-free
deb testing main non-free

deb squeeze contrib non-free

/etc/apt/sources.list after change:

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

deb wheezy/updates main contrib non-free
deb wheezy main non-free

#Oracle VM VirtualBox
deb wheezy contrib non-free

I removed /etc/apt/sources.list.d/dropbox.list to avoid any complications. I can add dropbox later if needed.

Remove /etc/apt/preferences to remove apt-pinning done by LMDE.

Perform usual upgrade commands

$ sudo apt-get update

$ sudo apt-get remove mintsystem

$ sudo apt-get upgrade

$ sudo apt-get dist-upgrade

$ sudo reboot


Check these files which should read as follows:


Debian GNU/Linux 7.0 \n \l


Debian GNU/Linux 7.0


PRETTY_NAME="Debian GNU/Linux 7.0 (wheezy)"
NAME="Debian GNU/Linux"
VERSION="7.0 (wheezy)"

And Debian doesn’t have this file so you may wish to move it out of the way.

$ sudo mv /etc/lsb-release /etc/lsb-release.old

Mint / Cinnimon or whatever your existing desktop environment remains unless you choose to uninstall it.