<?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>PCR&#039;s notepad &#187; Linux</title>
	<atom:link href="http://notepad.patheticcockroach.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://notepad.patheticcockroach.com</link>
	<description>The area in patheticcockroach.com where the EEG isn&#039;t isoelectric</description>
	<lastBuildDate>Fri, 30 Jul 2010 11:13:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Opera 10.10 fails to load on Fedora 13 64 bits</title>
		<link>http://notepad.patheticcockroach.com/793/opera-10-10-fails-to-load-on-fedora-13-64-bits/</link>
		<comments>http://notepad.patheticcockroach.com/793/opera-10-10-fails-to-load-on-fedora-13-64-bits/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 07:56:13 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Opera]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=793</guid>
		<description><![CDATA[I ended up installing Fedora 13 from a USB key, and the Live USB creation program I used (UNetbootin) wouldn&#8217;t work with anything more complete than the LiveCD. So, a lot of dependencies are missing. For the NVIDIA drivers, the missing stuff was kernel-devel and gcc. For Opera 10.10, it was&#8230; Qt 3. So, to [...]]]></description>
			<content:encoded><![CDATA[<p>I ended up installing Fedora 13 from a USB key, and the Live USB creation program I used (<a href="http://unetbootin.sourceforge.net/">UNetbootin</a>) wouldn&#8217;t work with anything more complete than the LiveCD. So, a lot of dependencies are missing. For the <a href="http://notepad.patheticcockroach.com/505/installing-nvidia-graphics-drivers-on-fedora-12/">NVIDIA drivers</a>, the missing stuff was kernel-devel and gcc. For Opera 10.10, it was&#8230; Qt 3. So, to make Opera work in Fedora 13 64 bits, you can either <code>yum install qt3</code> or&#8230; <a href="http://www.opera.com/browser/download/?os=linux-x86-64&#038;ver=10.60b1">get Opera 10.60 beta 1</a> (which probably relies on Qt 4, already installed if you installed things like VLC).</p>
<p>General tip: to find what dependencies are missing for a particular program:<br />
1. launch it from the terminal, so you&#8217;ll get verbose error messages (when you launch a program from the GUI usually you just see nothing if it fails)<br />
2. when you see missing files, use <a href="http://www.rpmfind.net/linux/rpm2html/search.php?query=libqt-mt.so.3">RPM Find</a> to find out what package contains the file you need.</p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/793/opera-10-10-fails-to-load-on-fedora-13-64-bits/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fedora 13 final download</title>
		<link>http://notepad.patheticcockroach.com/652/fedora-13-final-download/</link>
		<comments>http://notepad.patheticcockroach.com/652/fedora-13-final-download/#comments</comments>
		<pubDate>Tue, 25 May 2010 10:33:37 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=652</guid>
		<description><![CDATA[Fedora 13 is to be released within a few hours. I browsed around their website and eventually read about their go/no-go meetings. This pages notably says that if the release is declared GOLD: Staging to Fedora mirrors begins and cannot be reversed even if additional bugs are found. This means that as early as one [...]]]></description>
			<content:encoded><![CDATA[<p>Fedora 13 is to be released within a few hours. I browsed around their website and eventually read about their <a href="http://fedoraproject.org/wiki/Engineering_Readiness_Meetings">go/no-go meetings</a>. This pages notably says that if the release is declared GOLD:</p>
<blockquote><p><strong>Staging to Fedora mirrors begins and cannot be reversed even if additional bugs are found.</strong></p></blockquote>
<p>This means that as early as one week (or rather a few days I think) before the final release the mirrors start getting populated with the final thing. So I went ahead and tried some basic URL manipulation, in order to try to avoid the usual traffic congestion that occurs after the release. And it seems indeed that it&#8217;s possible to get Fedora right now already. Here are a few links:</p>
<ul>
<li>A French HTTP mirror (<em>Université de Nantes</em>) which seems to already have all Fedora 13 copies: <a href="http://fedora.univ-nantes.fr/fedora.redhat.com/fedora/linux/releases/13/">http://fedora.univ-nantes.fr/fedora.redhat.com/fedora/linux/releases/13/</a> (browse to the Live folder for the Live CDs, or to Fedora for the DVDs)</li>
<li>Generic Live CD (it may work or not depending on the mirror it will automatically pick for you): <a href="http://download.fedoraproject.org/pub/fedora/linux/releases/13/Live/x86_64/Fedora-13-x86_64-Live.iso">64 bits</a> &#8211; <a href="http://download.fedoraproject.org/pub/fedora/linux/releases/13/Live/i686/Fedora-13-i686-Live.iso">32 bits</a></li>
<li>Generic DVD (it may work or not depending on the mirror it will automatically pick for you): <a href="http://download.fedoraproject.org/pub/fedora/linux/releases/13/Fedora/x86_64/iso/Fedora-13-x86_64-DVD.iso">64 bits</a> &#8211; <a href="http://download.fedoraproject.org/pub/fedora/linux/releases/13/Fedora/i386/iso/Fedora-13-i386-DVD.iso">32 bits</a> &#8211; <a href="http://download.fedoraproject.org/pub/fedora/linux/releases/13/Fedora/ppc/iso/Fedora-13-ppc-DVD.iso">PPC</a></li>
</ul>
<p>But remember, those are not yet officially released. They are quite <strong>probably</strong> the final thing, but you can&#8217;t be sure until an official release statement is made. I didn&#8217;t test them either. Still, enjoy (or not <img src='http://notepad.patheticcockroach.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ).</p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/652/fedora-13-final-download/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash for Firefox on Linux 64 bits</title>
		<link>http://notepad.patheticcockroach.com/557/flash-for-linux-64-bits/</link>
		<comments>http://notepad.patheticcockroach.com/557/flash-for-linux-64-bits/#comments</comments>
		<pubDate>Mon, 03 May 2010 18:56:08 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=557</guid>
		<description><![CDATA[NB: as of July 2010, Adobe temporarily paused development of the 64 bits Linux version. This means that, although the download is still available, no security updates are currently being published, and this version of Flash does contain some serious security flaws. Installing Flash for Firefox on Linux 64 bits is easy, but it&#8217;s a [...]]]></description>
			<content:encoded><![CDATA[<p><em>NB: as of July 2010, Adobe temporarily paused development of the 64 bits Linux version. This means that, although the download is still available, no security updates are currently being published, and this version of Flash does contain <a href="http://secunia.com/advisories/product/20166/">some serious security flaws</a>.</em></p>
<p>Installing Flash for Firefox on Linux 64 bits is easy, but it&#8217;s a bit boring because since it&#8217;s still in alpha stage, there is no automated process to do it.<br />
The manual steps are detailed here: <a href="https://fedoraproject.org/wiki/Flash#64-bit_alpha">https://fedoraproject.org/wiki/Flash#64-bit_alpha</a><br />
In order to ease the pain, I eventually decided to make a tiny bash script that does this work for you. All you have to do, though, is to find the latest version number <a href="http://labs.adobe.com/downloads/flashplayer10_64bit.html">here on Adobe Labs</a> (at the bottom of the page) and edit the script to set the proper version number (second line). Here&#8217;s the script (I hope WordPress doesn&#8217;t kill the quotes like it likes to do&#8230;), just copy/paste it, edit the version if needed and save as an .sh file that you&#8217;ll chmod to 744 and run:</p>
<p><code>#!/bin/bash<br />
VERSION=10.0.45.2</p>
<p>echo "Downloading Flash Player $VERSION for Linux x86_64..."<br />
cd ~<br />
wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-$VERSION.linux-x86_64.so.tar.gz</p>
<p>echo "Unpacking..."<br />
tar zxvf libflashplayer-$VERSION.linux-x86_64.so.tar.gz</p>
<p>echo "Moving file"<br />
sudo mv libflashplayer.so /usr/lib64/mozilla/plugins/</p>
<p>echo "Cleaning up"<br />
rm libflashplayer-$VERSION.linux-x86_64.so.tar.gz</p>
<p>echo "Finished"<br />
echo "It should work even if Firefox was running, without restarting it."</code></p>
<p>This script was tested (and worked) on:</p>
<ul>
<li>Ubuntu 9.10 x64</li>
<li>Ubuntu 10.04 x64</li>
<li>Fedora 13 x64</li>
</ul>
<p>Edit (28 June): other source (in French): <a href="http://doc.fedora-fr.org/wiki/Flash_:_Installation_du_plug-in">http://doc.fedora-fr.org/wiki/Flash_:_Installation_du_plug-in</a><br />
Edit (11 July): updated tested Linux versions.</p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/557/flash-for-linux-64-bits/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New beta GeForce drivers for Linux</title>
		<link>http://notepad.patheticcockroach.com/509/new-beta-geforce-drivers-for-linux/</link>
		<comments>http://notepad.patheticcockroach.com/509/new-beta-geforce-drivers-for-linux/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 22:50:59 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[nVidia]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=509</guid>
		<description><![CDATA[Today NVIDIA released a new beta version of their GeForce drivers for Linux, Solaris and FreeBSD: version 195.30. Download links: Linux 64 bits Linux 32 bitrs FreeBSD x86 Solaris x86/x64 If you&#8217;re on Fedora 12, remember that we have an installation guide for you]]></description>
			<content:encoded><![CDATA[<p>Today NVIDIA released a new beta version of their GeForce drivers for Linux, Solaris and FreeBSD: version 195.30.</p>
<p>Download links:<br />
<a href="http://www.nvidia.com/object/linux_display_amd64_195.30.html">Linux 64 bits</a><br />
<a href="http://www.nvidia.com/object/linux_display_ia32_195.30.html">Linux 32 bitrs</a><br />
<a href="http://www.nvidia.com/object/freebsd_195.30.html">FreeBSD x86</a><br />
<a href="http://www.nvidia.com/object/solaris_display_195.30.html">Solaris x86/x64</a></p>
<p>If you&#8217;re on Fedora 12, remember that we have an <a href="http://notepad.patheticcockroach.com/505/installing-nvidia-graphics-drivers-on-fedora-12/">installation guide</a> for you <img src='http://notepad.patheticcockroach.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/509/new-beta-geforce-drivers-for-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to fix Yum when it hangs at &#8220;Setting up Package Sacks&#8221;</title>
		<link>http://notepad.patheticcockroach.com/507/how-to-fix-yum-when-it-hangs-at-setting-up-package-sacks/</link>
		<comments>http://notepad.patheticcockroach.com/507/how-to-fix-yum-when-it-hangs-at-setting-up-package-sacks/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 07:00:24 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=507</guid>
		<description><![CDATA[When installing Fedora 12 today (installing a new copy after troubles during the upgrade from Fedora 11), I got problems with yum, which tended to hang without any error message. I killed it (&#8220;kill&#8221; failed and I had to use &#8220;kill -9&#8243;, which worked), cleaned it (yum clean all), rebuilt the RPM database (I don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>When installing Fedora 12 today (installing a new copy after troubles during the upgrade from Fedora 11), I got problems with yum, which tended to hang without any error message. I killed it (&#8220;kill&#8221; failed and I had to use &#8220;kill -9&#8243;, which worked), cleaned it (<code>yum clean all</code>), rebuilt the RPM database (I don&#8217;t even remember this command, sth like rpm -rebuild, and I found out later that this might be quite risky, apparently), manually deleted some RPM data files, and also ran my yum commands in verbose mode. All I could get was yum hanging at &#8220;Setting up Package Sacks&#8221;, or after what I thought was the end of downloading repository summaries. Anyway, I was just being impatient: after letting it run in the background for maybe 5 minutes, I got an error message saying that a repo (rpmfusion, which I used for VLC) timed out&#8230;</p>
<blockquote><p>Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-12&#038;arch=x86_64 error was<br />
12: Timeout on http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-12&#038;arch=x86_64: (28, &#8221;)<br />
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmfusion-free. Please verify its path and try again</p></blockquote>
<p>The fix is simple: remove the faulty repo (what I did was I uninstalled the faulty repo and reinstalled a <a href="http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm">working copy</a> &#8211; more precisely, I removed the repo manually from <code>/etc/yum.repos.d/</code> then found out I should uninstall them properly with <code>rpm -e rpmfusion-free-release-10-5.noarch</code>). And to make sure this trap won&#8217;t ever catch me again, I dramatically decreased the timeout delay for yum, from the <a href="http://linux.die.net/man/5/yum.conf">default 30 seconds</a> to just 1: edit <code>/etc/yum.conf</code> and add <code>timeout=1</code>.</p>
<p>Other sources:<br />
- <a href="http://forums.fedoraforum.org/showthread.php?t=162296">how to remove repository? </a><br />
- <a href="http://www.graphics-muse.org/wp/?p=162">How to fix a yum when it hangs with no error messages</a></p>
<p>Bonus: a pretty long console log of me trying to install VLC, then messing with the rpm database and yum. I read somewhere that this rebuilding stuff is risky, so beware&#8230; yet my Fedora is fine now, despite all I did to hurt it! <img src='http://notepad.patheticcockroach.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Noobs like me may find useful commands, confirmed users will probably have some fun <img src='http://notepad.patheticcockroach.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  Note how miserably a the standard kills fail, while kill -9 is good.</p>
<blockquote><p>[david@dodora12 ~]$ su<br />
Password:<br />
[root@dodora12 david]# rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm<br />
Retrieving http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm<br />
warning: /var/tmp/rpm-tmp.vwxnDR: Header V3 DSA signature: NOKEY, key ID 49c8885a<br />
Preparing&#8230;                ########################################### [100%]<br />
   1:rpmfusion-free-release ########################################### [100%]<br />
[root@dodora12 david]# yum install vlc<br />
Loaded plugins: presto, refresh-packagekit<br />
Existing lock /var/run/yum.pid: another copy is running as pid 2331.<br />
Another app is currently holding the yum lock; waiting for it to exit&#8230;<br />
  The other application is: PackageKit<br />
    Memory :  22 M RSS (317 MB VSZ)<br />
    Started: Sat Dec 19 18:21:01 2009 &#8211; 00:26 ago<br />
    State  : Sleeping, pid: 2331<br />
Another app is currently holding the yum lock; waiting for it to exit&#8230;<br />
  The other application is: PackageKit<br />
    Memory :  22 M RSS (317 MB VSZ)<br />
    Started: Sat Dec 19 18:21:01 2009 &#8211; 00:28 ago<br />
    State  : Sleeping, pid: 2331<br />
Another app is currently holding the yum lock; waiting for it to exit&#8230;<br />
  The other application is: PackageKit<br />
    Memory :  22 M RSS (317 MB VSZ)<br />
    Started: Sat Dec 19 18:21:01 2009 &#8211; 00:30 ago<br />
    State  : Sleeping, pid: 2331<br />
Another app is currently holding the yum lock; waiting for it to exit&#8230;<br />
  The other application is: PackageKit<br />
    Memory :  22 M RSS (317 MB VSZ)<br />
    Started: Sat Dec 19 18:21:01 2009 &#8211; 00:32 ago<br />
    State  : Sleeping, pid: 2331<br />
^C</p>
<p>Exiting on user cancel.<br />
[root@dodora12 david]# yum install vlc<br />
Loaded plugins: presto, refresh-packagekit<br />
Existing lock /var/run/yum.pid: another copy is running as pid 2331.<br />
Another app is currently holding the yum lock; waiting for it to exit&#8230;<br />
  The other application is: PackageKit<br />
    Memory :  22 M RSS (317 MB VSZ)<br />
    Started: Sat Dec 19 18:21:01 2009 &#8211; 00:47 ago<br />
    State  : Sleeping, pid: 2331<br />
^C</p>
<p>Exiting on user cancel.<br />
[root@dodora12 david]# kill 2331<br />
[root@dodora12 david]# kill 2331<br />
bash: kill: (2331) &#8211; No such process<br />
[root@dodora12 david]# yum install vlc<br />
Loaded plugins: presto, refresh-packagekit<br />
^C^Z<br />
[1]+  Stopped                 yum install vlc<br />
[root@dodora12 david]# yum install vlc -v<br />
Not loading &#8220;blacklist&#8221; plugin, as it is disabled<br />
Loading &#8220;presto&#8221; plugin<br />
Loading &#8220;refresh-packagekit&#8221; plugin<br />
Not loading &#8220;whiteout&#8221; plugin, as it is disabled<br />
Config time: 0.057<br />
Yum Version: 3.2.25<br />
Existing lock /var/run/yum.pid: another copy is running as pid 2334.<br />
Another app is currently holding the yum lock; waiting for it to exit&#8230;<br />
  The other application is: yum<br />
    Memory :  22 M RSS (323 MB VSZ)<br />
    Started: Sat Dec 19 18:21:56 2009 &#8211; 00:25 ago<br />
    State  : Traced/Stopped, pid: 2334<br />
^C</p>
<p>Exiting on user cancel.<br />
[root@dodora12 david]# kill 2334<br />
[root@dodora12 david]#<br />
[root@dodora12 david]# kill 2334<br />
[root@dodora12 david]# kill -9 2334<br />
[root@dodora12 david]# kill -9 2334<br />
bash: kill: (2334) &#8211; No such process<br />
[1]+  Killed                  yum install vlc<br />
[root@dodora12 david]# yum install vlc -v<br />
Not loading &#8220;blacklist&#8221; plugin, as it is disabled<br />
Loading &#8220;presto&#8221; plugin<br />
Loading &#8220;refresh-packagekit&#8221; plugin<br />
Not loading &#8220;whiteout&#8221; plugin, as it is disabled<br />
Config time: 0.065<br />
Yum Version: 3.2.25<br />
Setting up Package Sacks<br />
^C^Z<br />
[1]+  Stopped                 yum install vlc -v<br />
[root@dodora12 david]# yum clean all<br />
Loaded plugins: presto, refresh-packagekit<br />
Existing lock /var/run/yum.pid: another copy is running as pid 2336.<br />
Another app is currently holding the yum lock; waiting for it to exit&#8230;<br />
  The other application is: yum<br />
    Memory :  22 M RSS (323 MB VSZ)<br />
    Started: Sat Dec 19 18:22:35 2009 &#8211; 00:13 ago<br />
    State  : Traced/Stopped, pid: 2336<br />
Another app is currently holding the yum lock; waiting for it to exit&#8230;<br />
  The other application is: yum<br />
    Memory :  22 M RSS (323 MB VSZ)<br />
    Started: Sat Dec 19 18:22:35 2009 &#8211; 00:15 ago<br />
    State  : Traced/Stopped, pid: 2336<br />
^Z<br />
[2]+  Stopped                 yum clean all<br />
[root@dodora12 david]# kill -9 2336<br />
[root@dodora12 david]# kill -9 2336<br />
bash: kill: (2336) &#8211; No such process<br />
[1]-  Killed                  yum install vlc -v<br />
[root@dodora12 david]# yum clean all<br />
Loaded plugins: presto, refresh-packagekit<br />
Cleaning up Everything<br />
[root@dodora12 david]# yum install vlc<br />
Loaded plugins: presto, refresh-packagekit<br />
fedora/metalink                                          |  28 kB     00:00<br />
fedora                                                   | 4.2 kB     00:00<br />
fedora/primary_db                                        |  12 MB     00:11<br />
^Z<br />
[3]+  Stopped                 yum install vlc<br />
[root@dodora12 david]# yum clean all<br />
Loaded plugins: presto, refresh-packagekit<br />
Existing lock /var/run/yum.pid: another copy is running as pid 2339.<br />
Another app is currently holding the yum lock; waiting for it to exit&#8230;<br />
  The other application is: yum<br />
    Memory :  23 M RSS (326 MB VSZ)<br />
    Started: Sat Dec 19 18:23:02 2009 &#8211; 02:01 ago<br />
    State  : Traced/Stopped, pid: 2339<br />
^Z<br />
[4]+  Stopped                 yum clean all<br />
[root@dodora12 david]# kill -9 2339<br />
[root@dodora12 david]# yum clean all<br />
Loaded plugins: presto, refresh-packagekit<br />
Cleaning up Everything<br />
[3]-  Killed                  yum install vlc<br />
[root@dodora12 david]# cd /var/lib/rpm<br />
[root@dodora12 rpm]# ls<br />
Basenames     __db.003     Installtid    Provideversion  Sigmd5<br />
Conflictname  __db.004     Name          Pubkeys         Triggername<br />
__db.000      Dirnames     Obsoletename  Requirename<br />
__db.001      Filedigests  Packages      Requireversion<br />
__db.002      Group        Providename   Sha1header<br />
[root@dodora12 rpm]# rm __db*<br />
rm: remove regular empty file `__db.000&#8242;? y<br />
rm: remove regular file `__db.001&#8242;? y<br />
rm: remove regular file `__db.002&#8242;? y<br />
rm: remove regular file `__db.003&#8242;? y<br />
rm: remove regular file `__db.004&#8242;? y<br />
[root@dodora12 rpm]# yum clean all<br />
Loaded plugins: presto, refresh-packagekit<br />
Cleaning up Everything<br />
[root@dodora12 rpm]# yum clean all<br />
Loaded plugins: presto, refresh-packagekit<br />
Cleaning up Everything<br />
[root@dodora12 rpm]# rpm &#8211;rebuilddb<br />
[root@dodora12 rpm]# yum clean all<br />
Loaded plugins: presto, refresh-packagekit<br />
Cleaning up Everything<br />
[root@dodora12 rpm]# yum update<br />
Loaded plugins: presto, refresh-packagekit<br />
fedora/metalink                                          |  28 kB     00:00<br />
fedora                                                   | 4.2 kB     00:00<br />
fedora/primary_db                                        |  12 MB     00:10<br />
Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-12&#038;arch=x86_64 error was<br />
12: Timeout on http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-12&#038;arch=x86_64: (28, &#8221;)<br />
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmfusion-free. Please verify its path and try again<br />
[root@dodora12 rpm]#</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/507/how-to-fix-yum-when-it-hangs-at-setting-up-package-sacks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing NVIDIA graphics drivers on Fedora 12/13</title>
		<link>http://notepad.patheticcockroach.com/505/installing-nvidia-graphics-drivers-on-fedora-12/</link>
		<comments>http://notepad.patheticcockroach.com/505/installing-nvidia-graphics-drivers-on-fedora-12/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 15:35:25 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[graphic cards]]></category>
		<category><![CDATA[nVidia]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=505</guid>
		<description><![CDATA[Well, finally, the drivers issues I met first, quite a while ago, on Fedora Core 3 have&#8230; just got bigger. To make a long story short, Fedora 12 comes with a new driver called &#8220;nouveau&#8221; (acutally, it&#8217;s not exactly new, it was already here in some previous versions but didn&#8217;t cause problems yet) which loads [...]]]></description>
			<content:encoded><![CDATA[<p>Well, finally, the drivers issues I met first, quite a while ago, on Fedora Core 3 have&#8230; just got bigger. To make a long story short, Fedora 12 comes with a new driver called &#8220;nouveau&#8221; (acutally, it&#8217;s not exactly new, it was already here in some previous versions but didn&#8217;t cause problems yet) which loads itself very early during the boot, preventing another driver from taking its place. As more accurate details may be found on the previous tutorials (<a href="http://www.patheticcockroach.com/mpam4/index.php?p=36">FC3</a> <a href="http://notepad.patheticcockroach.com/390/what-drivers-for-the-geforce-9650m-gt/">Fedora 11</a>), I&#8217;ll just list the steps (and only detail the new ones).</p>
<ul>
<li>Get the required dependencies: <code>yum install kernel-devel gcc</code></li>
<li>Grab the proper NVIDIA drivers <a href="http://www.nvidia.com/Download/Find.aspx?lang=en-us">there</a></li>
<li>Get rid of nouveau. That&#8217;s the hard part. I found several methods but none of them worked. Most notably, most or all of them required me to install NVIDIA&#8217;s drivers (they propose to use the RPM Fusion repository, but I wanted to use the drivers straight from nvidia.com, in order to be more easily up-to-date) then follow some instructions to make it beat nouveau. The problem is: NVIDIA&#8217;s drivers from nvidia.com refused to install with nouveau already running, so I had to kill it first. The solution I found was:
<ol>
<li>blacklist it: edit <code>/etc/modprobe.d/blacklist.conf</code> and add <code>blacklist nouveau</code> at the end</li>
<li>blacklist it again in Grub: edit <code>/boot/grub/menu.lst</code> and add <code>rdblacklist=nouveau</code> at the end of the line starting with &#8220;kernel&#8221; in the proper section (<del datetime="2010-01-19T14:27:04+00:00">NB: I have this file because I&#8217;m using Grub from an old Ubuntu installation, but I was told that Fedora 12 uses Grub 2, which has a totally different configuration file structure&#8230; I don&#8217;t know it, sorry</del>)</li>
<li>set the default init level to 3 (otherwise, nouveau will load when the GUI gets loaded): edit <code>/etc/inittab</code> and replace <code>id:5:initdefault:</code> with <code>id:3:initdefault:</code></li>
</ol>
<p>	This is the only working solution I found. As long as the GUI gets loaded, nouveau will get loaded too and the NVIDIA drivers will refuse to install. You will easily know if nouveau is loaded by the size of the font in the console: if it&#8217;s a large font it&#8217;s okay, if it&#8217;s a small font because the console is like in high-resolution, you did something wrong and most likely NVIDIA&#8217;s drivers will refuse to install</li>
<li>reboot</li>
<li>run the NVIDIA drivers installer (during the process, when it asks you whether it should try to update config files, say yes)</li>
<li>reboot</li>
</ul>
<p>You&#8217;re now done. I chose to let the default init level to 3 because with every kernel update we have to reinstall the NVIDIA drivers (the version installed for the previous kernel will crash with a various severity, most likely preventing you from running the installer). To load the graphical desktop after booting in init level 3, just log in as root and type <code>init 5</code>.</p>
<p>Sources I used:</p>
<ul>
<li><a href="http://www.linuxquestions.org/questions/fedora-35/fedora-12-nouveau-nvidia-driver-solution-771248/">Fedora 12 &#8211; Nouveau + Nvidia Driver Solution</a></li>
<li><a href="http://www.if-not-true-then-false.com/2009/11/howto-install-nvidia-driver-on-fedora-12-and-just-disable-the-nouveau-driver/">Howto install nVidia driver on Fedora 12 (and just disable the nouveau driver)</a></li>
<li><a href="http://rpmfusion.org/Howto/nVidia#nouveau">RPM fusion &#8211; nVidia &#8211; Nouveau compatibility</a></li>
<li><a href="http://rpmfusion.org/Howto/nVidia#head-205aab6f190d363e3915c0fa2e0681fc392aaeb6">RPM fusion &#8211; nVidia &#8211; Fedora 12</a></li>
<li><a href="http://www.nvnews.net/vbulletin/showthread.php?t=141514">Gnome Fedora 12 (Xorg 1.7.1) + 190.42 + Xv = instability</a></li>
<li><a href="http://fedorasolved.org/video-solutions/nvidia-bin">Installing the Drivers as Provided by nVidia </a></li>
</ul>
<p>Update (June 20): added dependencies, this also works for Fedora 13.</p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/505/installing-nvidia-graphics-drivers-on-fedora-12/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Fatal error: Call to undefined function: curl_init()</title>
		<link>http://notepad.patheticcockroach.com/397/fatal-error-call-to-undefined-function-curl_init/</link>
		<comments>http://notepad.patheticcockroach.com/397/fatal-error-call-to-undefined-function-curl_init/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 11:08:01 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[servers]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=397</guid>
		<description><![CDATA[I encountered this message when we enabled upload from URL on Wiki4Games. To solve the problem, you just need to enable curl support in PHP. For Windows, this is done by uncommenting extension=php_curl.dll in php.ini. For Linux (at least in Ubuntu), this is done by installing php5-curl (apt-get install php-curl). Don&#8217;t forget to restart Apache [...]]]></description>
			<content:encoded><![CDATA[<p>I encountered this message when we enabled upload from URL on Wiki4Games. To solve the problem, you just need to enable curl support in PHP. For Windows, this is done by uncommenting <code>extension=php_curl.dll</code> in php.ini. For Linux (at least in Ubuntu), this is done by installing php5-curl (<code>apt-get install php-curl</code>). Don&#8217;t forget to restart Apache (or just &#8220;apply changes&#8221; in Webmin).</p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/397/fatal-error-call-to-undefined-function-curl_init/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What drivers for the GeForce 9650M GT?</title>
		<link>http://notepad.patheticcockroach.com/390/what-drivers-for-the-geforce-9650m-gt/</link>
		<comments>http://notepad.patheticcockroach.com/390/what-drivers-for-the-geforce-9650m-gt/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 07:37:29 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[Asus M50Vn]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[graphic cards]]></category>
		<category><![CDATA[nVidia]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=390</guid>
		<description><![CDATA[Update: solution found! => here On my laptop (Adus M50Vn), I&#8217;ve had a lot of trouble with Linux (both Fedora 11 and Ubuntu 9.10) lately. After trying to update my NVIDIA graphics drivers on Windows XP, it turned out that the same problems starting to occur their too. So I was able to conclude that [...]]]></description>
			<content:encoded><![CDATA[<p><em>Update: solution found! => <a href="http://notepad.patheticcockroach.com/497/the-final-solution-to-nvidias-geforce-9650m-gt-drivers-problems/">here</a></em></p>
<p>On my laptop (Adus M50Vn), I&#8217;ve had a lot of trouble with Linux (both Fedora 11 and Ubuntu 9.10) lately. After trying to update my NVIDIA graphics drivers on Windows XP, it turned out that the same problems starting to occur their too. So I was able to conclude that these issues were probably caused by the NVIDIA drivers and not by the OS itself. For Windows, I reverted back to the latest version I had installed without problem, <a href="http://www.laptopvideo2go.com/drivers/xp/180.70">version 180.70</a> (18 Nov 2008). For Linux, Ubuntu let me downgrade to 173 from the hardware drivers control panel (which at the moment seems to apply only to graphics drivers), and at first I didn&#8217;t understand why there wasn&#8217;t any other old version available (there were 2 choices only: 173 and 185). Then I did Fedora, but for this I had to go to NVIDIA&#8217;s website since Fedora doesn&#8217;t offer automatic installation for proprietary software. I eventually managed to find the legacy drivers page, which explained why Ubuntu let me only pick 173 as an old driver: it&#8217;s the latest legacy driver. Here is the Linux/FreeBSD/Solaris driver download page: <a href="http://www.nvidia.com/object/unix.html">http://www.nvidia.com/object/unix.html</a>. Just pick the 173.14.20 and it should work fine. And actually, I just tried the 190.42 and it <del datetime="2009-11-16T22:33:13+00:00">seems to work okay too on Fedora so you may want to try that one instead</del> nvm it&#8217;s buggy too (NB: the 195.39 doesn&#8217;t work well on Windows XP: performances are much better but there are some important glitches).<br />
Don&#8217;t forget that for Fedora (or any Linux installation which implies using NVIDIA&#8217;s official installer), with every kernel update you&#8217;ll need to re-run the NVIDIA driver installer&#8230; so keep it somewhere easy to find. Full installation procedure on Fedora 11:</p>
<ol>
<li><strong>CTRL+ALT+F2</strong> to go to a text console</li>
<li><strong>su</strong> to connect as root (of course you can also use sudo)</li>
<li><strong>init 3</strong> to shutdown X</li>
<li>run the installer (<strong>cd /directory</strong> then <strong>./installer.sh</strong>). During the process it should be able to successfully update Xorg.conf.</li>
<li><strong>init 5</strong> to restart X without restarting the whole computer</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/390/what-drivers-for-the-geforce-9650m-gt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating an anonymous FTP with ProFTPd</title>
		<link>http://notepad.patheticcockroach.com/316/creating-an-anonymous-ftp-with-proftpd/</link>
		<comments>http://notepad.patheticcockroach.com/316/creating-an-anonymous-ftp-with-proftpd/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 06:32:41 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[FTP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[servers]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=316</guid>
		<description><![CDATA[I&#8217;m just posting this as a back up, in fact. This configuration snippet can be used to create an anonymous FTP with read-only privilege in ProFTPd: ##Anonymous for etfiles downloads &#60;Anonymous /home/zengamer/sd/etfiles&#62; User www-data Group nogroup # UserAlias -- Alias a username to a system user UserAlias anonymous www-data &#60;Limit LOGIN&#62; AllowAll &#60;/Limit&#62; # Cosmetic [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m just posting this as a back up, in fact. This configuration snippet can be used to create an anonymous FTP with read-only privilege in ProFTPd:<br />
<code>##Anonymous for etfiles downloads<br />
&lt;Anonymous /home/zengamer/sd/etfiles&gt;<br />
   User				www-data<br />
   Group			nogroup<br />
   # UserAlias -- Alias a username to a system user<br />
   UserAlias			anonymous www-data<br />
  &lt;Limit LOGIN&gt;<br />
    AllowAll<br />
  &lt;/Limit&gt;<br />
   # Cosmetic changes, all files belongs to ftp user<br />
   #DirFakeUser	on ftp<br />
   #DirFakeGroup on ftp</p>
<p>   RequireValidShell		off</p>
<p>   # Limit the maximum number of anonymous logins<br />
   MaxClients			30</p>
<p>   # We want 'welcome.msg' displayed at login, and '.message' displayed<br />
   # in each newly chdired directory.<br />
   DisplayLogin			welcome.msg<br />
   DisplayFirstChdir		.message</p>
<p>   # Limit WRITE everywhere in the anonymous chroot<br />
   &lt;Directory *&gt;<br />
     &lt;Limit WRITE DELE STOR&gt;<br />
       DenyAll<br />
     &lt;/Limit&gt;<br />
     &lt;Limit READ&gt;<br />
       AllowAll<br />
     &lt;/Limit&gt;<br />
   &lt;/Directory&gt;<br />
&lt;/Anonymous&gt;</code></p>
<p>Also, adding the following is necessary to prevent the anonymous user from browsing the whole computer:<br />
<code>&lt;Global&gt;<br />
DefaultRoot ~<br />
&lt;/Global&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/316/creating-an-anonymous-ftp-with-proftpd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Show hidden files with ProFTPD</title>
		<link>http://notepad.patheticcockroach.com/224/show-hidden-files-with-proftpd/</link>
		<comments>http://notepad.patheticcockroach.com/224/show-hidden-files-with-proftpd/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 18:56:15 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[FTP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[servers]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=224</guid>
		<description><![CDATA[I used to have no problem displaying hidden files (more precisely, my .htaccesss files) using FileZilla client with ProFTPD, but for some reason suddenly they disappeared&#8230; Adding (or editing) the following option in /etc/proftpd/proftpd.conf fixed this: ListOptions &#8220;-a&#8221; (actually I used ListOptions &#8220;-al&#8221; because the default behavior was -l, which is quite useful to me)]]></description>
			<content:encoded><![CDATA[<p>I used to have no problem displaying hidden files (more precisely, my .htaccesss files) using FileZilla client with ProFTPD, but for some reason suddenly they disappeared&#8230; Adding (or editing) the following option in /etc/proftpd/proftpd.conf fixed this:</p>
<blockquote><p>ListOptions &#8220;-a&#8221;</p></blockquote>
<p>(actually I used ListOptions &#8220;-al&#8221; because the default behavior was -l, which is quite useful to me)</p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/224/show-hidden-files-with-proftpd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
