You can create Linux Dependency bundles to store the dependency packages in order to resolve package dependencies on the managed device.
Linux Dependency bundles cannot be installed on a device by using the zac bundle-install command. However, on the agent, you can install packages from a Linux Dependency bundle by using the zac install command if the Publish Package flag is set to true for those packages. The agent command to list the packages of a bundle does not list any package for the Linux Dependency bundles unless the Publish Package flag is set to true for the package.
NOTE:You cannot assign any schedules while assigning Linux Dependency bundles to devices.
You can create Linux Dependency Bundles in any of the following ways:
In ZENworks Control Center, create a subscription.
For more information on how to create subscriptions, see Creating Subscriptions by Using ZENworks Control Center.
Click the subscription name link on the Subscriptions page.
The Subscription’s Summary page is displayed.
In the Options panel, selectin the Bundle Options group.
If you are replicating from a ZLM repository that has multiple bundles, selecting this option creates the same number of Linux Dependency bundles as are in the ZLM catalog. If you are replicating from a repository other than a ZLM repository, selecting this option creates a single Linux dependency bundle.
Select theoption to allow the user on the ZENworks agent to directly install the packages on the agent by using the zac command. If you do not select this option, the packages are used for dependency resolution in other Linux bundles.
Click thelink in the Schedule pane or from the menu on the Subscriptions page to begin the replication immediately.
Schedule when you want to replicate.
For more information on schedules, see Schedule Types in the ZENworks Primary Server and Satellite Reference.
If the replication is successful, the Linux Dependency bundle is created in a folder on the ZENworks server. The folder name is the catalog name that you chose to download while creating the subscription. You can see this folder in> .
You can also create Linux Dependency bundles from thetab in ZENworks Control Center or by using the zman command line utility.
For more information on how to create Linux Dependency bundles from the ZENworks Software Distribution Reference. For more information on how to create Linux Dependency bundles by using the zman command line utility, see ZENworks Command Line Utilities Reference.tab in ZENworks control Center, see the
In ZENworks Control Center, click thetab to display the Bundles panel.
Click> to display the Create New Bundle Wizard.
On the Define Details page, specify a name for the bundles, then click.
As you complete the wizard, if you need more information about any fields or options, click the Help button located in the upper right corner of ZENworks Control Center.
On the Select .rpm Files page, perform any of the following tasks:
Add a file
Thefield displays the status of the RPM files that you are uploading.
Edit a file
Remove a file
Clickto display the Summary page.
If you want to perform other configuration tasks after the bundle has been created, select thecheck box.
For example, you can make assignments to the bundle in thetab, view actions in the tab, and so on.
Select thecheck box to deploy the bundle as a sandbox version. A sandbox version of a bundle enables you to test it on your device before actually deploying it.
Review the configuration, then click one of the following:
Back: Lets you make changes after reviewing the summary.
Finish: Creates the Linux Dependency bundle according to the configured settings listed on this Summary page.
Run the zman bundle-create bundle_name path_of_bundle_xml_file command.
You can obtain the sample bundle XML files from the following locations on the server:
Add packages to the Linux bundles:
Create an action XML file for the local RPM packages by running the zman linux-export-actions command.
While creating the action XML file for Linux Dependency bundles, the action type argument should be Distribute RPM.
Add the packages to the bundle by running the zman bundle-add-actions command. The action XML file that was created should be used as an argument with this command.
In ZENworks Control Center, click thetab.
In thecolumn, click a Linux Dependency bundle to display its tab.
Click, then select whether you want to upload an RPM or import the file from a repository.
Select the packages whose target you want to change from defaultto targets, then select the targets that you want to be associated with the selected packages.
Clickto add the selected target.
Clickto save the created actions to the Linux Dependency bundle.
Click thelink under to view the action created with packages selected with a specified target.