Skip to main content

updaterepo delete

This command retrieves information about firmware updates in the firmware-updates repository.

Syntax

updaterepo delete  -h

updaterepo delete -f <update_list> [-t <update_type>] [-v <filter>]

Options

{-h | --help}
Displays the syntax and brief usage information for this command.
{–f | --fixids} <update_list>
Specifies a list of firmware-update IDs, separated by a comma.

You can find a list of IDs by using updaterepo query.

{–t | --type} <update_types>
Specifies the update type when –a delete is specified. This can be one of the following values.
  • all. Deletes selected update-package files (payload, change history, readme, and metadata files)

  • payloads. Deletes only the selected payload (image) files

{-v | --view} <filter>
Identifies the view to use for the returned data. If a filter is not specified, the default view is used.

You can also create custom views (see Creating custom views).

Examples

The following example deletes only payload files for a specific firmware update.

connect --url https://192.0.2.0 --user ADMIN --noverify
updatepolicy delete –f ibm_fw_imm2_1aoo78j-6.20_anyos_noarch