<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://www.baszerr.eu/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>BaSzErr - blog:2012:09:09</title>
        <description></description>
        <link>https://www.baszerr.eu/</link>
        <lastBuildDate>Wed, 06 May 2026 08:51:15 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>https://www.baszerr.eu/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
            <title>BaSzErr</title>
            <link>https://www.baszerr.eu/</link>
        </image>
        <item>
            <title>1</title>
            <link>https://www.baszerr.eu/doku.php?id=blog:2012:09:09:1</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;package_fixing&quot;&gt;2012.09.09 - package fixing&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
weekend barely started and the first kaboom came along. my softRAID array reported strange errors on one of the drives. welcome to the world of errors. ok – let&amp;#039;s see what /dev/sda is complaining about… aha – read error. whatever – try rebuilding it:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;mdadm --manage /dev/md1 -f /dev/sda
mdadm --manage /dev/md1 -r /dev/sda
mdadm --manage /dev/md1 -a /dev/sda
watch cat /proc/mdstat&lt;/pre&gt;

&lt;p&gt;
3 hours later everything is up and running. until today. first clue – &lt;a href=&quot;https://en.wikipedia.org/wiki/segmentation fault&quot; class=&quot;interwiki iw_wp&quot; title=&quot;https://en.wikipedia.org/wiki/segmentation fault&quot;&gt;segmentation fault&lt;/a&gt; from one of the init&amp;#039;s scripts. after starting &lt;a href=&quot;https://en.wikipedia.org/wiki/X11&quot; class=&quot;interwiki iw_wp&quot; title=&quot;https://en.wikipedia.org/wiki/X11&quot;&gt;X11&lt;/a&gt; iceweasel is dead as well (same thing “faulted”). let&amp;#039;s see what&amp;#039;s up:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;debsums | tee /tmp/sums.log | grep -v &amp;#039; OK$&amp;#039;&lt;/pre&gt;

&lt;p&gt;
aha – readlink is faulty. wow – thanks gods bash is alive… full scan showed few more files are faulty, but they are non crucial. fixing…
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;mkdir /tmp/pck
cd /tmp/pck
cat /tmp/sums.log | grep -v &amp;#039; OK$&amp;#039; | awk &amp;#039;{ print $1 }&amp;#039; | xargs -n 1 apt-file search | sed &amp;#039;s#:.*##&amp;#039; | sort -u | xargs apt-get download
dpkg -i *&lt;/pre&gt;

&lt;p&gt;
done – all faulty packages are fixed (i.e. reinstalled). btw: try doing this in &lt;a href=&quot;https://en.wikipedia.org/wiki/GUI&quot; class=&quot;interwiki iw_wp&quot; title=&quot;https://en.wikipedia.org/wiki/GUI&quot;&gt;GUI&lt;/a&gt;… ;)
&lt;/p&gt;

&lt;p&gt;
enjoy dying weekend time!
&lt;/p&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 15 Jun 2021 20:09:15 +0000</pubDate>
        </item>
    </channel>
</rss>
