<?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; rpmforge</title>
	<atom:link href="http://pario.no/tag/rpmforge/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>Replace RPMforge packages with Redhats own on a RHEL5 system</title>
		<link>http://pario.no/2009/05/25/replace-rpmforge-packages-with-redhats-own-on-a-rhel5-system/</link>
		<comments>http://pario.no/2009/05/25/replace-rpmforge-packages-with-redhats-own-on-a-rhel5-system/#comments</comments>
		<pubDate>Mon, 25 May 2009 09:19:30 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[RedHat]]></category>
		<category><![CDATA[RHEL4]]></category>
		<category><![CDATA[rhel5]]></category>
		<category><![CDATA[rpmforge]]></category>

		<guid isPermaLink="false">http://pario.no/?p=1096</guid>
		<description><![CDATA[This post came to life after experiencing some upgrade problems with missing dependencies and RPM packages from RPMforge and Redhat Enterprise Linux Client release 5. The prosess to remove or replace the packages was to remove RPMforge as a package repository and replace the blocking packages with Redhats own packages. The process of replacing RPMforge [...]]]></description>
			<content:encoded><![CDATA[<p>This post came to life after experiencing some upgrade problems with missing dependencies and RPM packages from RPMforge and Redhat Enterprise Linux Client release 5. The prosess to remove or replace the packages was to remove RPMforge as a package repository and replace the blocking packages with Redhats own packages.</p>
<p><strong>The process of replacing RPMforge packages with Redhats own packages</strong><br />
First we remove rpmforge as package repository</p>
<pre>
rpm -e rpmforge</pre>
<p>This command removes the <strong>/etc/yum.repos.d/rpmforge.repo</strong> file.</p>
<p>Then we list all packages installed from the RPMforge repository to get an overview of the packages causing problems on the system.</p>
<pre>
rpm -qa --queryformat %{NAME}-%{VERSION}-%{ARCH}-%{RELEASE}\\n|sort|grep el5.rf</pre>
<p>The result</p>
<pre>
dnsmasq-2.47-x86_64-1.el5.rf
libsndfile-1.0.17-x86_64-1.el5.rf
lftp-3.7.12-x86_64-1.el5.rf
...</pre>
<p>The <strong>rf</strong> ending tells you that these packages are RPMforge packages. This command also tells you if it is 32bit (i386) or 64bit  (x86_64) packages. I&#8217;ve described the prosess of removing 32- and 64bits packages in a earlier post named <a href"=http://pario.no/2007/11/23/remove-duplicate-packages-when-querying-the-rpm-database/">Remove duplicate packages when querying the rpm database</a>.</p>
<p>Howto remove 64bit packages</p>
<pre>
yum remove libsndfile.x86_64</pre>
<p>Next we will download the packages we want to replace, in my case dnsmasq</p>
<p><strong>On a RHEL5 system</strong></p>
<pre>
yumdownloader dnsmasq</pre>
<p>If you don&#8217;t have yumdownloader in your system you have to install the <strong>yum-utils</strong> package.</p>
<p><strong>On a RHEL4 system</strong></p>
<pre>
up2date -d dnsmasq</pre>
<p>Then we replace the RPMforge RPM package with Redhats own package</p>
<pre>
# rpm -Uvh --replacepkgs --oldpackage dnsmasq-2.45-1.el5_2.1.x86_64.rpm
Preparing...                ########################################### [100%]
   1:dnsmasq                ########################################### [100%]</pre>
<p>If you don&#8217;t use the <strong>&#8211;oldpackage</strong> option you might get an error message like this</p>
<pre>
package dnsmasq-2.47-1.el5.rf.x86_64 (which is newer than dnsmasq-2.45-1.el5_2.1.x86_64) is already installed</pre>
<p>I continued removing RPMForge packages until yum managed to resolve any unresolved dependencies.</p>
<script type="text/javascript">var wordpress_toolbar_urls = [];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDkvMDUvMjUvcmVwbGFjZS1ycG1mb3JnZS1wYWNrYWdlcy13aXRoLXJlZGhhdHMtb3duLW9uLWEtcmhlbDUtc3lzdGVtLzx3cHRiPlJlcGxhY2UgUlBNZm9yZ2UgcGFja2FnZXMgd2l0aCBSZWRoYXRzIG93biBvbiBhIFJIRUw1IHN5c3RlbTx3cHRiPmh0dHA6Ly9wYXJpby5ubzx3cHRiPlBhcmlvIFRlY2hub0Jsb2I%3D";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2009/05/25/replace-rpmforge-packages-with-redhats-own-on-a-rhel5-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

