I went into /var/lib/dpkg/info/libc6.postinst and commented out the section which starts "if dpkg --compare-versions $2 lt 2.2.94-1; then". After that "apt-get install libc6" succeded.