On Thu, Sep 18, 2008 at 7:18 PM, Andrew Sackville-West > [EMAIL PROTECTED]:~$ apt-file search libawt.so > sun-java5-bin: /usr/lib/jvm/java-1.5.0-sun-1.5.0.12/jre/lib/i386/libawt.so > sun-java6-bin: /usr/lib/jvm/java-6-sun-1.6.0.02/jre/lib/i386/libawt.so
That's the canonical way to search. I found 'wajig' to give me much the same output, and I don't have to mess around updating an apt-file database. 'wajig whichpkg libawt.so' JIG Warning: fping was not found. Consider installing the package fping. File Path Package ===========================================================-================= INSTALLED /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/libawt.so openjdk-6-jre-headless /usr/lib/jvm/java-6-sun-1.6.0.06/jre/lib/amd64/libawt.so sun-java6-bin ----------------------------------------------------------------------------- AVAILABLE ----------------------------------------------------------------------------- The neat thing about apt-file or wajig used this way is you don't have to have the file on your hard drive in order to find the right package. It's quite useful in building packages, you search for the missing header files until you run out of compiler complaints :). > A -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]