<?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>Spind.net Blog &#187; RPM</title>
	<atom:link href="http://blog.spind.net/tag/rpm/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.spind.net</link>
	<description>Stories from the trenches of System Administration</description>
	<lastBuildDate>Mon, 19 Dec 2011 09:21:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Updating CentOS &#8211; the right way</title>
		<link>http://blog.spind.net/2009/04/15/updating-centos-the-right-way/</link>
		<comments>http://blog.spind.net/2009/04/15/updating-centos-the-right-way/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 14:13:43 +0000</pubDate>
		<dc:creator>hc</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RPM]]></category>
		<category><![CDATA[Yum]]></category>

		<guid isPermaLink="false">http://blog.spind.net/?p=121</guid>
		<description><![CDATA[I&#8217;ve always had trouble understanding exactly why I would get a million .rpmnew files after updating my servers, especially when those files were exactly identical to their original counterparts. Luckily there seems to be a solution &#8211; the yum-merge-conf plugin! I updated my CentOS 5.2 to 5.3 by running yum --merge-conf, and after downloading and [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve always had trouble understanding exactly why I would get a million <tt>.rpmnew</tt> files after updating my servers, especially when those files were exactly identical to their original counterparts. Luckily there seems to be a solution &#8211; the <tt>yum-merge-conf</tt> plugin!</p>
<p>I updated my CentOS 5.2 to 5.3 by running <tt>yum --merge-conf</tt>, and after downloading and updating, yum asked me what it should do about the new configuration files &#8211; kindly sparing me the identical ones:</p>
<div class="codebox">
&#8230;<br />
Config files &#8216;/etc/ld.so.conf&#8217; and &#8216;/etc/ld.so.conf.rpmnew&#8217; are identical, I&#8217;m removing the duplicate one<br />
Config files &#8216;/etc/nsswitch.conf&#8217; and &#8216;/etc/nsswitch.conf.rpmnew&#8217; are identical, I&#8217;m removing the duplicate one<br />
Config files &#8216;/etc/krb5.conf&#8217; and &#8216;/etc/krb5.conf.rpmnew&#8217; are identical, I&#8217;m removing the duplicate one<br />
Config files &#8216;/etc/libaudit.conf&#8217; and &#8216;/etc/libaudit.conf.rpmnew&#8217; are identical, I&#8217;m removing the duplicate one</p>
<p>Package sudo: merging configuration for file &#8220;/etc/sudoers&#8221;:<br />
By default, RPM would keep your local version and rename the new one to /etc/sudoers.rpmnew<br />
What do you want to do ?<br />
 &#8211; diff the two versions (d)<br />
 &#8211; do the default RPM action (q)<br />
 &#8211; install the package&#8217;s version (i)<br />
 &#8211; merge interactively with vim (v)<br />
 &#8211; background this process and examine manually (z)<br />
Your answer ?
</p></div>
<p>I chose <em>install the package’s version</em> for everything I know I didn&#8217;t mess with, and <em>do the default RPM action</em> (keep local version) for the ones I had been tweaking.</p>
<p>Now, isn&#8217;t that cool?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.spind.net/2009/04/15/updating-centos-the-right-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

