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 http://packages.linuxmint.com/ debian main upstream import backport
deb-src http://packages.linuxmint.com/ debian main upstream import backport #Added by software-properties
deb http://mirror.metrocast.net/linuxmint-debian/latest testing main contrib non-free
deb http://mirror.metrocast.net/linuxmint-debian/latest/security testing/updates main contrib non-free
deb http://mirror.metrocast.net/linuxmint-debian/latest/multimedia testing main non-free

deb http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free

/etc/apt/sources.list after change:

deb http://ftp.us.debian.org/debian wheezy main contrib non-free
deb-src http://ftp.us.debian.org/debian wheezy main contrib non-free

deb http://security.debian.org/ wheezy/updates main contrib non-free

#deb-multimedia.org
deb http://www.deb-multimedia.org wheezy main non-free

#Oracle VM VirtualBox
deb http://download.virtualbox.org/virtualbox/debian 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

Done.


Check these files which should read as follows:

/etc/issue

Debian GNU/Linux 7.0 \n \l

/etc/issue.net

Debian GNU/Linux 7.0

/etc/os-release

PRETTY_NAME="Debian GNU/Linux 7.0 (wheezy)"
NAME="Debian GNU/Linux"
VERSION_ID="7.0"
VERSION="7.0 (wheezy)"
ID=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support/"
BUG_REPORT_URL="http://bugs.debian.org/"

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.

lmde_to_wheezy

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.

    Reply
  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?

    Reply
  3. Agustin Lobo

    Edit: I meant waiting for Debian stable 7.8

    Reply
  4. Dim

    Hi

    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 !

    Reply

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.