Augustina's Technological Blog

Technology, Perl, Linux, and a Woman's perspective on the FOSS community

Upgrading Ubuntu Server via CLI

leave a comment »

I needed to upgrade my 6.10 Edgy Ubuntu server to 7.04 Feisty.  It was pretty easy to do, the trick is knowing the right commands.

First, update the sources.list file and change each occurrence of “edgy” to “feisty” (without the quotes):

<code>sudo nano /etc/apt/sources.list</code>

Then, for example, change
deb edgy main restricted
deb feisty main restricted

Now update package list:

<code>sudo apt-get update</code>

Install the update manager:

<code>sudo apt-get install update-manager-core</code>

Start the upgrade tool:

<code>sudo do-release-upgrade</code>

The update can take several hours as it has to download a lot of stuff.  I did mine unattended for the most part, just peeking in to make sure there weren’t any dialogues holding things up.

Written by missaugustina

September 13, 2007 at 5:54 pm

Posted in Server, Ubuntu

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: