[PADS] finding a package by file
Jeff Abrahamson
jeff@purple.com
Fri Nov 22 14:51:01 2002
On Fri, Nov 22, 2002 at 01:22:05PM -0500, Stephen Gran wrote:
> On Fri, Nov 22, 2002 at 06:13:08AM -0500, Jeff Abrahamson said:
> > > apt-file search <filename>
> >
> > I have sha.h installed as part of libssl-dev, and yet
> >
> > jeff@diderot:jeff $ apt-file search sha.h
> > + /var/cache/auto-apt
> > + /var/cache/auto-apt
> > jeff@diderot:jeff $
>
> First, as root, apt-file update. It has to create a database (basically
> done by downloading Contents.gz from each of your sources) before it can
> do anything. Check the manpage for more info.
Yes, you did say that. My brain translated it to apt-get update, which
I'd already done...
Works well now. Thanks again.
--
Jeff
Jeff Abrahamson <http://www.purple.com/jeff/>
GPG fingerprint: 1A1A BA95 D082 A558 A276 63C6 16BF 8C4C 0D1D AE4B