Ubuntu desktops can be easily upgraded through Synaptic Package Manager, however, a web search on Google will result in far less results on how to upgrade from the command line. It takes two commands:
sudo apt-get install update-manager-core
sudo do-release-upgrade
The second command will begin the upgrade process by changing to the “Jaunty” repositories:
Checking for a new ubuntu release
Done Upgrade tool signature
Done Upgrade tool
Done downloading
extracting ‘jaunty.tar.gz’
authenticate ‘jaunty.tar.gz’ against ‘jaunty.tar.gz.gpg’
After calculating the upgrade, you will be asked whether you want to proceed:
Checking package manager
Reading package lists: Donejaunty-security/multiverse Packages: 98
Reading state information: Done
Reading state information: Done
Reading state information: Done
Calculating the changes
Do you want to start the upgrade?
1 package is going to be removed. 24 new packages are going to be
installed. 270 packages are going to be upgraded.
You have to download a total of 169M. This download will take about
15 minutes with your connection.
Fetching and installing the upgrade can take several hours. Once the
download has finished, the process cannot be cancelled.
Continue [yN] Details [d]
want to start the upgrade?
After selecting yes, the upgrade will progress in a similar manner to a regular package upgrade. When the process is complete you will be asked to reboot:
System upgrade is complete.
Restart required
To finish the upgrade, a restart is required.
If you select ‘y’ the system will be restarted.
Continue [yN] y
April 25th, 2009 | Tags: 9.04, command line, ubuntu, upgrade | Category: Software | Leave a comment