Home Page Ubuntu C++ Hardware HTML i javascript Java Software SQL

Ubuntu – upgrade of system from 10.04 to 10.10, 11.04 to 12.

Added: 2012-05-02

Installing newest version of kernel of system Ubuntu Server 10.04 LTS may take some time. If you are looking for an easy way to upgrade system to version 12 of Ubuntu and you do not want to have larger problems, use command do-release-upgrade.

DISTRIB_ID=Ubuntu 
DISTRIB_RELEASE=10.10 
DISTRIB_CODENAME=maverick 
DISTRIB_DESCRIPTION="Ubuntu 10.10" 

...upgrade

DISTRIB_ID=Ubuntu 
DISTRIB_RELEASE=11.04 
DISTRIB_CODENAME=natty 
DISTRIB_DESCRIPTION="Ubuntu 11.04"

...upgrade

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION="Ubuntu 11.10"

You can upgrade kernel by downloading version 12 and compile it, but it is more difficult.

If you want check your version of Ubuntu:

cat /etc/lsb-release

Version of kernel you can check using uname -r, more information uname -a. Some steps you must to do, before upgrading kernel:

  • First install update-manager-core:
    sudo apt-get install update-manager-core
  • Second edit file release-upgrades:
    sudo nano /etc/update-manager/release-upgrades
    changing parameter Prompt to Prompt=normal.

Now you can step by steps upgrade kernel:

sudo do-release-upgrade -d

In the event of interruption downloading packages, may you have problem in use command do-release-upgrade, because it will not detect news updates kernel, after do command sudo apt-get update, news update will be detected.

Upgrade kernel by ssh is risky, you can lose connection and then you will be need to go to place where is server ;)