<?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>Chmouel&#039;s Blog &#187; RedHat</title>
	<atom:link href="http://blog.chmouel.com/category/redhat/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.chmouel.com</link>
	<description>Random and probably boring stuff.</description>
	<lastBuildDate>Wed, 01 Feb 2012 10:28:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Yum Force Exclude List</title>
		<link>http://blog.chmouel.com/2008/03/20/yum-force-exclude-list/</link>
		<comments>http://blog.chmouel.com/2008/03/20/yum-force-exclude-list/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 09:36:06 +0000</pubDate>
		<dc:creator>chmouel</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[RedHat]]></category>

		<guid isPermaLink="false">http://www.chmouel.com/blog/2008/03/20/yum-force-exclude-list/</guid>
		<description><![CDATA[While talking with my fellow colleague Darren Birkett about what seems a design limitation of yum to not be able to force listing the excludes from yum. I had a shoot to make a yum plugin to force listing the &#8230; <a href="http://blog.chmouel.com/2008/03/20/yum-force-exclude-list/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>While talking with my fellow colleague Darren Birkett about what seems a design limitation<br />
of yum to not be able to force listing the excludes from yum. I had a<br />
shoot to make a yum plugin to force listing the excludes.</p>
<p>Here is how it works :</p>
<blockquote><p>root@centos5:~&gt; grep exclude /etc/yum.conf<br />
exclude=rpm*<br />
root@centos5:~&gt; yum install rpm-devel<br />
Loading &#8220;installonlyn&#8221; plugin<br />
Loading &#8220;changelog&#8221; plugin<br />
Loading &#8220;chmouel&#8221; plugin<br />
Loading &#8220;priorities&#8221; plugin<br />
Setting up Install Process<br />
Setting up repositories<br />
Reading repository metadata in from local files<br />
Excluding Packages in global exclude list<br />
Finished<br />
0 packages excluded due to repository priority protections<br />
Parsing package install arguments<br />
Nothing to do</p></blockquote>
<p>rpm* is excluded, but if we use the environment variable <strong>FORCE_EXCLUDE</strong><br />
it will force it.</p>
<blockquote><p> root@centos5:~&gt; FORCE_EXCLUDE=true yum install rpm-devel<br />
Loading &#8220;installonlyn&#8221; plugin<br />
Loading &#8220;changelog&#8221; plugin<br />
Loading &#8220;chmouel&#8221; plugin<br />
Loading &#8220;priorities&#8221; plugin<br />
Setting up Install Process<br />
Setting up repositories<br />
Reading repository metadata in from local files<br />
0 packages excluded due to repository priority protections<br />
Parsing package install arguments<br />
Resolving Dependencies<br />
&#8211;&gt; Populating transaction set with selected packages. Please wait.<br />
&#8212;&gt; Downloading header for rpm-devel to pack into transaction set.<br />
rpm-devel-4.4.2-47.el5.i3 100% |=========================| 17 kB 00:00<br />
&#8212;&gt; Package rpm-devel.i386 0:4.4.2-47.el5 set to be updated<br />
&#8211;&gt; Running transaction check<br />
[.....]</p></blockquote>
<p>It will allow you to list the excluded rpm as well :</p>
<blockquote><p> root@centos5:~&gt; FORCE_EXCLUDE=true yum list|grep rpm<br />
rpm.i386 4.4.2-47.el5 installed<br />
rpm-libs.i386 4.4.2-47.el5 installed<br />
rpm-python.i386 4.4.2-47.el5 installed<br />
redhat-rpm-config.noarch 8.0.45-22.el5.centos base<br />
rpm-build.i386 4.4.2-47.el5 base<br />
rpm-devel.i386 4.4.2-47.el5 base<br />
root@centos5:~&gt; yum list|grep rpm<br />
rpm.i386 4.4.2-47.el5 installed<br />
rpm-libs.i386 4.4.2-47.el5 installed<br />
rpm-python.i386 4.4.2-47.el5 installed<br />
redhat-rpm-config.noarch 8.0.45-22.el5.centos base</p></blockquote>
<p>See the README.txt in the rpm file to see how to use/install it.</p>
<p>You can download the rpm<a href="http://www.chmouel.com/blog/wp-content/uploads/2008/03/yum-forceexclude-02-1noarch.rpm" title="Yum Force Exclude Plugin"> here</a> and the src.rpm <a href="http://www.chmouel.com/blog/wp-content/uploads/2008/03/yum-forceexclude-02-1src.rpm" title="Yum Force Exclude Plugin src.rpm">here</a></p>
<blockquote></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.chmouel.com/2008/03/20/yum-force-exclude-list/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>How to get bright LS colors on Redhat with dark background</title>
		<link>http://blog.chmouel.com/2006/12/20/how-to-get-bright-ls-colors-on-redhat-with-dark-background/</link>
		<comments>http://blog.chmouel.com/2006/12/20/how-to-get-bright-ls-colors-on-redhat-with-dark-background/#comments</comments>
		<pubDate>Thu, 21 Dec 2006 02:52:01 +0000</pubDate>
		<dc:creator>chmouel</dc:creator>
				<category><![CDATA[RedHat]]></category>

		<guid isPermaLink="false">http://www.chmouel.com/blog/2006/12/20/how-to-get-bright-ls-colors-on-redhat-with-dark-background/</guid>
		<description><![CDATA[Something that i haven&#8217;t find via goole. By default on RedHat (and derivatives) if you get a dark background the colored ls will be seen really humm bold from a xterm (since i guess there default gnome-terminal has been configured &#8230; <a href="http://blog.chmouel.com/2006/12/20/how-to-get-bright-ls-colors-on-redhat-with-dark-background/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Something that i haven&#8217;t find via goole. By default on RedHat (and derivatives) if you get a dark background the colored ls will be seen really humm bold from a xterm (since i guess there default gnome-terminal has been configured to have a white background ). </p>
<p>The solution is to</p>

<div class="wp_codebox"><table><tr id="p282"><td class="code" id="p28code2"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>DIR_COLORS <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>DIR_COLORS.xterm</pre></td></tr></table></div>

<p>or to redefine your dircolors to get the /etc/DIR_COLORS files instead of /etc/DIR_COLORS.xterm in your shell init configuration.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chmouel.com/2006/12/20/how-to-get-bright-ls-colors-on-redhat-with-dark-background/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

