Skip to content

Instantly share code, notes, and snippets.

@knzm
Created June 16, 2012 00:03
Show Gist options
  • Select an option

  • Save knzm/2939286 to your computer and use it in GitHub Desktop.

Select an option

Save knzm/2939286 to your computer and use it in GitHub Desktop.
How to switch back from Linux Mint to Ubuntu
$ sudo vi /etc/apt/preferences
# Set Pin-Priority for "Pin: release o=Ubuntu" entry from 500 to 1001
$ sudo apt-get dist-upgrade
$ sudo apt-get install ubuntu-desktop
$ sudo apt-get remove `apt-show-versions -b | grep /lisa`
$ sudo vi /etc/apt/preferences
# Set Pin-Priority for "Pin: release o=Ubuntu" entry to 500, other entries to -1
$ sudo apt-get dist-upgrade
$ sudo apt-get -o DPkg::Options::="--force-confask" install --reinstall base-files bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment