On 21 July 2010 21:13, Patrick O'Callaghan <pocallaghan@xxxxxxxxx> wrote: > On Thu, 2010-07-22 at 03:49 +0900, Mamoru Tasaka wrote: >> > No epoch is equivalent to epoch zero. That's why it wasn't >> displayed. >> >> To be clear: >> By default "$ rpm -q" ($ rpm -qi) does not show epoch information even >> if the rpm actually has epoch. > > That might be worth revising. The rpm queryformat expressions are not > well documented on the man page (you have to know what the various tag > headers are called for one thing, and it's not clear where to discover > that short of reading the RPM book or the source). The last paragraph of the section of `man rpm` dealing with --queryformat says the following: For example, to print only the names of the packages queried, you could use %{NAME} as the format string. To print the packages name and dis- tribution information in two columns, you could use %-30{NAME}%{DISTRI- BUTION}. rpm will print a list of all of the tags it knows about when it is invoked with the --querytags argument. You can therefore list all the tags as follows: [sam@samlap ~ ]$ rpm --querytags ARCH ARCHIVESIZE BASENAMES BUGURL BUILDARCHS BUILDHOST BUILDTIME <snip> However it's left as an exercise for the reader to discover what the non-obvious query tags actually mean. -- Sam -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines