Package: libnss-mdns Version: 1.10-3 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:
--------------------------------------------------------------------------------------------------------------------------------- Setting up libnss-mdns (0.10-3) ... First installation detected... Checking NSS setup... /var/lib/dpkg/info/libnss-mdns.postinst: line 17: 16703 Segmentation fault perl -i -pe ' sub insert { # this also splits on tab my @bits=split(" ", shift); # do not break configuration if the "hosts" line already references # mdns if (grep { $_ eq "mdns4_minimal" || $_ eq "mdns4" || $_ eq "mdns" || $_ eq "mdns_minimal" || $_ eq "mdns6" || $_ eq "mdns6_minimal"} @bits) { return join " ", @bits; } # change "dns" into "mdns4_minimal [NOTFOUND=return] dns mdns4" return join " ", map { $_ eq "dns" ? ("mdns4_minimal","[NOTFOUND=return]",$_,"mdns4") : $_ } @bits; } s/^(hosts:\s+)(.*)/$1.insert($2)/e; ' /etc/nsswitch.conf dpkg: error processing libnss-mdns (--configure): subprocess post-installation script returned error exit status 139 Errors were encountered while processing: libnss-mdns --------------------------------------------------------------------------------------------------------------------------------- uname -a: Linux 2.6.22.5 #1 SMP Sat Dec 29 22:40:37 GMT 2007 i686 GNU/Linux 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. Thank you for helping!