
The Red Hat Package Manager | 583
Package
Management
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
Both --addsign and --resign generate and insert new signatures, replacing any that
already exist in the specified binary packages.
*
The syntax for importing signatures is:
rpm --import public-key
The --import option is used to import an ASCII public key to the RPM database
so that digital signatures for packages using that key can be verified. Imported
public keys are carried in headers, and keys are kept in a ring, which can be
queried and managed like any package file.
Miscellaneous options
Several additional rpm options are available:
--querytags
Print the tags available for use with the --queryformat option in query mode.
--setperms packages
Set file permissions of the specified packages to those in the database.
--setugids packages
Set file owner and group of the specified packages to those in the database.
--showrc
Show the values rpm will use for all options that can be set in an rpmrc file.
FTP/HTTP options
The following options are available for use with FTP and HTTP URLs in install,
update, and query modes.
--ftpport port
Use port for making an FTP connection on the proxy FTP server instead of
the default port. Same as specifying the macro %_ftpport.
--ftpproxy host
Use host as the proxy server for FTP transfers through a firewall