-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 20 Jan 2003 22:29:48 +0100, Alexander Skwar wrote:

> > rpm -qf /usr/include/time.h
> 
> [askwar@teich askwar]$ rpm -qf /foo/bar
> Fehler: file /foo/bar: No such file or directory
> 
> ;)
> 
> As all the urpmi tools, urpmf only uses the urpmi database and thus
> also takes non-installed packages into account.  But apt also can do
> this.

  $ rpm --redhatprovides /usr/bin/elm
  elm-2.5.6-2
  $ rpm --query elm 
  package elm is not installed

Spend some time examining the rpmdb-redhat package and the
corresponding rpm option aliases --redhatprovides and --redhatrequires.
Additionally, you can define your own aliases which access the
separate RPM database via the --dbpath option.

  $ rpm --redhatprovides /usr/include/time.h
  glibc-devel-2.2.5-42

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

iD8DBQE+LICw0iMVcrivHFQRAhOvAJ9Bd33UwN2+Rg3JsveVUPHdqAFOQQCeNre5
ub2iY3RKXdv4vex8S69ZGXI=
=jz8d
-----END PGP SIGNATURE-----



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to