Novell ZENWORKS LINUX MANAGEMENT 7.3 IR2 - ADMINISTRATION GUIDE 02-12-2010 Administration Manual page 570

Table of Contents

Advertisement

package-replace-packages (prp) [options] [target] [package filename] [...]
Replaces the specified package with another package with the same name, epoch, version,
release, architecture, and target (NEVRAT). You can replace multiple packages by specifying
multiple filenames.
NEVRAT is a term to describe a unique RPM identifier generated from the Name, Epoch,
Version, Release, Architecture, and Target properties of a given
guaranteed to be unique to a given
following scenarios:
A corrupted RPM file was downloaded. The checksum of this corrupted
match the known checksum of the same uncorrupted
A vendor incorrectly released an improperly formatted update
(different) contents but still identifying itself with the same version and release numbers.
This results in a different checksum being encountered for what the system identifies as
the same package, based on its NEVRAT properties. This is rare, but it does occur on
occasion. This problem is most often encountered when performing bulk mirroring of
entire distributions.
Several workarounds exist for this problem:
If the package is not of interest, exclude it from mirroring by using the
>
ZENworks Linux Management and YaST source servers. For other source servers, use
<ExcludeTarget>
the mirroring.
If the package is of interest, it must be first retrieved to the file system. This can be
accomplished in a variety of ways, including static mirroring. After the given
available on the server's file system, it is possible to import it into the server using the
package-replace-package
Using the
NEVRAT replacing the existing package in all bundles it is a member of.
The following example shows the correct usage:
rc-qa-client-402:/opt/novell/zenworks # zlman prp sles-9-i586
/root/nrmtest-same-nevrat-b.rpm
Username:administrator
Password:******
[package.command.replacePackage.success]
Queue Commands
These commands are used in situations when you need to make modifications to the queue. The
queue processes asynchronous events such as XML file regeneration and client refreshes, and does
not need to be modified under most circumstances. Queue commands begin with the word
the long form, or with the letter
queue-flush (qf) [options] [status]
Flushes the queue by deleting the contents based on the status. Accepts the following values for
the status argument:
N - New
F - Failed.
S - Succeeded
570 Novell ZENworks 7.3 Linux Management Administration Guide
or
options in the
<ExcludeTarget/>
. The value of either tag is the package/patch/bundle to exclude from
package-replace-packages
in the short form.
q
; however, this guarantee can be violated given the
.rpm
.rpm
zlmmirror.conf
command.
command results in the newer package with the same
file. This identifier is
.rpm
does not
.rpm
, as identified via NEVRAT.
package, with newer
.rpm
<ExcludeBundle/
file. Use
<ExcludeBundle>
.rpm
queue
for
is
in

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zenworks linux management 7.3 ir2

Table of Contents