Chapter 6. Uploading and Maintaining Custom Packages
figuration file
/etc/rhn/rhn.conf
Manager.
Parameters
not
in the home directory of the user currently logged in and finally from
/etc/rhn/rhn_package_manager.conf
appropriate permissions to prevent others from reading them.
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
option lists all the missing packages, which are packages uploaded to the RHN
-s
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
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
option lists the package name, version number, release number, architecture, and
-l
channel name for each package in the specified channel(s). Refer to Table 6-1 for additional
options.
Table 6-1 is a summary of all the command line options for RHN Package Manager
(
rhn_package_manager
Option
-v, --verbose
-d, --dir DIRECTORY_NAME
-c, --channel
CHANNEL_NAME
-n, --count NUMBER
or via command line options passed to RHN Package
set
in
this
file
option copies the file listed in the argument into the specified channel
):
Description
Increase verbosity of standard output messages.
Process packages from this directory.
Specify the channel to receive packages. Multiple
channels may be specified using multiple instances
of
Process this number of headers per call — the
default is 32.
are
read
from
. Make sure all of these files have the
(e.g.:
-c
-c channel_one -c channel_two
.rhn_package_manager
27
)
Need help?
Do you have a question about the NETWORK 4.0.5 - CHANNEL MANAGEMENTT GUIDE and is the answer not in the manual?
Questions and answers