<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Static in the Ether &#187; Upgrade</title>
	<atom:link href="http://lair.moria.org/blog/archives/tag/upgrade/feed" rel="self" type="application/rss+xml" />
	<link>http://lair.moria.org/blog</link>
	<description>Unix, Information Security &#38; Systems Administration</description>
	<lastBuildDate>Thu, 10 Feb 2011 21:44:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Ubuntu LTS migration for the GUI challenged</title>
		<link>http://lair.moria.org/blog/archives/13</link>
		<comments>http://lair.moria.org/blog/archives/13#comments</comments>
		<pubDate>Mon, 28 Apr 2008 16:40:01 +0000</pubDate>
		<dc:creator>Barry Irwin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PhD]]></category>
		<category><![CDATA[Systems Administration]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Dapper]]></category>
		<category><![CDATA[Hardy]]></category>
		<category><![CDATA[Upgrade]]></category>

		<guid isPermaLink="false">http://lair.moria.org/blog/?p=13</guid>
		<description><![CDATA[With the release of Ubuntu 8.10 (Hardy Heron) and its designation as the new LTS version, I decided to upgrade my one local server from Dapper to Hardy, with the small challenge of I didnt want to do it via a gui. This is partly because I did not have a X client on my [...]]]></description>
			<content:encoded><![CDATA[<p>With the release of <a href="http://www.ubuntu.com/">Ubuntu</a> 8.10 (Hardy Heron)  and its designation as the new LTS version, I decided to upgrade my one local server from Dapper to Hardy, with the small challenge of I didnt want to do it  via a gui.  This is partly because I did not have a X client on my laptop this morning, and partly because it will allow me to trial the upgrade of one of my Remote hosted systems.</p>
<p>Some issues specific to the Rhodes environment are noted at the end.</p>
<p>Get up to date:</p>
<blockquote><p><code>aptitude  update<br />
aptitude upgrade<br />
aptitude dist-upgrade</code></p></blockquote>
<p>All fairly painless and out of the ordinary,  bar the need to add the <code>dapper-proposed</code> repo to my <code>/etc/apt/sources.list</code></p>
<p>Installing the requires base packages:</p>
<blockquote><p><code>aptitude install update-manager-core</code></p></blockquote>
<p>Before doing the upgrade I decided to set up the CDROM ISO as a local repository in order to save bandwidth whales etc.. (Having a system with real internet access, or a working apt-proxy may be a better solution).  Once the <a title="Get your JIGDO sources here!" href="http://cdimage.ubuntu.com/dvd/current/hardy-dvd-i386.jigdo">Hardy DVD</a> is available in a few weeks this may go a lot faster, as libraries such as QT and other components of main will be included in the larger image.</p>
<blockquote><p><code>$ mount -t iso9660 -o loop  ~bvi/ubuntu-8.04-server-i386.iso  /cdrom<br />
$ apt-cdrom add</code></p></blockquote>
<p>This should show output similar tot he following as the CDROM is added tot he Repo list.</p>
<blockquote><p><code>Using CD-ROM mount point /cdrom/<br />
Unmounting CD-ROM<br />
Waiting for disc...<br />
Please insert a Disc in the drive and press enter<br />
Mounting CD-ROM...<br />
Identifying.. [b36baea778d37bbf48a3c8bd75b5cffb-2]<br />
Scanning disc for index files..<br />
Found 2 package indexes, 0 source indexes and 1 signatures<br />
Found label 'Ubuntu-Server 8.04 _Hardy Heron_ - Release i386 (20080423.2)'<br />
...<br />
</code></p></blockquote>
<p>And should add a  to the top of your <code>/etc/apt/sources.list</code> similar to the following:</p>
<blockquote><p><code>deb cdrom:[Ubuntu-Server 8.04 _Hardy Heron_ - Release i386 (20080423.2)]/ hardy main restricted</code></p></blockquote>
<p>Finally the update can be performed</p>
<blockquote><p><code>do-release-update -p</code></p></blockquote>
<p>The -p parameter is due to the fact that the LTS as defined at  <a href="http://changelogs.ubuntu.com/meta-release-lts" target="_blank">http://changelogs.ubuntu.com/meta-release-lts</a> is still showing dapper as the LTS, and should be able to be omitted in the future. with the -p, the meta-release-lts.proposed file is used instead.</p>
<p>the bulk of the base operating system was happily upgraded form CDROM repo in a matter of minutes, and the remaining pile of mostly <code>universe</code> and <code>multiverse</code> packages took around an hour to download</p>
<p>3 hours and a reboot later and the server is happily running Hardy.</p>
<p>All in all its about the same time for doing a &#8216;buildworld dance&#8217; with FreeBSD, along with a massive level of portupgrade.</p>
<h2>Post Reboot</h2>
<p>In order to validate the upgrade, we can make use of the  <a href="http://www.linuxbase.org/">Linux Standard Base</a> support for Debian<br />
utilities ( aka lsb_release)</p>
<blockquote>
<h3>We have gone from:</h3>
<p><code>$ uname -a<br />
Linux spy.ict.ru.ac.za 2.6.15-51-686 #1 SMP PREEMPT Tue Feb 12 16:59:15 UTC 2008 i686 GNU/Linux<br />
$ lsb_release -a <em><span style="color: #3366ff;">(output trimmed)</span></em><br />
Distributor ID: Ubuntu<br />
Description:    Ubuntu 6.06.2 LTS<br />
Release:        6.06<br />
Codename:       dapper</code></p>
<h3>To:</h3>
<p><code>$ uname -a<br />
Linux spy.ict.ru.ac.za 2.6.24-16-server #1 SMP Thu Apr 10 13:58:00 UTC 2008 i686 GNU/Linux<br />
$ lsb_release -a<br />
Distributor ID: Ubuntu<br />
Description:    Ubuntu 8.04<br />
Release:        8.04<br />
Codename:       hardy</code></p></blockquote>
<p>In reflection, far less pain than I expected certainly not enough to make me want to employ  a <a title="Free your linux server" href="http://lair.moria.org/blog/archives/10">depenguinator </a>on this server yet.</p>
<h2>Rhodes Specific notes:</h2>
<ul>
<li>Preferably use ubuntu.rucus.ru.ac.za as your repo unless you would like your quota flattened. Hopefully it will be up.</li>
<li><a title="RUCUS FTP SITE" href="ftp://ftp.rucus.ru.ac.za/pub/linux/ubuntu/hardy " target="_blank">ftp://ftp.rucus.ru.ac.za/pub/linux/ubuntu/hardy </a>has the ISO files</li>
<li>You will need appropriate proxy settings in order for the do-release-upgrade to be able to access the changelogs.ubuntu.com site.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lair.moria.org/blog/archives/13/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

