
After uploading the packages, check to see if the local directory is in sync with the RHN Server's
image of the channels:
rhn_package_manager -s -c name_of_private_channel
This -s option lists all the missing packages, which are packages uploaded to the RHN Server
but not present in the local directory. You must be an Organization Administrator to use this
option. The application prompts you for your RHN username and password.
The --copyonly option copies the file listed in the argument into the specified channel without
uploading to the Satellite. This is useful when a channel on a RHN Proxy Server is missing a
package and you don't want to reimport all of the packages in the channel.
rhn_package_manager -c channel-name --copyonly /path/to/missing/file
You can also use RHN Package Manager to retrieve a list of packages in a channel, as they
are stored by the RHN Server:
rhn_package_manager -l -c name_of_private_channel
The -l option lists the package name, version number, release number, architecture, and
channel name for each package in the specified channel(s). Refer to Table 6.1,
“rhn_package_manager options” for additional options.
Table 6.1, “rhn_package_manager options” is a summary of all the command line options for
RHN Package Manager (rhn_package_manager):
Option Description
-v, --verbose Increase verbosity of standard output messages.
-d, --dir DIRECTORY_NAME Process packages from this directory.
-c, --channel CHANNEL_NAME Specify the channel to receive packages. Multiple
channels may be specified using multiple instances of
-c (e.g.: -c channel_one -c channel_two)
-n, --count NUMBER Process this number of headers per call — the default
is 32.
-l, --list List the packages 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.
--newest Push only the packages that are newer than those on
the server. Note that source packages are special in
that their versions are never compared to each other.
Their newness is dependent on their associated binary
packages. Using this option with RHN Package
Configuring and Using the RHN Package
27
Comentarios a estos manuales