Eric Hanchrow wrote: > > >>>>> "w" == w trillich <[EMAIL PROTECTED]> writes: > w> i'd like to debug some CGI scripts; apparently Apache::DB > w> is the ticket--what *.deb package is that a part of? > > w> # dpkg -S DB.pm > w> libnet-dns-perl: /usr/lib/perl5/Net/DNS/RR/AFSDB.pm > w> faqomatic: /usr/lib/perl5/FAQ/OMatic/buildSearchDB.pm > > w> well _that_ didn't help... > > Here's how I figure out which package a file lives in: > > 08:36:15 [offby1]$ zcat ~/Contents-i386.gz | egrep DB\.pm > ./usr/lib/perl5/FreeDB/FreeDB.pm interpreters/libfreedb-perl > ./usr/lib/perl5/Net/DNS/RR/AFSDB.pm interpreters/libnet-dns-perl > ./usr/lib/roxen/etc/modules/PDB.pmod web/roxen > usr/lib/perl5/ADB.pm web/onshore-timesheet > usr/lib/perl5/FAQ/OMatic/buildSearchDB.pm web/faqomatic > > This has one advantage over your method: it searches *all* packages, > not just the ones that happen to be installed at the moment. > (~/Contents-i386.gz is, of course, a symbolic link to the file of the > same name that comes with all Debian distributions; I keep mine > up-to-date from a Debian mirror of the potato distribution)
well that sounds promising! # locate Contents /usr/doc/texmf/help/Catalogue/00Contents /usr/doc/texmf/latex/latex2e-html/Table_of_Contents.html /usr/X11R6/lib/X11/cbb/docs/cbb-man/icons/00Contents # \ls -lF /var/cache/apt total 2430 drwxr-xr-x 3 root root 21504 May 9 21:27 archives/ -rw-r--r-- 1 root root 1227418 May 9 21:39 pkgcache.bin -rw-r--r-- 1 root root 1225453 May 9 20:53 srcpkgcache.bin maybe it's on my CD-set, but that's bound to be obsolete an hour after it's been written... so now i go look at debian.org to see if i can download a file called 'Contents-i386.gz'... [hold on--back to the original inquiry: your search didn't seem to turn up the Apache/DB.pm file, either! aaugh!]