Received Sun 03 Mar 2002 7:02am +1100 from Xeno Campanoli: > Is there a similar command in apt or dpkg to this thing with rpm that > allows you to figure out the package of a file? That really would have > helped me recently.
As others have noted, "dpkg -S" works for installed packages and the web page works for all packages. My "wajig" package (available from Debian unstable) queries the web page from the command line: $ wajig whichpkg libcrypto File Path Package ===========================================================-================= usr/lib/erlang/lib/crypto-1.1.2/priv/lib/elibcrypto.so non-us/erlang usr/lib/libcrypto.so non-us/libssl-dev usr/lib/libcrypto.so.0 non-us/libssl09 usr/lib/libcrypto.so.0.9.4 non-us/libssl09 usr/lib/libcrypto.so.0.9.5 non-us/libssl095a usr/lib/libcrypto.so.0.9.6 non-us/libssl0.9.6 Regards, Graham