Re: HELP (RPM - what package a file is from)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anne Wilson wrote:
> On Thursday 27 November 2008 19:51:57 Todd Zullinger wrote:

>> 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.

Yeah, the {-q|--query} specifies the mode.  Then the "select-options"
and "query-options" refine how the query is performed.  I suppose that
could be clearer.  The description section in the man page does say:

    One of the following basic modes must be selected: Query, Verify,
    Signature Check, Install/Upgrade/Freshen, Uninstall, Initialize
    Database, Rebuild Database, Resign, Add Signature, Set
    Owners/Groups, Show Querytags, and Show Configuration

> Thanks for that.

My pleasure.  I'm glad it was helpful.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I could never recommend the use of drugs or alcohol to anyone, but
they've always worked for me.
    -- Hunter S. Thompson

Attachment: pgpU6J2Pxv3tL.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux