How to Upgrade to Ubuntu 11.04 (Natty)

Select distribution:
Traducciones al Español
Estamos traduciendo nuestros guías y tutoriales al Español. Es posible que usted esté viendo una traducción generada automáticamente. Estamos trabajando con traductores profesionales para verificar las traducciones de nuestro sitio web. Este proyecto es un trabajo en curso.

This guide has been deprecated and is no longer being maintained.

This guide explains how to upgrade your system to Ubuntu 11.04 (Natty) from Ubuntu 10.10 (Maverick). Before you begin, you should make sure that you have a working backup or a copy of your data. If you haven’t already done so, you will also want to back up your configuration files (usually located in /etc/) in case they have changed in later versions of the software you are using. You should be logged in as root while performing these steps.

Important: If it isn’t already selected in your Linode’s configuration profile, you must edit the profile to use the “Latest 3.0” kernel (either 32-bit or 64-bit, depending on what architecture you have deployed). Please note that upgrades from older versions of Ubuntu will require you to follow the steps outlined in our other upgrade guides before upgrading to Ubuntu 11.04 (Natty).

Preparing to Upgrade

Make sure that you have properly set your hostname in /etc/hostname. If you have not set a hostname for your system yet, issue the following commands:

echo "titan" > /etc/hostname
hostname -F /etc/hostname

Be sure to replace “titan” with the name that you wish to give to your server.

Edit your /etc/apt/sources.list file and change instances of maverick to natty. Once you have finished this, your /etc/apt/sources.list should resemble the following:

File: /etc/apt/sources.list
deb natty main restricted
deb-src natty main restricted
deb natty-updates main restricted
deb-src natty-updates main restricted
deb natty universe
deb-src natty universe
deb natty-updates universe
deb-src natty-updates universe
deb natty multiverse
deb-src natty multiverse
deb natty-updates multiverse
deb-src natty-updates multiverse

# deb natty-backports main restricted universe multiverse
# deb-src natty-backports main restricted universe multiverse

# deb natty partner
# deb-src natty partner

# deb natty main
# deb-src natty main

deb natty-security main restricted
deb-src natty-security main restricted
deb natty-security universe
deb-src natty-security universe
deb natty-security multiverse
deb-src natty-security multiverse

Issue the following command to update your package lists:

apt-get update

When running system upgrades, you may want to start a screen session. This will ensure that your system updates continue to run in the event that you are disconnected from the server. Issue the following command to install screen:

apt-get install screen

Once the installation has completed, issue the following command to start a screen session:


If at any time you get disconnected from your server, you can log back in and issue the following command to resume your screen session:

screen -Dr


Issue the following command to grab the latest version of key system utilities:

apt-get install apt dpkg aptitude

Once this has completed, you may upgrade your system by issuing the following command:

apt-get dist-upgrade

The upgrade will download and install numerous packages. Please be advised that this task may take a while to complete.

You will also be advised that some services need to be restarted. In most cases the default list of services to be restarted will be fine. If you have additional services that you would like to be restarted, please add them to the list.

The installation will restart services and configure new packages. Once the system is done updating, reboot your system through the Linode Manager to make sure that there were no problems during the upgrade. While your system reboots, you can watch your Linode’s console for errors using the AJAX terminal or Lish. When your Linode boots up again, you may notice messages on the console regarding ureadahead and plymouthd being killed; these are not a cause for concern. You can prevent such messages from appearing again by issuing the following commands:

cd /etc/init
for i in plymouth* ureadahead*; do mv ${i} ${i}.disabled; done

You may now check that you’re running Ubuntu 11.04 (Natty) by issuing the following command as root:

cat /etc/lsb-release

You should see output that resembles the following:


This page was originally published on

Your Feedback Is Important

Let us know if this guide was helpful to you.

Join the conversation.
Read other comments or post your own below. Comments must be respectful, constructive, and relevant to the topic of the guide. Do not post external links or advertisements. Before posting, consider if your comment would be better addressed by contacting our Support team or asking on our Community Site.
The Disqus commenting system for Linode Docs requires the acceptance of Functional Cookies, which allow us to analyze site usage so we can measure and improve performance. To view and create comments for this article, please update your Cookie Preferences on this website and refresh this web page. Please note: You must have JavaScript enabled in your browser.