Chapter 5. RHN Package Manager
29
This
-s
option will list all the missing packages (packages uploaded to the RHN Server
not present in the local directory). You must be an Organization Administrator to use this
command. The script will prompt you for your RHN username and password. Refer to
Table 5-1 for additional command line options.
If you are using the RHN Package Manager to update local packages, you must go to the
RHN website to subscribe the system to the private channel.
5.3. Command Line Options
A summary of all the command line options for RHN Package Manager
rhn_package_manager
:
Option
Description
-v
,
--verbose
Increase verbosity.
-d
DIR
,
--dir=
DIR
Process packages from directory
DIR
.
-c
CHANNEL
,
--channel=
CHANNEL
Manage this channel — may be present multiple
times.
-n
NUMBER
,
--count=
NUMBER
Process this number of headers per call — the
default is 32.
-l
,
--list
List each package name, version number, release
number, and architecture in the specified channel(s).
-s
,
--sync
Check if local directory is in sync with the server.
-p
,
--printconf
Print the current configuration and exit.
-X
PATTERN
,
--exclude=
PATTERN
Exclude files matching this glob expression — can
be present multiple times.
--newest
Push only the packages that are newer than
packages already pushed to the server for the
specified channel.
--stdin
Read the package names from stdin.
--nosig
Push unsigned packages. By default the RHN
Package Manager attempts to push only signed
packages.
--username=
USERNAME
Specify your RHN username. If you do not provide
one with this option, you will be prompted for it.