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.


4 thoughts on “Convert LMDE to Debian Wheezy

  1. TobiH8

    You should do after all of that
    apt-get autoremove -y && apt-get autoclean to remove unneccesary bloat.

  2. Agustin Lobo

    Very useful, I’m really upset with LMDE. Thanks
    What would be the equivalent for Debian testing?
    Or is it better doing this to switch to stable first and then to testing from there?
    And/or should I wait until Debian8 is released?

  3. Agustin Lobo

    Edit: I meant waiting for Debian stable 7.8

  4. Dim


    This work for LDME to debian jessie as well.

    I just convert my wheezy LDME to debian jessie

    However, I have to fully purge remove mate* caja* since the dist-upgrade was failed (problem conflict lib)

    Thanks !


Leave a Reply

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

Notify me of followup comments via e-mail. You can also subscribe without commenting.