Sun Update Connection - Enterprise 1.0 User's Guide

Add Software Package (-asp) Command

The add-software-package command pushes a local software package to the local knowledge base.

Parameter

  • -f pathname Specify the full path name of the source RPM file.

  • -T category Specify the name of the category in which to add this RPM.

  • -D distribution Specify the distribution to use. If not specified, the command operates on all distributions.

Flag

-secure Security fix mark. If present, the local package is a security fix for a previous version.

Syntax

uce_cli -asp -f "pathname" [ -secure ] -D distribution [ -T category ] -u username -p password

Example

uce_cli -asp -f "/usr/share/myApps/myApp01.05-73.rpm" -D RH9_IA32 -u admin -p 123

To learn more about the security fix mark and when to use the -secure flag, see To Fix Local Software Missing Dependencies and Fixing Local Dependencies.

To get valid values for the -D parameter, use the -ld command.