Locking And Unlocking A Bundle On A Managed Device; Locking A Bundle; Unlocking A Bundle - Novell ZENWORKS LINUX MANAGEMENT 7.2 IR2 - ADMINISTRATION GUIDE 09-25-2008 Administration Manual

Table of Contents

Advertisement

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.
3 Ensure that the package is locked by entering the rug ll command. This displays all the
locked packages.
To unlock a package:
1 List all the packages that are locked on the managed device by entering the rug ll command.
This displays the package name and its lock index.
2 Select the package you want to unlock.
3 Unlock the package by entering the rug ld lock_index command.
4 Ensure that the package is unlocked by entering the rug ll command. This displays only the
locked packages.
21.2 Locking and Unlocking a Bundle on a
Managed Device
You can lock a bundle on the managed device to prevent it from being deleted, or to prevent it from
being upgraded to a newer version.
Section 21.2.1, "Locking a Bundle," on page 260
Section 21.2.2, "Unlocking a Bundle," on page 260

21.2.1 Locking a Bundle

1 List all the bundles installed on the managed device by entering the rug bl command. From
the list, select the bundle you want to lock.
2 Lock the bundle by entering the rug bla bundle_name command.
bundle_name can include wildcard characters.
3 Ensure that the bundle is locked by entering the rug bll command. This displays all the
locked bundles .
NOTE: If a locked bundle has packages, you can remove the packages from the managed device
even though the bundle is locked by using rpm -e | package_name or rug rm
package_name. To prevent the removal of packages, you must individually lock the packages.
For more information on how to lock a package, see
Package on a Managed Device," on page

21.2.2 Unlocking a Bundle

1 List all the bundles that are locked on the managed device by entering the rug bll command.
This displays the bundle name and its lock index.
2 Select the bundle you want to unlock.
260 Novell ZENworks 7.2 Linux Management Administration Guide
Section 21.1, "Locking and Unlocking a
259.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zenworks linux management 7.2ir2

Table of Contents