flanna wrote:Is there an easy way to upgrade without doing a complete fresh install?
Easy? I'd say yes but there is a risk associated with doing it that way. When upgrading to newer versions of software and you do a somewhat big version jump (software on Linux Mint 15 only received security and bug fixes, you didn't upgrade to new features versions, so some software may be very old as to compared what is available on Linux Mint 16) it may result in some software not working right and you need to fix that. That could be just one program that isn't fully backwards compatible with the files from your older version from Linux Mint 15, or it could be some dependency problem from packages you manually installed from outside the Linux Mint repositories and that now cause issues with newer package versions on Linux Mint 16 (meaning you might not be able to upgrade, or some packages from Linux Mint 16 might need to be held back), or it could be something more critical like unable to log in to your graphical desktop.
The risk might not be big, but it's there. Of course I only know the problems from users that did this and came to the forum for help, and don't know how many more users did this and never had any problems
First things first: always ensure you have a good backup in place (of at least your personal files) before you attempt to upgrade. A good backup not only means you have archived some files, it also means you've confirmed the archive is extractable and indeed contains all the files you intended.
Now, to upgrade, it's really very simple. First, open a terminal and run this command:
- Code: Select all
This will show you your full repositories configuration, showing you which repositories are configured in which file. Note the files to edit from below tip and edit those files as root (either `gksudo gedit filename
` to edit with Gedit, or editing on the terminal with `sudo nano filename
`). Afterwards you run the command:
- Code: Select all
apt update && apt dist-upgrade
Now, which files to edit and what to change? You'll note that each line looks something like so:
deb http:/archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse
The word raring
here denotes the distribution name for the Ubuntu package base used by Linux Mint 15. On any line where the word "raring" is there, replace it with "saucy". On any line where instead the word "olivia" is there, replace it with "petra". That's it.
A final word of warning: you might have added additional repositories (beyond the Linux Mint one and the Ubuntu package base ones), like PPAs or other APT repositories. In some cases you will have to do the word replace on those to, but in other cases not as there will be another distribution name there. That's all fine. The warning here is that perhaps not all repositories, especially PPAs, might already have packages for the "saucy" distribution. So you might get errors from that, saying some repository index files couldn't be downloaded (and which). It won't remove any installed packages, but it's something to take into account.