Command Line Utilities
577
n
ov
do
cx (e
n)
11
Ju
ly 20
08
lock-add (la) [options] [name or pattern] [version] [...]
Adds a package lock rule. This prevents changes to the installation state of the package that is
specified in the lock. The package name can be specified individually, with wildcard patterns,
or even with version number relations.
The
package_name
can include wildcard characters. The following table explains the valid
relational operators that can be used with the package in the command:
If you want to install a specific version of the package, ZENworks first checks if the package
version has been locked, then installs the package version only if it is not locked. For example,
lets assume that all the later versions of the package, “X 1.7” have been locked by using the
rug la X >1.7
command. If you try to install X 1.9 package by using the
rug in X
(1.9)
command, the installation fails.
lock-delete (ld) [options] [lock-number] [...]
Deletes the package lock you specify by its number. You can find the number for each lock
with the
lock-list (ll)
command.
lock-list (ll) [options] [lock-number] [...]
Lists the package locks that have been put in place. Locks are sorted by ID number.
package-file (pf) [filename]
Gets the package which contains the specified file.
packages (pa) [options] [catalog] [...]
Displays the packages in a given catalog. If no catalog is specified, all packages in all catalogs
are listed. Accepts the following option flags:
-i, --installed-only - Shows only installed packages.
-u, --uninstalled-only - Shows only uninstalled packages.
--sort-by-name - Sorts packages by name (default).
--sort-by-catalog - Sorts packages by catalog.
--show-nevra - Shows the NEVRA details of the packages.
If the --show-nevra option is not specified, the output for this command is presented in the
Status, Bundle, Name, Version, and Arch columns. These provide the details of every package
that is part of the given bundle. Bundle, Name, Version, and Arch represent the bundle name,
Relational
Operator
Functionality
=
Locks only the specific package version.
<
Locks all versions of the package older than the specified version, excluding the
specified version.
>
Locks all versions of the package later than the specified version, excluding the
specified version.
<=
Locks all versions of the package older than the specified version, as well as the
specified version.
>=
Locks all versions of the package later than the specified version, as well as the
specified version.
Summary of Contents for ZENWORKS LINUX MANAGEMENT 7.2 IR2 - ADMINISTRATION GUIDE 09-25-2008
Page 4: ...novdocx en 11 July 2008...
Page 22: ...22 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 34: ...34 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 40: ...40 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 44: ...44 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 78: ...78 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 82: ...82 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 96: ...96 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 98: ...98 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 118: ...118 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 126: ...126 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 200: ...200 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 202: ...202 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 210: ...210 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 258: ...258 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 264: ...264 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 278: ...278 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 286: ...286 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 316: ...316 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 344: ...344 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 468: ...468 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 470: ...470 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 472: ...472 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 484: ...484 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 498: ...498 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 510: ...510 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 518: ...518 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 520: ...520 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 532: ...532 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 590: ...590 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 616: ...616 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 632: ...632 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 652: ...652 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 658: ...658 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...
Page 664: ...664 Novell ZENworks 7 2 Linux Management Administration Guide novdocx en 11 July 2008...