I have installed Linux Mint and now I want to change it to Ubuntu but I have a lot of apps and information on it.
Is there any way to get Ubuntu without losing data? Or how to back up my information and apps, then install a fresh Ubuntu and copy the backup on it?
Best Answer
TL;DR It is possible, but very difficult.
The method below is presented without any warranty. Use it on your own risk.
LinuxMint MATE 18.3 (Sylvia) -> Ubuntu Xenial Xerus 16.04 LTS
I have had installed LinuxMint MATE 18.3 (Sylvia). I asked myself a question - is it possible to convert it to normal Ubuntu Xenial Xerus 16.04 LTS without reinstallation?
I found great answer with script for listing packages from known repository. I adapted it to my situation:
Then ran it to find Mint packages and remove them:
Then rebooted and launched Aptitude with
sudo aptitude
.Set all packages from Obsolete and Locally Created Packages section to purge.
And checked locally installed package with:
So I reinstalled two packages listed here -
bash
andbase-files
from xenial-updates repository from terminal:Then purged all packages that does not have
ii
state (such asrc
) with:Remove Mint files from home directory:
Check system integrity with
debsums
:Then I checked system for files, that are not from Ubuntu repositories:
Removed the following objects:
And finally installed Ubuntu MATE desktop:
Reboot and I have nearly normal Ubuntu Xenial 16.04 LTS :)
LinuxMint MATE 19 (Tara) -> Ubuntu Bionic Beaver 18.04 LTS
Warning: this method was not tested. Based on 18.3 -> 16.04 LTS above.
Let's do a listing of packages from known repository:
Find Mint packages and remove them:
Launch Aptitude with
sudo aptitude
.Set all packages from Obsolete and Locally Created Packages section to purge.
Check locally installed packages with:
Reinstall two (maybe more!) packages listed here -
bash
andbase-files
from bionic-updates repository from terminal:Then purge all packages that does not have
ii
state (such asrc
) with:Remove Mint files from home directory:
Check system integrity with
debsums
:Then check system for files, that are not from Ubuntu repositories:
Remove the following objects (may be other!):
And finally install Ubuntu MATE desktop:
Reset MATE desktop settings to the defaults:
Install MATE Welcome and Software Boutique as Snaps:
Reboot and have nearly normal Ubuntu Bionic 18.04 LTS :)
LinuxMint MATE 20 (Ulyana) -> Ubuntu Focal Fossa 20.04 LTS
Let's do a listing of packages from known repository:
Find Mint packages and remove them:
Launch Aptitude with
sudo aptitude
.Set all packages from Obsolete and Locally Created Packages section to purge.
Check locally installed packages with:
Reinstall two (maybe more!) packages listed here -
bash
andbase-files
from focal-updates repository from terminal:Then purge all packages that does not have
ii
state (such asrc
) with:Remove Mint files from home directory:
Check system integrity with
debsums
:Then check system for files, that are not from Ubuntu repositories:
Remove the following objects (may be others!):
And finally install Ubuntu MATE desktop on first login:
Reset MATE desktop settings to the defaults:
Install MATE Welcome and Software Boutique as Snaps:
Reboot and have nearly normal Ubuntu Focal 20.04 LTS :)