<?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; debian</title>
	<atom:link href="http://www.robtucker.co.uk/tag/debian/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 MySQL 5.0 to 5.1 on Debian 5.0</title>
		<link>http://www.robtucker.co.uk/2009/05/16/upgrading-mysql-50-to-51-on-debian-50</link>
		<comments>http://www.robtucker.co.uk/2009/05/16/upgrading-mysql-50-to-51-on-debian-50#comments</comments>
		<pubDate>Sat, 16 May 2009 16:00:16 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[apt]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[skip-bdb]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://www.robtucker.co.uk/?p=291</guid>
		<description><![CDATA[I have a small low-power x86 machine at home running Debian 5.0. I regularly check for updates to any of the packages I have installed on it, and for a while its been offering an upgrade to MySQL. I dont use MySQL much at home, so I havent been too bothered about keeping that up [...]]]></description>
			<content:encoded><![CDATA[<p>I have a small low-power x86 machine at home running Debian 5.0. I regularly check for updates to any of the packages I have installed on it, and for a while its been offering an upgrade to MySQL. I dont use MySQL much at home, so I havent been too bothered about keeping that up to date. However, I got fed up of it nagging me, so I decided to proceed with the update. The following is what happened:<br class="spacer_" /></p>
<pre>Preparing to replace mysql-server 5.0.51a-24 (using .../mysql-server_5.1.34-0.dotdeb.1_all.deb) ...
 Unpacking replacement mysql-server ...
 (Reading database ... 120744 files and directories currently installed.)
 Removing mysql-server-5.0 ...
 Stopping MySQL database server: mysqld.
 Removing mysql-client-5.0 ...
 Processing triggers for man-db ...
 Selecting previously deselected package mysql-client-5.1.
 (Reading database ... 118764 files and directories currently installed.)
 Unpacking mysql-client-5.1 (from .../mysql-client-5.1_5.1.34-0.dotdeb.1_i386.deb) ...
 Selecting previously deselected package mysql-server-5.1.
 Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.34-0.dotdeb.1_i386.deb) ...
 Processing triggers for man-db ...
 Processing triggers for menu ...
 Setting up mysql-client-5.1 (5.1.34-0.dotdeb.1) ...
 Setting up mysql-server-5.1 (5.1.34-0.dotdeb.1) ...
 Installing new version of config file /etc/init.d/mysql ...
 Stopping MySQL database server: mysqld.
 Starting MySQL database server: mysqld . . . . . . . . . . . . . . <span style="color: #ff0000;">failed!</span></pre>
<p><span id="more-291"></span></p>
<pre> invoke-rc.d: initscript mysql, action "start" failed.
 dpkg: error processing mysql-server-5.1 (--configure):
 subprocess post-installation script returned error exit status 1
 dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-server-5.1; however:
 Package mysql-server-5.1 is not configured yet.
 dpkg: error processing mysql-server (--configure):
 dependency problems - leaving unconfigured
 Processing triggers for menu ...
 Errors were encountered while processing:
 mysql-server-5.1
 mysql-server</pre>
<p>Aaargh! My good MySQL install has been blown away, and the update has failed to install properly!</p>
<p>The error messages were less than helpful, and as far as I could see, I had all the prerequisite packages installed. What to do?</p>
<p>After a bit of googling, I came across someone with the same problem at <a href="http://forum.slicehost.com/comments.php?DiscussionID=3422" target="_blank">this forum thread.</a></p>
<p>They suggested that MySQL 5.1 cannot have &#8216;skip-bdb&#8217; in the my.cnf configuration file. As my Debian machine is a low memory box, I had &#8216;skip-bdb&#8217; set for MySQL 5.0 in order to save some memory. After commenting &#8216;skip-bdb&#8217; out of the my.cnf file (placing # in front of it), I tried an &#8216;apt-get -f install&#8217;, and the installation completed successfully.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.robtucker.co.uk/2009/05/16/upgrading-mysql-50-to-51-on-debian-50/feed</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Lighttpd PHP FastCGI Configuration &#8211; Debian 5.0 Lenny</title>
		<link>http://www.robtucker.co.uk/2009/02/19/lighttpd-php-fastcgi-configuration-debian-50-lenny</link>
		<comments>http://www.robtucker.co.uk/2009/02/19/lighttpd-php-fastcgi-configuration-debian-50-lenny#comments</comments>
		<pubDate>Thu, 19 Feb 2009 16:47:47 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[fastcgi]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.robtucker.co.uk/?p=137</guid>
		<description><![CDATA[After installing a fresh copy of Debian 5.0 on my mini x86 server (howto for that still being worked on), I needed to get PHP with FastCGI, MySQL and Lighttpd installed. Here&#8217;s an excellent, short and to-the-point guide on getting FastCGI configured for Lighttpd: http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html Of course, this is assuming PHP, MySQL (if required) and [...]]]></description>
			<content:encoded><![CDATA[<p>After installing a fresh copy of Debian 5.0 on my mini x86 server (howto for that still being worked on), I needed to get PHP with FastCGI, MySQL and Lighttpd installed.</p>
<p>Here&#8217;s an excellent, short and to-the-point guide on getting FastCGI configured for Lighttpd:</p>
<p><a href="http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html" target="_blank">http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html</a></p>
<p>Of course, this is assuming PHP, MySQL (if required) and Lighttpd are already installed:</p>
<pre>  apt-get install php5-cli php5-cgi lighttpd mysql-server</pre>
<p>I also needed to reconfigure MySQL for a low memory machine (112MB). <span id="more-137"></span>I did that by doing the following:</p>
<p>Replace <span style="font-family: courier new,courier;">/etc/mysql/my.cnf</span> with the <span style="font-family: courier new,courier;">my-small.cnf</span> found at<span style="font-family: courier new,courier;"> /usr/share/doc/mysql-server-5.0/examples/</span></p>
<pre>  cp /usr/share/doc/mysql-server-5.0/examples/my-small.cnf /etc/mysql/my.cnf</pre>
<p>Edit your new <span style="font-family: courier new,courier;">my.cnf</span> and do the following:</p>
<p>Uncomment <span style="font-family: courier new,courier;">skip-bdb</span><br />
 Add a new line beneath it for <span style="font-family: courier new,courier;">skip-innodb</span></p>
<p>Finally, restart your mysql server:</p>
<pre>  sh/etc/init.d/mysql restart</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.robtucker.co.uk/2009/02/19/lighttpd-php-fastcgi-configuration-debian-50-lenny/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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! -->
