5.3. Command Line Options

A summary of all the command line options for RHN Package Manager rhn_package_manager:

-v, --verboseIncrease verbosity.
-d, --dir DIRECTORY_NAME Process packages from this directory.
-c, --channel CHANNEL_LABELManage this channel — may be present multiple times.
-n, --count NUMBERProcess this number of headers per call — the default is 32.
-l, --listList each package name, version number, release number, and architecture in the specified channel(s).
-s, --syncCheck if local directory is in sync with the server.
-p, --printconfPrint the current configuration and exit.
--newestPush only the packages that are newer than packages already pushed to the server for the specified channel.
--stdinRead the package names from stdin.
--username USERNAMESpecify your RHN username. If you do not provide one with this option, you will be prompted for it.
--password PASSWORDSpecify your RHN password. If you do not provide one with this option, you will be prompted for it.
--sourceUpload source package headers.
--dontcopyIn the post-upload step, do not copy the packages to their final location in the package tree.
--testOnly print the packages to be pushed.
--nosigPush unsigned packages. By default the RHN Package Manager attempts to push only signed packages.
--no-sslNot recommended — Turn off SSL.
-X=, --exclude=PATTERNExclude files matching this glob expression -- can be present multiple times.
-h, --helpDisplay the help screen with a list of options.

Table 5-1. rhn_package_manager options


These command line options are also described in the rhn_package_manager man page: man rhn_package_manager.