Novell ZENWORKS LINUX MANAGEMENT 7.2 IR2 - ADMINISTRATION GUIDE 09-25-2008 Administration Manual page 555

Table of Contents

Advertisement

--arch-filter-[arch-filter] - Arch filter.
--target filter [target-filter] - Target filter.
--orphan - List the orphaned packages.
To delete orphan packages, use the zlman lp --orphan|cut -d'|' -f1 -s |
grep ^[0-9] | xargs zlman dp command.
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 .rpm file. This identifier is
guaranteed to be unique to a given .rpm; however, this guarantee can be violated given the
following scenarios:
A corrupted RPM file was downloaded. The checksum of this corrupted .rpm does not
match the known checksum of the same uncorrupted .rpm, as identified via NEVRAT.
A vendor incorrectly released an improperly formatted update .rpm package, with newer
(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
<ExcludeBundle/> or <ExcludeTarget/> options in the zlmmirror.conf
file. Use <ExcludeBundle> for ZENworks Linux Management and YaST source
servers. For other source servers, use <ExcludeTarget>. The value of either tag is the
package/patch/bundle to exclude from 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 .rpm is
available on the server's file system, it is possible to import it into the server using the
package-replace-package command.
Using the package-replace-packages command results in the newer package with the
same 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 queue
in the long form, or with the letter q in the short form.
Command Line Utilities 555

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zenworks linux management 7.2ir2

Table of Contents