Upgrading to Jaunty Via the Command Line

Bizarrely, you can’t update from Intre­pid to Jaunty with a sim­ple apt-get dist-upgrade.

I don’t under­stand why, but you can’t–you sim­ply get the report that no updates are available:

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

What you need to do instead is install the update tool, which is, as far as I can tell, in essence a bash script which does the exact same thing as the apt version above.

The Ubuntu upgrade page describe how to do this:

Install update-​​manager-​​core if it is not already installed:sudo apt-get install update-manager-core

Launch the upgrade tool: sudo do-release-upgrade

That’ll down­load the pack­ages, extract them, and update the system.

I rec­om­mend using screen if you’re going to do this remotely: ssh in, hit screen to start a new instance of screen, then run the update script from there. That way you can get out of the instance if you need to (Ctrl+a, then d, to dis­con­nect). Bizarrely, the instance will run in the back­ground even if you end the screen instance–I had prob­lems recon­nect­ing to the ses­sion from a dif­fer­ent com­puter, some­thing about a tun­nel remain­ing open till the process closed, but could recon­nect via screen -R at the orig­i­nal (albeit remote) computer. 

This entry was posted in linux. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>