0

If I have these locations all on separate partitions:

  • /usr
  • /usr/local
  • /opt
  • /home

How can I remove Ubuntu (for example) and install Mint and lose no data? How would I preserve installed packages across the move?

1
  • I can't imagine it's a good idea to try this - you might get away with it since Mint is so similar to Ubuntu, but I would not be surprised if you ended up with a broken system. You can certainly preserve your data (as in, everything in /home), but expecting installed packages to work is probably unrealistic.
    – user55325
    Commented May 13, 2014 at 5:10

1 Answer 1

1

in my opinion, a safer way to achieve that would be to backup those directories and then re-install with the distribution of your choice.

If you want to backup your installed package list for re-installation later, you could try something like:

dpkg --get-selections > ~/Package.list

and then to restore the list later (on a debian based distro):

dpkg --set-selections < ~/Package.list
deselect

see https://askubuntu.com/questions/9135/best-way-to-backup-all-settings-list-of-installed-packages-tweaks-etc for more ideas.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .