[PADS] finding a package by file

Stephen Gran steve@lobefin.net
Fri Nov 22 13:23:02 2002


--cWoXeonUoKmBZSoM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Nov 22, 2002 at 06:13:08AM -0500, Jeff Abrahamson said:
> > apt-file search <filename>
>=20
> I have sha.h installed as part of libssl-dev, and yet
>=20
>     jeff@diderot:jeff $ apt-file search sha.h
>      + /var/cache/auto-apt
>      + /var/cache/auto-apt
>     jeff@diderot:jeff $=20

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.
--=20
   ------------------------------------------------------------------------=
----
  |Stephen Gran                  | It's not reality that's important, but h=
ow  |
  |steve@lobefin.net             | you perceive things.                    =
    |
  |http://www.lobefin.net/~steve |                                         =
    |
   ------------------------------------------------------------------------=
----

--cWoXeonUoKmBZSoM
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE93nXNSYIMHOpZA44RAn35AJ9kkLZ+FqR4+QXEkMa8Apj8P7ZDUwCgxJ5W
Sr/yd2lwpS58FVxP3c0kqnI=
=LLM6
-----END PGP SIGNATURE-----

--cWoXeonUoKmBZSoM--