Obtaining Updates
185
9.4.2.1.1.
solaris2mpm
As mentioned briefly in
Section 9.1.4, “Differences in Functionality”
,
solaris2mpm
is part of RHN
Push for Solaris. The content that is pushed to a Solaris channel on the Satellite must first be in .mpm
format.
A .mpm file is an archive containing a description of the package data and the package or patch itself.
The solaris2mpm command must be run on the client, never the Satellite.
Note
solaris2mpm requires free space equal to three times the size of any package, patch,
or patch cluster it is converting. Normally, space in
/tmp/
will be used for this purpose.
However, the
--tempdir
option allows you to specify another directory if necessary.
Multiple files may be specified on the command line of solaris2mpm. Below is a usage example:
# solaris2mpm RHATrpush-3.1.5-21.pkg RHATrpush-3.1.5-23.pkg
Opening archive, this may take a while
Writing out RHATrpush-3.1.5-21.sparc-solaris.mpm
Opening archive, this may take a while
Writing out RHATrpush-3.1.5-23.sparc-solaris.mpm
Because no other directory was specified, the resulting .mpm files are written to the /tmp/ directory.
Note that the name of the resulting .mpm files includes the architecture of the client on which it was
created. In this case, this was Sparc Solaris. The general format of mpm file names is:
name-version-release.arch.mpm
Patch clusters are "exploded" — .mpm files are generated for each patch in the cluster, as well as a
top-level "meta" .mpm file containing information about the cluster as a whole.
Below are the options of solaris2mpm:
Option
Description
--version
Displays the program's version number and exits
-h, --help
Displays this information and exits
-?, --usage
Prints program usage information and exits
--tempdir=<tempdir>
Temporary directory to work from
--select-arch=<arch>
Selects the architecture (i386 or Sparc) for multi-arch packages.
Table 9.1. solaris2mpm options
9.4.2.1.2.
rhnpush
with .mpm Files
The Solaris version of
rhnpush
works like the standard utility, but with the added ability to
handle .mpm files. Below is a usage example:
% rhnpush -v --server testbox.example.com --username myuser -c solaris-8
\
Summary of Contents for NETWORK SATELLITE 5.1.1 - RELEASE NOTES
Page 1: ...Red Hat Network Satellite 5 1 1 Reference Guide Red Hat Network Satellite ...
Page 10: ...x ...
Page 30: ...Chapter 2 Red Hat Update Agent 18 Figure 2 11 Available Package Updates ...
Page 46: ...34 ...
Page 68: ...56 ...
Page 162: ...150 ...
Page 174: ...162 ...
Page 186: ...174 ...
Page 259: ...247 Appendix D Revision History Revision History Revision 1 0 ...
Page 260: ...248 ...
Page 268: ...256 ...