Package: libnss-mdns<br>Version: 1.10-3<br><br>Hi everyone, I am completely stumped on this one. I&#39;m in the console, attempting to apt-get install libnss-mdns, but during the configuration in dpkg, I get an error reading something like this:<br>
<br>---------------------------------------------------------------------------------------------------------------------------------<br>Setting up libnss-mdns (0.10-3) ...<br>First installation detected...<br>Checking NSS setup...<br>
/var/lib/dpkg/info/libnss-mdns.postinst: line 17: 16703 Segmentation fault      perl -i -pe &#39;<br>        sub insert {<br>            # this also splits on tab<br>            my @bits=split(&quot; &quot;, shift);<br>            # do not break configuration if the &quot;hosts&quot; line already references<br>
            # mdns<br>            if (grep { $_ eq &quot;mdns4_minimal&quot; || $_ eq &quot;mdns4&quot;<br>                || $_ eq &quot;mdns&quot; || $_ eq &quot;mdns_minimal&quot; <br>                || $_ eq &quot;mdns6&quot; || $_ eq &quot;mdns6_minimal&quot;} @bits) {<br>
                return join &quot; &quot;, @bits;<br>            }<br>            # change &quot;dns&quot; into &quot;mdns4_minimal [NOTFOUND=return] dns mdns4&quot;<br>            return join &quot; &quot;, map {<br>                $_ eq &quot;dns&quot; ? (&quot;mdns4_minimal&quot;,&quot;[NOTFOUND=return]&quot;,$_,&quot;mdns4&quot;) : $_<br>
            } @bits;<br>        }<br>        s/^(hosts:\s+)(.*)/$1.insert($2)/e;<br>    &#39; /etc/nsswitch.conf<br>dpkg: error processing libnss-mdns (--configure):<br> subprocess post-installation script returned error exit status 139<br>
Errors were encountered while processing:<br> libnss-mdns<br>---------------------------------------------------------------------------------------------------------------------------------<br><br>uname -a: Linux 2.6.22.5 #1 SMP Sat Dec 29 22:40:37 GMT 2007 i686 GNU/Linux<br>
<br>If you want my opinion on the solution here, I think it may have something to do with a bug in perl, but I&#39;m not honestly sure. I noticed that right after getting the segfault, binaries no longer work. I.E. trying to run DPKG will get a segfault right away, ls will get a segfault, everything will. That is, until I copy over the files in the libc6 package onto my HD. For some reason, something in libc6 gets tampered with, stopping all binaries from running till I restore libc6 by copying over its files.<br>
<br><br>Thank you for helping!<br>