Red Hat NETWORK 3.6 - CHANNEL MANAGEMENTT GUIDE Manual page 26

Channel management
Hide thumbs Also See for NETWORK 3.6 - CHANNEL MANAGEMENTT GUIDE:
Table of Contents

Advertisement

22
The label_of_private_channel is the custom channel created to receive these packages. Be
sure you use the precise channel label specified during its creation. If you have one or more channels
specified (using
or
-c
identified. If you do not specify a channel, the packages will be deposited in the No Channels section
of the Package Management page. Refer to Section 4.6 Assigning Packages to Software Channels
for instructions on reassigning packages.
The
reference represents the list of packages to be uploaded. Alternatively, use the
pkg-list
option to specify the local directory that contains the packages to be added to the channel. RHN
Package Manager can also read the list of packages from standard input (using
Other options, such as the Red Hat Network Server URL, the HTTP proxy username and password
(if your HTTP proxy requires authentication), and the top directory where packages will live, can
be specified in a configuration file. RHN Package Manager will try to read the configuration file
specified using the
-f
Parameters not set in this file will be read from
the user currently logged in and finally from
all of these files have the appropriate permissions to prevent others from reading them.
After uploading the packages, you can 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 will list all the missing packages (packages uploaded to the RHN Server but not present
-s
in the local directory). You must be an Organization Administrator to use this option. The script will
prompt you for your RHN username and password.
You can also use the RHN Package Manager to retrieve a list of packages in a channel (as stored by
the RHN Server):
rhn_package_manager -l -c name_of_private_channel
The
option will list the package name, version number, release number, architecture, and channel
-l
name for each package in the specified channel(s). Refer to Table 6-1 for additional options.
Here is a summary of all the command line options for RHN Package Manager
(
rhn_package_manager
Option
-v, --verbose
DIRECTORY_NAME
-d, --dir
-f, --conffile
CONFFILE_NAME
CHANNEL_NAME
-c, --channel
PACKAGE_NAME
-e, --exclude
NUMBER
-n, --count
-l, --list
Chapter 6. Uploading and Maintaining Custom Packages
), the uploaded package headers will be linked to all the channels
--channel
or
options, if present.
--conffile
):
Description
Increase verbosity
Process packages from this directory
Configuration file. If a configuration file is not given,
~/.rhn_package_manager
~/.rhn_package_manager
/etc/rhn/rhn_package_manager.conf
Specify the channel to receive packages. Multiple
channels may be specified using multiple instances of -c
(e.g.: -c channel_one -c channel_two)
Filter out packages by name.
Process this number of headers per call — the default is
32.
List the packages in the specified channel(s).
.rhn_package_manager
/etc/rhn/rhn_package_manager.conf
).
--stdin
in the home directory of
. Make sure
is used. If
is not found,
is used.
-d

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETWORK 3.6 - CHANNEL MANAGEMENTT GUIDE and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents