package
The package
command is used to view and manage software packages.
Note
The package command can only be used by an administrator.When package is entered without any actions or parameters, the system displays usage information for the command.
Package files are digitally signed to ensure integrity and authenticity. Package component signatures and their certificate validity are verified when downloading, manually with the verify action, and when actually performing the installation upon reboot.
If the verification fails after downloading, an error message is reported by the download command and the downloaded package is discarded. If verification fails while actually installing upon reboot, installation is canceled and a package install failure notice is added to the messages displayed to administrators. A successful package installation notice is added to the messages upon successful installation.
Synopsis
package list |
Actions
Action | Description |
---|---|
list | Displays a list of downloaded packages. |
info | Displays information about the currently installed package. If a filename is specified, displays information about the package. |
verify | Verifies the authenticity and integrity of the specified package. |
install | Installs the specified package. The package will be automatically verified before installation. |
download | Downloads the specified package file using TFTP and then verifies. |
delete | Deletes a previously downloaded package file. You can specify the package file or all. |
cancel | Cancels installation of a package scheduled for the next reboot. |
Parameters
N/A
Example #1: Package Download and Installation
# package download makitox_enc_v2.2.0-59.hai mytftp.example.com |
Example #2: Package Download Verification Failure
# package download makitox_enc_v2.2.0-59.hai mytftp.example.com |
Examples (General)
# package list Displays the list of downloaded packages: Package Files (in /usr/share/haivision/packages/): |
# package info makitox_enc_v2_2_0.hai Displays information about the package. |
# package install makitox_enc_v2_2_0.hai Installs the package. |
Related Topics
- messages (CLI command)