<?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>RobTucker.co.uk &#187; etch</title>
	<atom:link href="http://www.robtucker.co.uk/tag/etch/feed" rel="self" type="application/rss+xml" />
	<link>http://www.robtucker.co.uk</link>
	<description>Virtual Insanity v2.0 - The Official Website Of Rob Tucker</description>
	<lastBuildDate>Tue, 15 Nov 2011 23:59:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Upgrading Debian Etch to Lenny (on NSLU2)</title>
		<link>http://www.robtucker.co.uk/2009/02/17/upgrading-debian-etch-to-lenny-on-nslu2</link>
		<comments>http://www.robtucker.co.uk/2009/02/17/upgrading-debian-etch-to-lenny-on-nslu2#comments</comments>
		<pubDate>Tue, 17 Feb 2009 17:49:45 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[etch]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[nslu2]]></category>
		<category><![CDATA[public key]]></category>
		<category><![CDATA[slug]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://www.robtucker.co.uk/?p=97</guid>
		<description><![CDATA[On 14th February 2009, Debian 5.0 (lenny) was officially released. For a few years now, I&#8217;ve been running Debian GNU/Linux on my Linksys NSLU2 (commonly known as a &#8216;slug&#8217;). I use it to run various services on my home network, but primarily it&#8217;s used as an FTP interface to my &#8216;Toppy&#8217;, otherwise known as a Topfield TF5800 [...]]]></description>
			<content:encoded><![CDATA[<p>On 14th February 2009, <a title="Debian GNU/Linux" href="http://www.debian.org" target="_blank">Debian </a>5.0 (lenny) was officially released.</p>
<p>For a few years now, I&#8217;ve been running Debian GNU/Linux on my Linksys NSLU2 (commonly known as a &#8216;slug&#8217;). I use it to run various services on my home network, but primarily it&#8217;s used as an FTP interface to my &#8216;Toppy&#8217;, otherwise known as a Topfield TF5800 Freeview/DVB-T Hard Disk Recorder (PVR), and to populate its <a title="MyStuff" href="http://www.bobdsmystuff.co.uk" target="_blank">MyStuff EPG TAP </a>with daily TV listings from the Radio Times.</p>
<p><img class="alignright size-full wp-image-112" title="Linksys NSLU2 (Slug)" src="http://www.robtucker.co.uk/wp-content/uploads/2009/02/nslu21.jpg" alt="Linksys NSLU2 (Slug)" width="78" height="101" />The NSLU2 is a great little device. Its small (really small), low power, silent, relatively inexpensive and just works. Ive modified it to run at 266MHz, from the stock 133MHz. Note: This isnt overclocking it. The ARM CPU in use is designed to run at 266MHz, but its limited in the NSLU2 to run at 133MHz. A simple modification allows it to run at its full speed.</p>
<p>When I heard that lenny had been released, I thought I&#8217;d go ahead and update my slug, as I like to stay current. The great thing about Debian, is that it&#8217;s so easy to maintain. I logged in, and did the usual &#8216;<span style="font-family: courier new,courier;">apt-get update</span>&#8216; followed by an &#8216;<span style="font-family: courier new,courier;">apt-get dist-upgrade</span>&#8216;, expecting a huge amount of updates to appear. What I actually saw was only a handful of packages offering themselves for the taking, and there was no sight of a full distribution upgrade.</p>
<p><span id="more-97"></span></p>
<p>I took a quick look at my<span style="font-family: courier new,courier;"> /etc/apt/sources.list</span> file, and the problem was apparent:</p>
<pre>deb http://ftp.uk.debian.org/debian/ etch main
deb-src http://ftp.uk.debian.org/debian/ etch main

deb http://security.debian.org/ etch/updates main
deb-src http://security.debian.org/ etch/updates main

deb http://www.backports.org/debian etch-backports main contrib non-free</pre>
<p>My sources were set specifically to &#8216;etch&#8217;. So I proceeded to edit <span style="font-family: courier new,courier;">/etc/apt/sources.list</span> and replace all instances of &#8216;etch&#8217; with &#8216;lenny&#8217;.</p>
<p>Another &#8216;<span style="font-family: courier new,courier;">apt-get update</span>&#8216;, followed by an &#8216;<span style="font-family: courier new,courier;">apt-get install apt dpkg</span>&#8216; to upgrade apt and dpkg, and I was ready for lenny.</p>
<p>One note though: After running the &#8216;<span style="font-family: courier new,courier;">apt-get update</span>&#8216; above, I got the following message:</p>
<pre>Reading package lists... Done
 W: There are no public key available for the following key IDs:
 XXXXXXXXXXXXXXXX
 W: You may want to run apt-get update to correct these problems</pre>
<p>Well, I just ran &#8216;<span style="font-family: courier new,courier;">apt-get update</span>&#8216;, so that wasnt going to help! What I actually needed to do was the following:</p>
<pre>gpg --keyserver wwwkeys.eu.pgp.net --recv-keys XXXXXXXXXXXXXXXX

apt-key add /root/.gnupg/pubring.gpg

apt-get update</pre>
<p>Replacing the XXX&#8217;s with the key ID from the previous message.</p>
<p>Finally, I was ready for the upgrade:</p>
<pre>apt-get dist-upgrade</pre>
<p>A loooong while later, and my slug was nicely up to date. I would also note that you&#8217;ll need a large amount of free disk space before you start this. I needed over 200MB, which is hard to find when my entire disk (including swap) is only 1GB!</p>
<p>Now that the slug is done, I think I&#8217;ll have a go at installing lenny on my HP Thin Client that I recently bought off eBay.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.robtucker.co.uk/2009/02/17/upgrading-debian-etch-to-lenny-on-nslu2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
