<?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>Raskas' blog &#187; bash</title>
	<atom:link href="http://www.raskas.be/blog/tag/bash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.raskas.be/blog</link>
	<description>Everything is possible... You only have to find out how.</description>
	<lastBuildDate>Wed, 22 Jun 2011 15:14:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Apt-rpm dependency problem</title>
		<link>http://www.raskas.be/blog/2009/08/12/apt-rpm-dependency-problem/</link>
		<comments>http://www.raskas.be/blog/2009/08/12/apt-rpm-dependency-problem/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 15:30:08 +0000</pubDate>
		<dc:creator>Johan Huysmans</dc:creator>
				<category><![CDATA[Linux SysAdmin]]></category>
		<category><![CDATA[apt]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://www.raskas.be/blog/?p=98</guid>
		<description><![CDATA[When installing some rpm&#8217;s on a CentOS5 system I encountered a dependency problem.
Apt told me that it depends on a specific file which isn&#8217;t provided by any package in the repository. After some investigation I noticed that the rpm WAS available in the repository, and that yum correctly found that package.
The problem was that the [...]]]></description>
			<content:encoded><![CDATA[<p>When installing some rpm&#8217;s on a CentOS5 system I encountered a dependency problem.</p>
<p>Apt told me that it depends on a specific file which isn&#8217;t provided by any package in the repository. After some investigation I noticed that the rpm WAS available in the repository, and that yum correctly found that package.</p>
<p>The problem was that the specific file needed by the package was a symlink provided by the other package. The symlink file is known by the rpm (rpm -ql /path/to/file gives the rpm) but isn&#8217;t know by apt.</p>
<p>Instead of running genbasedir with the location of the repository as only argument, add the &#8211;bloat argument.<br />
<code><br />
genbasedir --bloat /path/to/repository<br />
</code><br />
This will solve the problem!</p>
<p><br/></p>
<p>I noticed this problem during the installation of redhat-lsb on a very minimal CentOS5 system. redhat-lsb requires 2 files (which are symlinks), these files are provided by&#8230; redhat-lsb itselve&#8230;</p>
<p>If you didn&#8217;t use the &#8211;bloat argument the redhat-lsb package couldn&#8217;t be installed with apt, it could be installed with yum or rpm.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.raskas.be/blog/2009/08/12/apt-rpm-dependency-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Input/Output redirection, appending</title>
		<link>http://www.raskas.be/blog/2008/08/15/inputoutput-redirection-appending/</link>
		<comments>http://www.raskas.be/blog/2008/08/15/inputoutput-redirection-appending/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 13:58:18 +0000</pubDate>
		<dc:creator>Johan Huysmans</dc:creator>
				<category><![CDATA[Linux SysAdmin]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[bug]]></category>

		<guid isPermaLink="false">http://www.raskas.be/blog/?p=85</guid>
		<description><![CDATA[In a previous post I wrote about output redirection of STDOUT, STDERR and both to a file. Off course you can do the same to append to an existing file:

ls &#62;&#62; output.txt
ls 2&#62;&#62; error.txt

If you try this with &#38;&#62;&#62; you will receive a bash syntax error:

ls &#38;&#62;&#62; output_and_error.txt
bash: syntax error near unexpected token `&#62;'

How come [...]]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://www.raskas.be/blog/2007/02/26/inputoutput-redirection/" target="_blank">a previous post</a> I wrote about output redirection of STDOUT, STDERR and both to a file. Off course you can do the same to append to an existing file:<br />
<code><br />
ls &gt;&gt; output.txt<br />
ls 2&gt;&gt; error.txt<br />
</code><br />
If you try this with &amp;&gt;&gt; you will receive a bash syntax error:<br />
<code><br />
ls &amp;&gt;&gt; output_and_error.txt<br />
bash: syntax error near unexpected token `&gt;'<br />
</code></p>
<p>How come appending of both STDOUT and STDERR to a file does not work this way? Is this a bug in bash?<br />
Yes, I know I can use the following, but I prefer the &amp;&gt;&gt;:<code><br />
ls 1>> output_and_error.txt 2>&#038;1<br />
</code></p>
<p>And how come I can&#8217;t find a bugzilla for bash?<br />
Yes, I know I can use the command bashbug to send a mail to a mailinglist, but this is not the same as bugzilla.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.raskas.be/blog/2008/08/15/inputoutput-redirection-appending/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

