[PADS] finding a package by file

Jeff Abrahamson jeff@purple.com
Fri Nov 22 06:21:02 2002


--0k7NRaGPjSSxFfo/
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Nov 22, 2002 at 04:24:28AM -0500, Stephen Gran wrote:
> On Thu, Nov 21, 2002 at 09:12:32PM -0500, Jeff Abrahamson said:
>=20
> > If I want the file openssl/sha.h (tonight's example), I type
> >=20
> >     dpkg --search openssl/sha.h
> >=20
> > and it tells me it's provided by libssl-dev. Good.
> >=20
> > I realized I didn't know how to do that with apt-cache or some other
> > tool that knows how to look for files I *haven't* installed. (As I
> > understand, dpkg only knows about files I've installed.) Googling
> > didn't do it.=20
>=20
> 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 $=20


> > I kind of remember a debian web search gizmo that did this, but I
> > couldn't find it. (Maybe it's melted on the floor of that NOC in
> > NL.)
>=20
> http://www.debian.org/distrib/packages

That works! Thanks.

--=20
 Jeff

 Jeff Abrahamson  <http://www.purple.com/jeff/>
 GPG fingerprint: 1A1A BA95 D082 A558 A276  63C6 16BF 8C4C 0D1D AE4B

--0k7NRaGPjSSxFfo/
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE93hFDFr+MTA0drksRAr6XAJ9iMkrnil876vC4sKNVvW/sdast/QCghGF8
X7bvIbg6MRZFDv/4YiujIeg=
=Hivi
-----END PGP SIGNATURE-----

--0k7NRaGPjSSxFfo/--