<?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>Pario TechnoBlob &#187; Core 8</title>
	<atom:link href="http://pario.no/tag/core-8/feed/" rel="self" type="application/rss+xml" />
	<link>http://pario.no</link>
	<description>A cronological documentation test project, nothing serious, really!</description>
	<lastBuildDate>Thu, 26 Apr 2012 08:18:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Upgrade from Fedora Core 7 to Core 8</title>
		<link>http://pario.no/2007/11/30/upgrade-from-fedora-core-7-to-core-8/</link>
		<comments>http://pario.no/2007/11/30/upgrade-from-fedora-core-7-to-core-8/#comments</comments>
		<pubDate>Fri, 30 Nov 2007 11:40:17 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Core 7]]></category>
		<category><![CDATA[Core 8]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://pario.no/2007/11/30/upgrade-from-fedora-core-7-to-core-8/</guid>
		<description><![CDATA[This is the steps I took to upgrade a running Fedora Core 7 installation to Core 8 using yum from the command line. Please note that live upgrades are not recommended by the Fedora Project. Make a list of the systems current packages for later reference: rpm -qa --qf '%{NAME}\n' &#124; sort &#124; uniq &#62; [...]]]></description>
			<content:encoded><![CDATA[<p>This is the steps I took to upgrade a running Fedora Core 7 installation to Core 8 using yum from the command line. Please note that  live upgrades are not recommended by the Fedora Project.</p>
<p>Make a list of the systems current packages for later reference:</p>
<pre>
rpm -qa --qf '%{NAME}\n' | sort | uniq &gt; ~/new-pkgnames.txt</pre>
<p>Make a backup of any system configuration data (as root):</p>
<pre>
tar czf ~/etc-`date +%F`.tar.gz /etc</pre>
<p><code><br />
yum clean all</code></p>
<p>Make sure the new repo files isn&#8217;t placed as .rpmnew files, perhaps by</p>
<pre>
mv /etc/yum.repos.d/fedora-updates.repo.rpmnew /etc/yum.repos.d/fedora-updates.repo
mv /etc/yum.repos.d/fedora.repo.rpmnew /etc/yum.repos.d/fedora.repo</pre>
<p>Also make sure that all the 3rd party repos you normally use point to the repository for the new Fedora release.</p>
<p>Next the upgrade.<br />
Make sure you are in runlevel 3</p>
<pre>
telinit 3</pre>
<p>Run the following command to update the yum repo on your box:</p>
<pre>
rpm -Uhv rpm -Uvh rpm -Uvh http://mirror.anl.gov/pub/fedora/linux/releases/8/Everything/i386/os/Packages/fedora-release-8-3.noarch.rpm http://mirror.anl.gov/pub/fedora/linux/releases/8/Everything/i386/os/Packages/fedora-release-notes-8.0.0-3.noarch.rpm</pre>
<p><strong>yum</strong> might complain about conflicts or requirements. That is probably because you have used non-standard repositories or installed non-standard packages manually. Try to guess which packages cause the problem (or at least is a part of the dependency chain) &#8211; uninstall them and try again. Remember to install the packages again if they are essential.</p>
<p><strong>Tip: Find and review &#8220;lost&#8221; packages. </strong><br />
You can find orphaned packages (ie packages not in the repositories anymore) after the upgrade with the tool package-cleanup from the yum-utils package
<pre>yum install yum-utils; package-cleanup --orphans</pre>
<p>It&#8217;s often helpful to run this command before the update, too. For packages with a failing &#8220;%postun&#8221; script the old package will remain partly installed. Remove it with
<pre>rpm -e package-name-and-version</pre>
<p>If you forget to remove the avahi package it will refuse to be removed from the system with a error message &#8220;error: %postun(avahi-0.6.17-1.fc7.i386) scriptlet failed, exit status 1&#8243;. I haven&#8217;t looked up this error message any further.</p>
<p>I had to clean yum to make it aware of the recent package change, this might not be necessary.</p>
<pre>
yum clean all
yum upgrade</pre>
<p>Ensure that all (new) essential packages from the new version is installed with</p>
<pre>
yum groupupdate Base</pre>
<p>You might want to update other groups too, see</p>
<pre>
yum grouplist</pre>
<p>The system had to upgrade 937 packages before fedora Core 7 is a fedora Core 8 installation.</p>
<p>After the upgrade has finished a reboot is required and it was time to check for orphaned packages</p>
<pre>
package-cleanup --orphans</pre>
<p>The command for removing these packages is described earlier.</p>
<p>Source: <a href="http://docs.fedoraproject.org/install-guide/f8/en_US/sn-upgrade-tree.html">http://docs.fedoraproject.org/install-guide/f8/en_US/sn-upgrade-tree.html</a>,  <a href="http://www.ioncannon.net/system-administration/133/upgrading-from-fedora-7-to-fedora-8-with-yum/">http://www.ioncannon.net/system-administration/133/upgrading-from-fedora-7-to-fedora-8-with-yum/</a> and <a href="http://fedoraproject.org/wiki/YumUpgradeFaq">http://fedoraproject.org/wiki/YumUpgradeFaq</a></p>
<script type="text/javascript">var wordpress_toolbar_urls = ["http:\/\/docs.fedoraproject.org\/install-guide\/f8\/en_US\/sn-upgrade-tree.html","http:\/\/www.ioncannon.net\/system-administration\/133\/upgrading-from-fedora-7-to-fedora-8-with-yum\/","http:\/\/fedoraproject.org\/wiki\/YumUpgradeFaq"];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDcvMTEvMzAvdXBncmFkZS1mcm9tLWZlZG9yYS1jb3JlLTctdG8tY29yZS04Lzx3cHRiPlVwZ3JhZGUgZnJvbSBGZWRvcmEgQ29yZSA3IHRvIENvcmUgODx3cHRiPmh0dHA6Ly9wYXJpby5ubzx3cHRiPlBhcmlvIFRlY2hub0Jsb2I%3D";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2007/11/30/upgrade-from-fedora-core-7-to-core-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

