You may already know how to upgrade your Ubuntu desktop to the latest version. However, if you use Ubuntu Server and want to upgrade it again, it will not affect your application. In general, we should adopt a conservative attitude towards server operating systems. If it is not a security problem that must be resolved by upgrading, it is best not to upgrade, but to use various external means to solve it .)
To upgrade from Ubuntu14.04/13.10/13.04/12.10/12.04/14.10 or an older version to, follow the steps below. Note that you cannot upgrade from 13.10 to 14.10. You should first upgrade 13.10 to 14.04 from 14.04 to 14.10. The following are detailed steps.
The following steps are not only applicable to 14.10, but also compatible with some Ubuntu derivative versions such as Lubuntu14.10, Kubuntu14.10, and Xubuntu14.10.
Important: Before upgrading, do not forget to save your data on a USB flash drive or an external hard disk.
Server upgrade
To upgrade Ubuntu 14.10 to Ubuntu, follow these steps.
Install the update-manager-core package. If the package is not ready for installation before:
Sudo apt-get install update-manager-core
Edit the file/etc/update-manager/release-upgrades.
Sudo nano/etc/update-manager/release-upgrades
Set Prompt = normal or Prompt = lts as follows
# Default behavior for the release upgrader.
[DEFAULT]
# Default prompting behavior, valid options:
#
# Never-Never check for a new release.
# Normal-Check to see if a new release is available. If more than one new
# Release is found, the release upgrader will attempt to upgrade
# The release that immediately succeeds the currently-running
# Release.
# Lts-Check to see if a new LTS release is available. The upgrader
# Will attempt to upgrade to the first LTS release available after
# The currently-running one. Note that this option shoshould not be
# Used if the currently-running release is not itself an LTS
# Release, since in that case the upgrader won't be able
# Determine if a newer release is available.
Prompt = normal
Now you can use the following command to update your service system.
Sudo do-release-upgrade-d
Until the screen prompts that you have completed.