Description Manages the product repository. It is always executed on the Security Management Server.
Important - This command is not supported for gateways running on Gaia OS.
Description Adds a product package to the product repository. You can only add SmartUpdate packages to the product repository.
Add products to the repository by importing a file downloaded from the Download Center. Add the package file to the repository directly from a DVD or from a local or network drive.
Syntax:
|
Parameter |
Description |
---|---|
|
If the package you want to add to the repository is on a local disk or network drive, type the full path to the package. |
|
If the package you want to add to the repository is on a DVD:
You are asked to specify the product and appropriate operating system (OS). |
Note - cppkg
add
does not overwrite existing packages. To overwrite existing packages, you must first delete existing packages.
Example:
[d:\winnt\fw1\ng\bin]cppkg add l:\CPsuite-R80.10\ Enter package name: ---------------------- (1) SVNfoundation (2) firewall (3) floodgate (4) rtm
(e) Exit Enter your choice : 1 Enter package OS : ---------------------- (1) win32 (2) linux (3) ipso
(e) Exit Enter your choice : 1 You choose to add 'SVNfoundation' for 'win32' OS. Is this correct? [y/n] : y |
Description Deletes a product package from the repository. To delete a product package you must specify a number of options. To see the format of the options and to view the contents of the product repository, use the cppkg print
command.
Syntax:
|
Parameter |
Description |
---|---|
|
Package vendor. For example, |
|
Package name. |
|
Package version. |
|
Package Operating System. Options are: |
|
Package minor version. |
Note - It is not possible to undo the cppkg del
command.
Description Synchronizes the Package Repository database with the content of the actual package repository under $SUROOT
Syntax:
> cppkg get
Description Finds the location of the product repository. The default product repository location on Windows machines is C:\SUroot.
On UNIX machines it is /var/SUroot.
Syntax:
> cppkg getroot
Example:
> cppkg getroot
Current repository root is set to : /var/suroot/
Description Lists the contents of the product repository.
Use cppkg print
to see the product and OS strings required to install a product package using the cprinstall
command, or to delete a package using the cppkg delete
command.
Syntax:
> cppkg print
Description Creates a new repository root directory location and moves existing product packages into the new repository.
The default product repository location is created when the Security Management Server is installed. On Windows machines the default location is C:\SUroot
and on UNIX machines it is /var/SUroot.
Use this command to change the default location.
When changing repository root directory:
$SUROOT
environment variable gets the value of the new root path.The repository root directory should have at least 200 Mbyte of free disk space.
Syntax:
|
Parameter |
Description |
---|---|
|
The full path for the desired location for the product repository. |
Note - It is important to reboot the Security Management Server after using this command. This sets the new $SUROOT
environment variable.
Example:
cppkg setroot /var/new_suroot Repository root is set to : /var/new_suroot/
Note: When changing repository root directory : 1. Old repository content will be copied into the new repository. 2. A package in the new location will be overwritten by a package in the old
Change the current repository root ? [y/n] : y
The new repository directory does not exist. Create it ? [y/n] : y
Repository root was set to : /var/new_suroot
Notice : To complete the setting of your directory, reboot the machine! |