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.

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 Section 21.1, Locking and Unlocking a Package on a Managed Device.

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.

  3. Unlock the bundle by entering the rug bld lock_index command.

  4. Ensure that the bundle is unlocked by entering the rug bll command. This displays only the locked bundles.