
578
|
Chapter 5: Package Management
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
--pkgid md5
Query the package with a package identifier that is the given MD5 digest of
the combined header and contents.
--querybynumber num
Query the numth database entry. Useful for debugging.
-qf, --queryformat string
Specify the format for displaying the query output, using tags to represent
different types of data (e.g., NAME, FILENAME, DISTRIBUTION). The
format specification is a variation of the standard printf formatting, with the
type specifier omitted and replaced by the name of the header tag inclosed in
brackets ({ }). For example:
%{NAME}
The tag names are case-insensitive. Use --querytags (see “Miscellaneous
options,” later in this section) to view a list of available tags. The tag can be
followed by :type to get a different output format type. The possible types
are:
:armor
Wrap a public key in ASCII armor.
:base64
Encode binary data as base64.
:date
Use %c format as in strftime(3) to display the preferred date and time
format for this locale.
:day
Use %a %b %d %Y format as in the function strftime(3). This format
displays the day, the month, the month as a decimal number, and the
four-digit year.
:depflags
Format dependency flags.
:fflags
Format file flags.
:hex
Use hexadecimal format.
:octal
Use octal format.
:perms
Format file permissions.
:shescape
Escape ...