HELP (RPM - what package a file is from)

Anne Wilson annew at kde.org
Thu Nov 27 20:49:37 UTC 2008


On Thursday 27 November 2008 19:51:57 Todd Zullinger wrote:
> The options work, but they must be specified correctly.  For example,
> the --provides and --whatprovides options are "select-options" which
> should be specified after the -q or --query option.  The man page does
> show this IMO.
>
> SYNOPSIS
>    QUERYING AND VERIFYING PACKAGES:
>        rpm {-q|--query} [select-options] [query-options]
> [...]
>    select-options
>         [PACKAGE_NAME] [-a,--all] [-f,--file FILE]
>         [-g,--group GROUP] {-p,--package PACKAGE_FILE]
>         [--fileid MD5] [--hdrid SHA1] [--pkgid MD5] [--tid TID]
>         [--querybynumber HDRNUM] [--triggeredby PACKAGE_NAME]
>         [--whatprovides CAPABILITY] [--whatrequires CAPABILITY]

Hold on - I think the missing key is there.  Are you saying that parameters 
with { } are obligatory?  No-one has ever mentioned that before in anything 
I've read.  That would explain a lot.

Thanks for that.

Anne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20081127/66cd6664/attachment-0001.sig>


More information about the fedora-list mailing list