How to Upgrade an Ubuntu Release

If you are a beginner,you must check your sources., Remove all the `#` symbols in front of the word `deb` followed by a link., Whilst still in the terminal window, run sudo apt-get update., After apt-get is done,run sudo apt-get dist-upgrade., You...

11 Steps 1 min read Medium

Step-by-Step Guide

  1. Step 1: If you are a beginner

    List file in /etc/apt.

    Open a terminal and run vi /etc/apt/sources.list. (Here, vi is the text editor.

    You can replace it with gedit, nano or a text editor of your choice).
  2. Step 2: you must check your sources.

    Now, change every 'warty' to 'hoary'.

    There should be 6 of them.

    Don't edit anything at the first line: deb cdrom.

    Save your changes and let's go to the next step. , You will be prompted for your root password (enter it). , Again, enter your password and wait 2-3 seconds.

    You will see a list of packages which should be installed to upgrade from Ubuntu
    4.10 to Ubuntu
    5.04. , If you don't want to upgrade then type 'n' and press enter to abort. , Bear in mind that this is a very large download, and will take a considerable time.
  3. Step 3: Remove all the `#` symbols in front of the word `deb` followed by a link.

  4. Step 4: Whilst still in the terminal window

  5. Step 5: run sudo apt-get update.

  6. Step 6: After apt-get is done

  7. Step 7: run sudo apt-get dist-upgrade.

  8. Step 8: You will be asked if you want to upgrade those packages

  9. Step 9: if yes

  10. Step 10: type 'Y' and hit enter.

  11. Step 11: Apt-get will now download and install all of these packages.

Detailed Guide

List file in /etc/apt.

Open a terminal and run vi /etc/apt/sources.list. (Here, vi is the text editor.

You can replace it with gedit, nano or a text editor of your choice).

Now, change every 'warty' to 'hoary'.

There should be 6 of them.

Don't edit anything at the first line: deb cdrom.

Save your changes and let's go to the next step. , You will be prompted for your root password (enter it). , Again, enter your password and wait 2-3 seconds.

You will see a list of packages which should be installed to upgrade from Ubuntu
4.10 to Ubuntu
5.04. , If you don't want to upgrade then type 'n' and press enter to abort. , Bear in mind that this is a very large download, and will take a considerable time.

About the Author

E

Eric Lee

With a background in arts and creative design, Eric Lee brings 5 years of hands-on experience to every article. Eric believes in making complex topics accessible to everyone.

34 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: