Package: libnss-mdns<br>Version: 1.10-3<br><br>Hi everyone, I am completely stumped on this one. I'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 '<br> sub insert {<br> # this also splits on tab<br> my @bits=split(" ", shift);<br> # do not break configuration if the "hosts" line already references<br>
# mdns<br> if (grep { $_ eq "mdns4_minimal" || $_ eq "mdns4"<br> || $_ eq "mdns" || $_ eq "mdns_minimal" <br> || $_ eq "mdns6" || $_ eq "mdns6_minimal"} @bits) {<br>
return join " ", @bits;<br> }<br> # change "dns" into "mdns4_minimal [NOTFOUND=return] dns mdns4"<br> return join " ", map {<br> $_ eq "dns" ? ("mdns4_minimal","[NOTFOUND=return]",$_,"mdns4") : $_<br>
} @bits;<br> }<br> s/^(hosts:\s+)(.*)/$1.insert($2)/e;<br> ' /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'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>