<?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>yken.org &#187; Fedora</title>
	<atom:link href="http://yken.org/tag/fedora/feed/" rel="self" type="application/rss+xml" />
	<link>http://yken.org</link>
	<description>...it depends</description>
	<lastBuildDate>Sun, 07 Mar 2010 17:47:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ruby, Rails and httpd on Fedora 8</title>
		<link>http://yken.org/2008/10/18/ruby-rails-and-httpd-on-fedora-8/</link>
		<comments>http://yken.org/2008/10/18/ruby-rails-and-httpd-on-fedora-8/#comments</comments>
		<pubDate>Sat, 18 Oct 2008 22:18:54 +0000</pubDate>
		<dc:creator>ikendra</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://yken.org/2008/10/18/ruby-rails-and-httpd-on-fedora-8/</guid>
		<description><![CDATA[Just a short summary of how to install Ruby on Rails framework on Fedora 8 and how to configure it to work with Apache 2. Perhaps this might come handy to someone.
 1. Install Ruby programming language and Rails framework

$ sudo yum install ruby
$ sudo gem install rails  --include-dependencies

2. Install header files and libraries [...]]]></description>
			<content:encoded><![CDATA[<p>Just a short summary of how to install Ruby on Rails framework on Fedora 8 and how to configure it to work with Apache 2. Perhaps this might come handy to someone.</p>
<p><span id="more-68"></span> 1. Install Ruby programming language and Rails framework</p>
<pre>
$ sudo yum install ruby
$ sudo gem install rails  --include-dependencies
</pre>
<p>2. Install header files and libraries for building extension libraries for Ruby</p>
<pre>
$sudo yum install ruby-devel
</pre>
<p>3. Download and install <a href="http://www.modrails.com/">Passenger</a>, an Apache module for deployment Ruby on Rails applications on Apache. When running &#8220;passenger-install-apache2-module&#8221;, follow the instructions on the screen to solve any problems (the installer is friendly and helpful).</p>
<pre>
$ sudo gem install passenger
$ passenger-install-apache2-module
</pre>
<p>4. Create a sample Ruby on Rails application</p>
<pre>
$ cd ~/public_html
$ rails  demo
</pre>
<p>5. That&#8217;s it, you should now be able to access your Ruby on Rails application on localhost using web browser</p>
<p><!--more--></p>
<p><img src="http://yken.org/wp-content/ruby-on-rails-on-apache.jpg" alt="Ruby on Rails application on Apache" /></p>
]]></content:encoded>
			<wfw:commentRss>http://yken.org/2008/10/18/ruby-rails-and-httpd-on-fedora-8/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fedora 8: select the repositories carefully</title>
		<link>http://yken.org/2007/11/15/fedora-8-select-the-repositories-carefully/</link>
		<comments>http://yken.org/2007/11/15/fedora-8-select-the-repositories-carefully/#comments</comments>
		<pubDate>Thu, 15 Nov 2007 22:55:15 +0000</pubDate>
		<dc:creator>ikendra</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://yken.org/2007/11/15/fedora-8-select-the-repositories-carefully/</guid>
		<description><![CDATA[A week ago, I installed Fedora 8, from scratch. The installation went fine, I customized the system to my liking, using the default GUI. After a week, however,  I could not initialize an X session anymore. And the problem occurred straight after I downloaded the package updates as the system prompted me to do.

The [...]]]></description>
			<content:encoded><![CDATA[<p>A week ago, I installed Fedora 8, from scratch. The installation went fine, I customized the system to my liking, using the default GUI. After a week, however,  I could not initialize an X session anymore. And the problem occurred straight after I downloaded the package updates as the system prompted me to do.</p>
<p><span id="more-58"></span></p>
<p>The X session would not initialize because of the following error:</p>
<p><span id="codeblock"> X.Org X Server 1.4.0.1<br />
Release Date: 5 September 2007<br />
X Protocol Version 11, Revision 0<br />
Build Operating System: Linux 2.6.20-1.3002.fc6xen i686<br />
Current Operating System: Linux tank.matrix.local 2.6.23.1-49.fc8 #1 SMP Thu Nov 8 21:41:26 EST 2007 i686<br />
Build Date: 13 November 2007  05:47:17PM<br />
Build ID: xorg-x11-server 1.4.99.1-0.10.fc9<br />
Before reporting problems, check http://wiki.x.org<br />
to make sure that you have the latest version.<br />
Module Loader present<br />
Markers: (&#8211;) probed, (**) from config file, (==) default setting,<br />
(++) from command line, (!!) notice, (II) informational,<br />
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.<br />
(==) Log file: &#8220;/var/log/Xorg.0.log&#8221;, Time: Thu Nov 15 22:31:35 2007<br />
(==) Using config file: &#8220;/etc/X11/xorg.conf&#8221;<br />
dlopen: /usr/lib/xorg/modules/drivers//nvidia_drv.so: undefined symbol: xf86GetPciVideoInfo<br />
(EE) Failed to load /usr/lib/xorg/modules/drivers//nvidia_drv.so<br />
(EE) Failed to load module &#8220;nvidia&#8221; (loader failed, 7)<br />
(EE) No drivers available.Fatal server error:<br />
no screens found<br />
giving up.<br />
xinit:  Connection refused (errno 111):  unable to connect to X server<br />
xinit:  No such process (errno 3):  Server error</span></p>
<p><!--more--></p>
<p>I immediately thought that the update broke something related to Nvidia driver, see the undefined symbol above. So I re-installed the driver:</p>
<p><span id="codeblock"> [ikendra@tank][~] sudo yum remove kmod-nvidia<br />
[ikendra@tank][~] sudo yum install kmod-nvidia<br />
</span></p>
<p><!--more--></p>
<p>This didn&#8217;t help and I started to suspect Fedora from releasing a broken update. However, because I have never seen such a major problem after Fedora update, I decided to log on IRC to discuss this with competent people. On the #fedora-qa channel I chatted with a friendly and helpful tester from Fedora, Will Woods. After a few questions, he found the root cause of the problem: I had the fedora-development repository enabled which means that the packages from current development head repository were downloaded. This was easy to be confirmed by issuing</p>
<p><span id="codeblock"> [ikendra@tank][~] cat /var/log/yum.log | grep &#8220;fc9&#8243;<br />
</span></p>
<p><!--more--><br />
So it was entirely my mistake. Will asked me, what made me enable the repository at the first place. Good question! I confused fedora-development with fedora-updates-testing &#8211; I was interested in the test updates not realizing that I enabled the Rawhide repository. Although I was entirely aware of the fact that the Rawhide cannot be considered stable, I wasn&#8217;t aware of the fact I was actually enabling it and the UI did not warn me:</p>
<p><!--more--></p>
<p><img src="http://yken.org/wp-content/repositories.jpg" alt="Fedora 8 Repository Manager" align="bottom" /></p>
<p><!--more--></p>
<p>I tried to save the day by disabling the fedora-development repository and issuing&#8230;</p>
<p><span id="codeblock"> [ikendra@tank][~] sudo yum install yum-utils<br />
[ikendra@tank][~] package-cleanup &#8211;orphans<br />
</span></p>
<p><!--more--><br />
&#8230;to get the list of all fc9 package installed in order to remove them and re-install the fc8 packages &#8211; the list was however too long, I will have to reinstall the system. I was glad that Will acknowledged the fact that the repository name &#8220;fedora-development&#8221; was confusing. It was a good school for me, too, but I could have imagined to spend the evening in a different way! <img src='http://yken.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://yken.org/2007/11/15/fedora-8-select-the-repositories-carefully/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Fedora 7: Unresolveable requirement gecko-libs = 1.8.1.4 for epiphany</title>
		<link>http://yken.org/2007/07/31/fedora-7-unresolveable-requirement-gecko-libs-1814-for-epiphany/</link>
		<comments>http://yken.org/2007/07/31/fedora-7-unresolveable-requirement-gecko-libs-1814-for-epiphany/#comments</comments>
		<pubDate>Tue, 31 Jul 2007 21:38:09 +0000</pubDate>
		<dc:creator>ikendra</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Fedora]]></category>

		<guid isPermaLink="false">http://yken.org/2007/07/31/fedora-7-unresolveable-requirement-gecko-libs-1814-for-epiphany/</guid>
		<description><![CDATA[When I started my trusty home PC to process some of my holiday photographs (that explains the silence on this web, I hope), Fedora 7 presented me with the list of 92 updates available for my system. I usually let the the pup (Package Updater) to update all packages and it usually works just fine. [...]]]></description>
			<content:encoded><![CDATA[<p>When I started my trusty home PC to process some of my holiday photographs (that explains the silence on this web, I hope), Fedora 7 presented me with the list of 92 updates available for my system. I usually let the the pup (Package Updater) to update all packages and it usually works just fine. This time, Package Updater kept on displaying the &#8220;Error resolving dependencies&#8221; message.</p>
<p><span id="more-56"></span></p>
<p><a href="http://yken.org/wp-content/update-problem-1.jpg" title="Fedora 7 - Error resolving dependencies"><img src="http://yken.org/wp-content/update-problem-1.jpg" alt="Fedora 7 - Error resolving dependencies" /></a></p>
<p><!--more--></p>
<p>To resolve the problem, I unchecked the epiphany and firefox packages and let the Package Updater finish the job. A subsequent check for updates (still using the Package Updater) would bring up the update for the two packages (as expected), the update would break on the same dependency (also as expected).</p>
<p><!--more--></p>
<p>After closing the Package Updater I opened a Terminal to find out more details about the problem:</p>
<p><span id="codeblock"><br />
[ikendra@tank][~] sudo yum update<br />
Loading &#8220;installonlyn&#8221; plugin<br />
Setting up Update Process<br />
Resolving Dependencies<br />
&#8211;&gt; Running transaction check<br />
&#8212;&gt; Package epiphany.i386 0:2.18.3-2.fc7 set to be updated<br />
&#8212;&gt; Package firefox-devel.i386 0:2.0.0.5-1.fc7 set to be updated<br />
&#8212;&gt; Package firefox.i386 0:2.0.0.5-1.fc7 set to be updated<br />
&#8211;&gt; Processing Dependency: gecko-libs = 1.8.1.4 for package: epiphany<br />
&#8211;&gt; Finished Dependency Resolution<br />
Error: Unresolveable requirement gecko-libs = 1.8.1.4 for epiphany</span></p>
<p>Since I didn&#8217;t have much clues what is causing this problem (any hint would be much appreciated), my next step to resolve the problem was to use brute force by doing the following:</p>
<p><span id="codeblock"><br />
[ikendra@tank][~] sudo yum remove epiphany<br />
[ikendra@tank][~] sudo yum update<br />
[ikendra@tank][~] sudo yum install epiphany<br />
</span></p>
<p>This way, I now have both firefox and epiphany updated.</p>
]]></content:encoded>
			<wfw:commentRss>http://yken.org/2007/07/31/fedora-7-unresolveable-requirement-gecko-libs-1814-for-epiphany/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Upgrading to Fedora 7: have your partitions labeled</title>
		<link>http://yken.org/2007/06/03/upgrading-to-fedora-7-have-your-partitions-labeled/</link>
		<comments>http://yken.org/2007/06/03/upgrading-to-fedora-7-have-your-partitions-labeled/#comments</comments>
		<pubDate>Sun, 03 Jun 2007 12:06:08 +0000</pubDate>
		<dc:creator>ikendra</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://yken.org/2007/06/03/upgrading-to-fedora-7-have-your-partitions-labeled/</guid>
		<description><![CDATA[Although &#8220;doing a clean installation and then restoring user data from backups is known to work better&#8221;, Fedora recommends to use CD/DVD installer to upgrade your Fedora Core installation to a higher version. I usually perform a clean install when updating Linux at home, this time however, I decided to let Anaconda (the Fedora installer) [...]]]></description>
			<content:encoded><![CDATA[<p>Although &#8220;doing a clean installation and then restoring user data from backups is known to work better&#8221;, Fedora <a href="http://fedoraproject.org/wiki/DistributionUpgrades">recommends</a> to use CD/DVD installer to upgrade your Fedora Core installation to a higher version. I usually perform a clean install when updating Linux at home, this time however, I decided to let Anaconda (the Fedora installer) to do the job. I was very pleased with the overall result with one exception: the installer forced me to manually modify my /etc/fstab, refusing to continue otherwise.</p>
<p><span id="more-49"></span></p>
<p>Due to a change in the way that the Linux kernel handles storage devices, the device names like /dev/hdX or /dev/sdX may differ from the values used in earlier releases. In Fedora 7, for instance the first partition on my first disk (ATA) is now</p>
<p><span class="contentpre">/dev/sda1</span></p>
<p>instead of</p>
<p><span class="contentpre">/dev/hda1</span></p>
<p>and for instance the first partition on my second disk (SATA) is now named</p>
<p><span class="contentpre">/dev/sdb1</span></p>
<p>instead of</p>
<p><span class="contentpre">/dev/sda1</span></p>
<p>I wasn&#8217;t aware of this change before upgrading to Fedora 7. And because I had previously modified my /etc/fstab manually using the device names linked to the mount points instead of using labels, Fedora 7 installer now refused to upgrade.</p>
<p><!--more--></p>
<p>The solution was to boot back to the original installation and to run &#8220;e2label&#8221; to create a label for each partition on your disk. It is pretty simple:</p>
<p><span class="contentpre">[ikendra@tank][~] sudo /sbin/e2label /dev/hda6 HOME</span></p>
<p><!--more--></p>
<p>After that, modify your /etc/fstab to use the labels instead of device names. Example: modify the fstab line which used to be for instance</p>
<p><span class="contentpre">/dev/hda6              /home                   ext3    defaults        1 2</span></p>
<p>to</p>
<p><span class="contentpre">LABEL=HOME              /home                   ext3    defaults        1 2</span></p>
<p><!--more--></p>
<p>I recommend a single reboot to the original Fedora installation to check if all partitions were mounted as expected. After that, run the installer again, it will work.</p>
]]></content:encoded>
			<wfw:commentRss>http://yken.org/2007/06/03/upgrading-to-fedora-7-have-your-partitions-labeled/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
