<?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>Thoughts Electrique &#187; SME</title>
	<atom:link href="http://www.sebastian.himberger.de/blog/tag/sme/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sebastian.himberger.de/blog</link>
	<description>Sebastian Himbergers blog about technology and software development</description>
	<lastBuildDate>Thu, 08 Jul 2010 17:05:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Updating a broken SME 7.1 Server to version 7.4</title>
		<link>http://www.sebastian.himberger.de/blog/2009/10/23/updating-a-broken-sme-7-1-server-to-version-74/</link>
		<comments>http://www.sebastian.himberger.de/blog/2009/10/23/updating-a-broken-sme-7-1-server-to-version-74/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 03:06:49 +0000</pubDate>
		<dc:creator>Sebastian</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SME]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.sebastian.himberger.de/blog/?p=542</guid>
		<description><![CDATA[The SME Server is a great Linux distribution for small to medium sized businesses. I&#8217;ve been doing some emergency sysadmin stuff quite a while ago and encountered the upgrade-hell from 7.1 to version 7.4. Since updating the operating system from 7.1 to 7.4 wasn&#8217;t easy I decided to write a quick blog post to save [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-555" style="border: none; float: left; margin: 4px;" title="The SME Logo" src="http://www.sebastian.himberger.de/blog/wp-content/uploads/2009/10/sme-logo.png" alt="The SME Logo" width="150" height="141" />The <a title="SME Server website" href="http://wiki.contribs.org/Main_Page" target="_blank">SME Server</a> is a great Linux distribution for small to medium sized businesses. I&#8217;ve been doing some emergency sysadmin stuff quite a while ago and encountered the upgrade-hell from 7.1 to version 7.4. Since updating the operating system from 7.1 to 7.4 wasn&#8217;t easy I decided to write a quick blog post to save you from tinkering.</p>
<p><span id="more-542"></span></p>
<p>Updating the SME in general is pretty straighforward but if the customer made modifications to the <em>yum</em> configuration it can quickly turn into a nightmare. Luckily there <a title="Upgrading from 7.1 Tutorial" href="http://wiki.contribs.org/Updating_from_SME_7.1.x_or_earlier#Yum_Update" target="_blank">is a tutorial available in the SME Wiki</a> which can help you to get started. Unfortunately the yum installation was completly broken so I had to update the packages by hand. I pulled the packages from the SME repository at and installed them via</p>
<pre class="terminal">export SME_MIRROR_URL="http://mirror.jvsnet.ro/sme/releases/7/smeos/i386/SME/RPMS"

wget $SME_MIRROR_URL/dialog-1.0.20040731-3.i386.rpm
wget $SME_MIRROR_URL/python-sqlite-1.1.7-1.2.1.i386.rpm
wget $SME_MIRROR_URL/yum-metadata-parser-1.0-8.el4.centos.i386.rpm
wget $SME_MIRROR_URL/e-smith-formmagick-2.0.0-1.el4.sme.noarch.rpm
wget $SME_MIRROR_URL/smeserver-yum-2.0.0-4.el4.sme.noarch.rpm
wget $SME_MIRROR_URL/yum-plugin-fastestmirror-0.2.4-3.c4.noarch.rpm
wget $SME_MIRROR_URL/e-smith-lib-2.0.0-1.el4.sme.noarch.rpm
wget $SME_MIRROR_URL/sqlite-3.3.6-2.i386.rpm
wget $SME_MIRROR_URL/yum-plugin-installonlyn-0.91-1.el4.sme.noarch.rpm
wget $SME_MIRROR_URL/perl-CGI-FormMagick-0.92-16.el4.sme.noarch.rpm
wget $SME_MIRROR_URL/yum-2.4.3-4.el4.centos.noarch.rpm

rpm -Uvh --nodeps --force *.rpm</pre>
<p>You maybe have to adjust this mirror url. This is why I factored it out into a seperate variable.</p>
<p>After this you should reset your <em>yum</em> repositories and clean the <em>yum</em> cache.</p>
<pre class="terminal">cd /home/e-smith/db/
mv yum_repositories yum_repositories.po
/etc/e-smith/events/actions/initialize-default-databases
signal-event yum-modify
yum clean all</pre>
<p>After doing so, issue the following commands to let <em>SME</em> rewrite it&#8217;s config.</p>
<pre class="terminal">signal-event post-upgrade; signal-event reboot</pre>
<p>Now you can update <em>yum</em> through yum itself (I know this sounds strange but this second update helps to get all the GPG keys for the repositories right).</p>
<pre class="terminal">yum update yum
signal-event post-upgrade; signal-event reboot</pre>
<p>Now you can proceed with a normal update to get the whole system up to 7.4. I had to do this following process twice because the updates seem to have pulled in some new dependencies which in turn have to get updated.</p>
<pre class="terminal">yum update yum
signal-event post-upgrade; signal-event reboot</pre>
<p>That&#8217;s it. I&#8217;m sure there might be an easier way but at least these are the steps the helped me get the system up to date. If you have questions just leave me a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sebastian.himberger.de/blog/2009/10/23/updating-a-broken-sme-7-1-server-to-version-74/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
