Example: Suppose you hosed your Debian Linux machine's /lib/libc-18.104.22.168.so. To retrieve this file from the official Debian package, fetch the file Packages from your mirrors dists/woody/main/binary-i386 directory. From that file, you can determine that the proper debian package to fetch is pool/main/g/glibc/libc6_2.2.5-11.8_i386.deb. Download that file and extract the correct libc:
$ ar x libc6_2.2.5-11.8_i386.deb $ tar zxf data.tar.gz ./lib/libc-2.2.5.so
Boot your hosed machine from a rescue or install floppy/CD, mount the filesystem and copy the new file into place. Reboot. Voilà, all's peachy again.
July 15, 2005