<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cobra's bits (Posts about mandriva)</title><link>https://cobra.pdes-net.org</link><description></description><atom:link href="https://cobra.pdes-net.org/categories/mandriva.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2024 &lt;a href="mailto:najahannah@gmail.com"&gt;Cobra&lt;/a&gt; 
&lt;a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/4.0/"&gt;
&lt;img alt="Creative Commons License BY-NC-SA"
style="border-width:0; margin-bottom:12px;"
src="../images/by-nc-sa.svg"&gt;&lt;/a&gt;</copyright><lastBuildDate>Wed, 01 May 2024 12:19:59 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>The last day of summer</title><link>https://cobra.pdes-net.org/posts/the-last-day-of-summer.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;Or: &lt;strong&gt;How to lose loyal users: a beginners guide for soon-to-be extinct Linux distributions&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Promise that the badly needed upgrade will be recognized by the update manager.&lt;/li&gt;
&lt;li&gt;Just in case if not, put a description on the Wiki which can't possibly work. Let the user find out why.&lt;/li&gt;
&lt;li&gt;After the user found out and forced the upgrade, arrange numerous conflicts which increase the users problem-solving ability.&lt;/li&gt;
&lt;li&gt;When the user has sorted out all the challenges, present a kernel panic upon reboot. Give him the real deal!&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Farewell, Mandriva! You were my trusted companion for a decade, and I'm sure to miss many of your amenities. But I can't use a system which offers a TeX distribution from 2007, and which breaks upon an online upgrade.&lt;/p&gt;
&lt;p&gt;There was no question what I'd install instead: that had been clear since my discovery of Arch Linux &lt;a href="https://cobra.pdes-net.org/posts/arch.html" title="more than two years ago"&gt;more than two years ago&lt;/a&gt;. I use Debian Testing on all &lt;a href="https://cobra.pdes-net.org/posts/nomen-est-omen.html" title="compute servers"&gt;compute servers&lt;/a&gt;, but it's not quite up-to-date enough for a desktop if you ask me (I was an avid user of Mandriva Cooker until I decided that this platform, while offering comparatively current packages, is simply too unstable to be of use). In contrast, I have not seen Arch to break in the two years I'm following its progress in two virtual machines. I also became moderately familiar with Arch Linux itself, which I still believe to be the most transparent and, in a sense, most simple distribution I've ever tested and used.&lt;/p&gt;
&lt;p&gt;The installation and configuration was, as usual, straightfoward, but two issues remain. First, 'keychain' works, but neither 'openssh-askpass' nor 'ksshaskpass' do. I thus have to manually call 'ssh-add' upon each reboot. Admittingly not a big thing. The second issue is more disturbing: while both 'privoxy' and 'pdnsd' work perfect separately, they don't work together. I just get 404s when trying, and I have no clue as to the reason.&lt;/p&gt;
&lt;p&gt;Everything else, however, functions perfectly. There are, of course, many small things to be taken care of when changing from a very old to a very new distribution (just think about python 2.x and 3.x), but most of this tinkering is over and done. I can lean back and enjoy. 😉&lt;/p&gt;
&lt;p&gt;&lt;a href="https://cobra.pdes-net.org/images/desktop_110911_90.webp"&gt;&lt;img alt="New desktop" src="https://cobra.pdes-net.org/images/desktop_110911_scaled_80.webp"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The little pacman you see in the tray, by the way, is the icon of &lt;a href="https://bitbucket.org/otsug/yapan/wiki/Home" title="yapan"&gt;yapan&lt;/a&gt;, a cute little update manager which keeps the system up-to-date in its own cute little way. 😊&lt;/p&gt;</description><category>archlinux</category><category>desktop</category><category>mandriva</category><guid>https://cobra.pdes-net.org/posts/the-last-day-of-summer.html</guid><pubDate>Sun, 11 Sep 2011 13:26:40 GMT</pubDate></item><item><title>Mandrolla</title><link>https://cobra.pdes-net.org/posts/mandrolla.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;Many of you will know that that the future of Mandriva looks bleak. Most of the active developers of Mandriva were layed off following the liquidation of Edge-IT, a Mandriva SA subsidiary, earlier this year. A few days later, these developers announced a fork of Mandriva, purely community driven and called Mageia. The community was delighted and declared Mandriva dead almost unanimously. Mandriva SA, in turn, protested and assured that Mandriva is alive and intends to stay so.&lt;/p&gt;
&lt;p&gt;I actually thought that all this bickering wouldn't matter to me any more, as I've planned to acquire a new computer and to install an entirely different distribution during the Christmas holidays. This won't happen for various reasons, and for a lack of both time and energy, I've decided to just let Mandriva continue to run on my trusted E6600. And why not? Everything works fine, and I have far fewer complaints than with certain other distributions. 😉&lt;/p&gt;
&lt;p&gt;So, I was comfortably settled, when suddenly updates started to pour in. Imagine my surprise when one of these updates turned out to be a brand new kernel. Is Mandriva going to be a rolling distro after all?&lt;/p&gt;
&lt;p&gt;No, it won't. Actually, this rather unexpected upgrade is officially a &lt;a href="http://blog.mandriva.com/2010/11/16/mandriva-development-news/"&gt;Christmas present&lt;/a&gt;. Others will suspect an act of desperation, but I'd say that was simply necessary to keep the distro on a competetive level. Who knows, perhaps there's life in the old dog yet. 😉&lt;/p&gt;</description><category>mandriva</category><guid>https://cobra.pdes-net.org/posts/mandrolla.html</guid><pubDate>Sun, 19 Dec 2010 18:58:42 GMT</pubDate></item><item><title>Usable</title><link>https://cobra.pdes-net.org/posts/usable.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;Software tends to get fatter with time. Just look at Firefox, which started as Phoenix with the self-proclaimed aim to fight the bloat of the Mozilla project. Look at it now: a fatter browser was never seen.&lt;/p&gt;
&lt;p&gt;Others are not better. When upgrading my Mini to Maverick Meerkat, I've noticed that Chromium now takes 50 MB of my precious SSD space, just as much as Firefox does.&lt;/p&gt;
&lt;p&gt;But what can we do? Light-weight alternatives—such as links—are limited in ability and performance, aren't they?&lt;/p&gt;
&lt;p&gt;Are they?&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;&lt;span class="n"&gt;uzbl&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;git&lt;/span&gt;&lt;span class="mf"&gt;.20100403&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="mf"&gt;1652.8&lt;/span&gt;&lt;span class="n"&gt;ms&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;+/-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mf"&gt;3.2&lt;/span&gt;&lt;span class="o"&gt;%&lt;/span&gt;
&lt;span class="n"&gt;Chromium&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mf"&gt;8.0.551.0&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;62128&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="mf"&gt;1834.8&lt;/span&gt;&lt;span class="n"&gt;ms&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;+/-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mf"&gt;2.0&lt;/span&gt;&lt;span class="o"&gt;%&lt;/span&gt;
&lt;span class="n"&gt;Firefox&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mf"&gt;3.6.10&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="mf"&gt;4163.6&lt;/span&gt;&lt;span class="n"&gt;ms&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;+/-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mf"&gt;1.4&lt;/span&gt;&lt;span class="o"&gt;%&lt;/span&gt;

&lt;span class="n"&gt;root&lt;/span&gt;&lt;span class="nv"&gt;@mini&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;home&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;cobra&lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;wajig&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;size&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;grep&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;chromium&lt;/span&gt;
&lt;span class="n"&gt;chromium&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;codecs&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;ffmpeg&lt;/span&gt;&lt;span class="w"&gt;                  &lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;180&lt;/span&gt;
&lt;span class="n"&gt;chromium&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;browser&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;inspector&lt;/span&gt;&lt;span class="w"&gt;              &lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;940&lt;/span&gt;
&lt;span class="n"&gt;chromium&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;browser&lt;/span&gt;&lt;span class="w"&gt;                    &lt;/span&gt;&lt;span class="mi"&gt;49&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;252&lt;/span&gt;
&lt;span class="n"&gt;root&lt;/span&gt;&lt;span class="nv"&gt;@mini&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;home&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;cobra&lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;wajig&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;size&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;grep&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;uzbl&lt;/span&gt;
&lt;span class="n"&gt;uzbl&lt;/span&gt;&lt;span class="w"&gt;                            &lt;/span&gt;&lt;span class="mi"&gt;656&lt;/span&gt;

&lt;span class="n"&gt;root&lt;/span&gt;&lt;span class="nv"&gt;@mini&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;home&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;cobra&lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;wajig&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;remove&lt;/span&gt;
&lt;span class="n"&gt;chromium&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;codecs&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;ffmpeg&lt;/span&gt;
&lt;span class="n"&gt;chromium&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;browser&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;inspector&lt;/span&gt;
&lt;span class="n"&gt;chromium&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;browser&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Adblocker? Privoxy:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;vi ~/.config/uzbl/config
set proxy_url = http://127.0.0.1:8118
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;I also like&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;&lt;span class="nv"&gt;@cbind&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;gc&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nl"&gt;Scroogle&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;uri&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;https&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;//&lt;/span&gt;&lt;span class="n"&gt;ssl&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;scroogle&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;org&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;cgi&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;bin&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;nbbwssl&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;cgi&lt;/span&gt;&lt;span class="vm"&gt;?&lt;/span&gt;&lt;span class="n"&gt;Gw&lt;/span&gt;&lt;span class="o"&gt;=%&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;
&lt;span class="nv"&gt;@cbind&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;gx&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;IxQuick&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;uri&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;https&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;//&lt;/span&gt;&lt;span class="n"&gt;ixquick&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;com&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;do&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;metasearch&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;pl&lt;/span&gt;&lt;span class="vm"&gt;?&lt;/span&gt;&lt;span class="n"&gt;query&lt;/span&gt;&lt;span class="o"&gt;=%&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="n"&gt;cat&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;web&lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="n"&gt;pl&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;chrome&lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="k"&gt;language&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;english&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;in ~/.config/uzbl/config.&lt;/p&gt;
&lt;p&gt;I love this browser...its just perfect for the Mini 😊 And vi aficionadas have a new home. 😉&lt;/p&gt;</description><category>debian</category><category>linux</category><category>mandriva</category><category>ubuntu</category><guid>https://cobra.pdes-net.org/posts/usable.html</guid><pubDate>Sun, 17 Oct 2010 21:46:35 GMT</pubDate></item><item><title>Workaround</title><link>https://cobra.pdes-net.org/posts/workaround.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;Folding@Home is, as so many times before, broken on Linux systems with a reasonably up-to-date version of libc and either segfaults or stops working with bizzare error messages such as 'Couldn't CosmHTTPOpen' or 'Cannot get ID from server'. Since many solutions posted in the interwebs are wrong or deprecated, here's a &lt;a href="http://foldingforum.org/viewtopic.php?f=58&amp;amp;t=14782" title="workaround"&gt;viable workaround&lt;/a&gt; which I know to work on Debian, Ubuntu, Mandriva, and Arch (and Fedora, I've heard).&lt;/p&gt;
&lt;p&gt;Install nscd, then check your /etc/nscd.conf with your $EDITOR. Find the following line:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;enable-cache            hosts           no
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Change "no" to "yes", if necessary, then save and exit the editor. Finally, issue a&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;service nscd restart
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;and fold away.&lt;/p&gt;</description><category>debian</category><category>linux</category><category>mandriva</category><category>ubuntu</category><guid>https://cobra.pdes-net.org/posts/workaround.html</guid><pubDate>Thu, 29 Jul 2010 19:47:26 GMT</pubDate></item><item><title>Keep pushin'</title><link>https://cobra.pdes-net.org/posts/keep-pushin.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;Mandriva 2010 Spring has been finalized (after several serious delays) at the 9th of July. The 'Mandriva Update Applet' apparently missed this event, since it did not yet offer me an upgrade, though several mirrors have been populated days ago. I finally lost my patience, and told the senile applet that a new version is out:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;mdkapplet-upgrade-helper --new_distro_version=2010.1
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Since then, the applet is dutyfully doing its job:&lt;/p&gt;
&lt;p&gt;&lt;img alt="upgrade to 2010 spring" src="https://cobra.pdes-net.org/images/upgrade-to-2010.1.png"&gt;&lt;/p&gt;
&lt;p&gt;PS: Since probably nobody will be able to make the link, I'll explain: the title is a reference to a favored song of mine. 8)&lt;/p&gt;</description><category>mandriva</category><guid>https://cobra.pdes-net.org/posts/keep-pushin.html</guid><pubDate>Sun, 18 Jul 2010 10:08:30 GMT</pubDate></item><item><title>make: don't know how to make love</title><link>https://cobra.pdes-net.org/posts/make-dont-know-how-to-make-love.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;The title of this entry is an old joke born in times when package managers were not yet invented. All administrators thus had to know how to install programs from the source with the now well-known, and even famous sequence of commands, the "rule of three":&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;./configure
make
make install
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Now, you can still install programs in this old-fashioned but canonical way. But aren't there better ways?&lt;/p&gt;
&lt;p&gt;Oh yes, and we are all using them: they are called &lt;a href="http://en.wikipedia.org/wiki/Package_management"&gt;package managers.&lt;/a&gt; They did away with the &lt;a href="http://en.wikipedia.org/wiki/Dependency_hell"&gt;d&lt;/a&gt;&lt;a href="http://en.wikipedia.org/wiki/Dependency_hell"&gt;ependency hell&lt;/a&gt;, which was the source of constant irritation in the early days of Unix before the development of package managers dealing with dependencies (that, by the way, is just a decade ago). &lt;a href="http://en.wikipedia.org/wiki/Ian_Murdock"&gt;Ian Murdock&lt;/a&gt; called package management the &lt;a href="http://ianmurdock.com/solaris/how-package-management-changed-everything/"&gt;single biggest advancement Linux has brought to the industry&lt;/a&gt;, and I fully agree. It's the prime reason why I'm using Linux and not MacOS.&lt;/p&gt;
&lt;p&gt;You now may understand why I principally consider the above "rule of three" as the last resort. Bypassing the package management is always possible, and in the rare cases I do that, I install everything in /usr/local as recommended. Yet, this should be done in exceptional cases only, and not become the standard. Remember that these self-installed packages are not part of the automatic security updates offered by your package manager, nor can they be cleany removed in an automated way. In other words, these packages need to be looked after and pampered, and I just don't want that on my system.&lt;/p&gt;
&lt;p&gt;But what to do if your distribution simply doesn't offer a package you're interested in, or only a grossly outdated version? &lt;/p&gt;
&lt;p&gt;There are a number of possibilities, and there's an helpful &lt;a href="http://www.philippwesche.org/200811/whohas/intro.html"&gt;tool&lt;/a&gt; which helps to explore some of them.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;First of all, I always check whether the tarball of the program I've just downloaded contains a *.spec file. Then, a simple 'rpmbuild -ta &lt;bla&gt;.tar.gz' might suffice to create a binary rpm out of the tarball &lt;bla&gt;. You can then install this rpm with the package manager of your liking. 😉&lt;/bla&gt;&lt;/bla&gt;&lt;/li&gt;
&lt;li&gt;Second, if there's no *.spec, or if compilation fails, there's a high chance that &lt;a href="http://en.wikipedia.org/wiki/Alien_(software)"&gt;alien&lt;/a&gt; will work. For example, my versions of gdis and gwyddion are both the offspring of a conversion from a debian/sid package to an rpm by alien. To find out whether the desired program is somewhere out there, you can use &lt;a href="http://www.philippwesche.org/200811/whohas/intro.html"&gt;whohas &lt;/a&gt;as mentioned above. Beware: the script does not run out of the box. One needs to specify the version numbers of current distributions in line 50 ff, and currently it is also advisable to deactivate mandriva and slackware (just underneath, switch to zero). In any case, after you found the package you need by whohas (which tells you the address!) and downloaded it, simply run 'alien --to-rpm --scripts &lt;bla&gt;.deb' and install the resulting rpm by your package manager. Or vice versa: 'alien --to-deb --scripts &lt;bla&gt;.rpm'&lt;/bla&gt;&lt;/bla&gt;&lt;/li&gt;
&lt;li&gt;Third, you may, in exceptional cases, also install packages build for another distribution. Fedora packages, for example, can often be installed on Mandriva and vice versa. However, you should only do that if you're versed in this business, as it can easily wreck your system.&lt;/li&gt;
&lt;/ul&gt;</description><category>debian</category><category>linux</category><category>mandriva</category><category>suse</category><category>ubuntu</category><guid>https://cobra.pdes-net.org/posts/make-dont-know-how-to-make-love.html</guid><pubDate>Sat, 28 Nov 2009 13:12:23 GMT</pubDate></item><item><title>Murphy</title><link>https://cobra.pdes-net.org/posts/murphy.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;What's quite unlikely in these times? A power failure.&lt;br&gt;
What's even more unlikely? Me upgrading at the exact minute of the power failure to the first release candidate of Mandriva 2010.&lt;/p&gt;
&lt;p&gt;System didn't boot at first, but that could be fixed by a straightforward repair of grub. After that, it became obvious that all further updates were complicated by the fact that the rpm database contained more than 600 duplicates, i.e., the system believed to have the same package installed in both 2009.1 and 2010.0 version. An 'rpm --rebuilddb' didn't help. What to do?&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;rpm -qa --queryformat '%{NAME}-%{VERSION}\n' | sort | uniq -d &amp;gt; duplicates_0
while read pkg; do rpm -q "$pkg" &amp;gt; duplicates_1; done &amp;lt; duplicates_0
sed -i '/2010/d' duplicates_1
while read pkg; do urpme "$pkg" &amp;amp;&amp;amp; echo "$pkg"; done &amp;lt; duplicates_1
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Instead of the sed command, you can also load duplicates_1 in vim, and:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;:g/2010/delete
ZZ
&lt;/pre&gt;&lt;/div&gt;</description><category>linux</category><category>mandriva</category><category>suse</category><guid>https://cobra.pdes-net.org/posts/murphy.html</guid><pubDate>Sat, 03 Oct 2009 19:01:13 GMT</pubDate></item><item><title>Ich weiß immer, was ich tue</title><link>https://cobra.pdes-net.org/posts/ich-wei-immer-was-ich-tue.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;Where did I write that? When? And WHY?&lt;/p&gt;
&lt;p&gt;Calm down: questions like that can once again be answered on KDE, this time using the Nepomuk search service:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://cobra.pdes-net.org/images/kernelchaos.png"&gt;&lt;img alt="search in dolphin" src="https://cobra.pdes-net.org/images/kernelchaos_scaled.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Even easier than that: just type in your search term in krunner after issuing alt+F2:&lt;/p&gt;
&lt;p&gt;&lt;img alt="search in krunner" src="https://cobra.pdes-net.org/images/kernelchaos_in_krunner.png"&gt;&lt;/p&gt;
&lt;p&gt;In this example, Nepomuk/Strigi finds more than above. That's just because I created a blog entry in the meantime, and all related folders/files are found ... basically in real time. That's pretty neat.&lt;/p&gt;
&lt;p&gt;PS: It's official home page claims that strigi &lt;a href="http://strigi.sourceforge.net/"&gt;is the fastest and smallest desktop searching program&lt;/a&gt;. Hm ... on startup it uses more than 100 MB, and after one day of usage, 400 MB. &lt;em&gt;Small&lt;/em&gt; is different.&lt;/p&gt;
&lt;p&gt;PPS: Yes, the title is an insider. It refers to &lt;a href="http://www.trojaner-board.de/15636-zu-eurer-erbauung.html"&gt;this story&lt;/a&gt;. 😉&lt;/p&gt;</description><category>desktop</category><category>mandriva</category><guid>https://cobra.pdes-net.org/posts/ich-wei-immer-was-ich-tue.html</guid><pubDate>Sun, 28 Jun 2009 21:28:52 GMT</pubDate></item><item><title>Automatic</title><link>https://cobra.pdes-net.org/posts/automatic.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;&lt;a href="https://cobra.pdes-net.org/posts/backup-again.html"&gt;As promised&lt;/a&gt;, let's talk about automated backups to a remote server.&lt;/p&gt;
&lt;p&gt;Let me stress, first of all: the most important characteristics of a sensible backup scheme is that the backup takes place automatically, without &lt;em&gt;any&lt;/em&gt; user intervention. Without this automatism, the backup you'd need will be missing since it was never made. That's one of Murphy's laws which is valid strictly!&lt;/p&gt;
&lt;p&gt;There's one very elegant and secure way to do just that, which I'll describe in the following. Note that this way is &lt;em&gt;not&lt;/em&gt; standardized amongst the various distributions. I trust you to find the culprits and solutions for the specific distribution of interest for you ... the following, however, applies to Mandriva.&lt;/p&gt;
&lt;p&gt;First of all, make sure that you have installed OpenSSH. Generate a SSH2-DSA key pair by executing 'ssh-keygen -t dsa' in a terminal. Set a passphrase to protect your private key! Next, issue 'ssh-copy-id server.name.xy' to copy your credentials to the remote server. Follow the instructions.&lt;/p&gt;
&lt;p&gt;Next, install keychain as well as one of the ssh-askpass dependencies (personally, I prefer gnome-ssh-askpass). &lt;a href="http://www.gentoo.org/proj/en/keychain/"&gt;Keychain&lt;/a&gt; is a frontend for ssh-agent, which in turn provides a secure way of storing the passphrase of your private key. For doing that, ssh-agent creates a socket in /tmp with restrictive permissions and then checks the connections from ssh. Keychain allows you to have one ssh-agent process per system, rather than per login session. That is, keychain will ask for your ssh passphrase only upon reboot.&lt;/p&gt;
&lt;p&gt;Now, just try and reboot. Being asked for your ssh passphrase? Good! Note that keychain also manages gpg-agent.&lt;/p&gt;
&lt;p&gt;For automation, we utilize cron. Copy the following two lines:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;#Backup
15&lt;span class="w"&gt; &lt;/span&gt;11,14,17,20&lt;span class="w"&gt; &lt;/span&gt;*&lt;span class="w"&gt; &lt;/span&gt;*&lt;span class="w"&gt; &lt;/span&gt;*&lt;span class="w"&gt;    &lt;/span&gt;source&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;$HOME&lt;/span&gt;/.keychain/&lt;span class="cp"&gt;${&lt;/span&gt;&lt;span class="n"&gt;HOSTNAME&lt;/span&gt;&lt;span class="cp"&gt;}&lt;/span&gt;-sh;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;$HOME&lt;/span&gt;/bin/backup.rdiff
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Save them as 'cronentry' to a temporary location. Open this file with any editor and modify the path to your backup script (which may look just like the backup.rdiff I've shown &lt;a href="https://cobra.pdes-net.org/posts/backup-again.html"&gt;here&lt;/a&gt;). Furthermore, change the time (the first number indicates the minute, the second the hour of a daily backup. The above, for example, means that the backup is processed daily and each three hours between 11.15 AM to 20.15 PM.) Then, execute 'crontab cronentry' in a terminal to create your crontab entry.&lt;/p&gt;
&lt;p&gt;That's it. You should now enjoy a fully automatic backup. If you want to change, say, the intervals of your backup scheme, use 'crontab -e'.&lt;/p&gt;</description><category>backup</category><category>encryption</category><category>mandriva</category><guid>https://cobra.pdes-net.org/posts/automatic.html</guid><pubDate>Sun, 14 Jun 2009 11:43:39 GMT</pubDate></item><item><title>Size matters</title><link>https://cobra.pdes-net.org/posts/size-matters.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;Last week a friend asked me for help with a rather simple LaTeX problem (he wanted to include an image and rotate it, which you can achieve with the angle option of the \includegraphics command). Of course, you'd find this solution also in the manual of the graphicx package, and I thus recommended to install the texlive documentation. Rather thoughtless, as it turned out. He later informed me that he didn't intend to waste more than 10% of the limited storage capacity of his netbook just for 'fucking manuals'. Hey, I understand! I wouldn't do that myself. 😒&lt;/p&gt;
&lt;p&gt;However, what I regularly do is to check the size of the package I'm planning to install. All package managers I know offer this possibility. Try for yourself. 😉&lt;/p&gt;
&lt;p&gt;Mandriva&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;urpmq -y &amp;lt;name&amp;gt;
urpmq -i &amp;lt;exact-name&amp;gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Debian&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;wajig search &amp;lt;name&amp;gt;
wajig detail &amp;lt;exact-name&amp;gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Arch&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;pacman -Ss &amp;lt;name&amp;gt;
pacman -Si &amp;lt;exact-name&amp;gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Suse&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;zypper search &amp;lt;name&amp;gt;
zypper info &amp;lt;exact-name&amp;gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Most likely, the texlive documentation will turn out to be by far the largest package avaliable for your distribution. On Mandriva, for example, it is 500 MB in size. No, you probably won't want to install this package on a netbook equipped with a 4 GB SSD...&lt;/p&gt;</description><category>archlinux</category><category>debian</category><category>linux</category><category>mandriva</category><category>suse</category><category>ubuntu</category><guid>https://cobra.pdes-net.org/posts/size-matters.html</guid><pubDate>Sat, 02 May 2009 11:04:37 GMT</pubDate></item></channel></rss>