Editing the Package List for a Custom Software Source

Use the package list to include specific package content for a custom software source in OS Management Hub. You can add and remove individual packages or replace the package list in an existing custom software source.

Tip

Confused about the package list formatting? See Package List Format.
    1. On the Software Sources list page, select the name of the software source. If you need help finding the list page, see Listing Software Sources.
    2. Under Resources, select Available packages.

    Add packages

    1. Select Add.
      1. On the Add packages panel, select how to identify packages:
      2. Select Add.
    2. On the Add packages panel, select how to identify packages:
      • Select from the list of available packages. Then, optionally limit the list to latest versions only. Select the packages from the list.
      • Provide package list. Then, select to either Upload or Paste the package list. See Package List Format.
    3. Select Add.

    Remove packages

    1. Select the packages from the list.
    2. Select Remove.

    Replace entire package list

    Provide a new package list to redefine the list of available packages in this custom software source. See Package List Format.

    1. From the Actions menu, select Replace.
    2. On the Replace packages panel, select how to provide the list:
      • Upload package list from a list file
      • Paste package list
    3. Select Replace.
  • Use the oci os-management-hub software-source add-packages command and required parameters to add packages to a custom software source.

    oci os-management-hub software-source add-packages --software-source-id ocid --packages packages.json [OPTIONS]

    Use the oci os-management-hub software-source remove-packages command and required parameters to remove packages from a custom software source.

    oci os-management-hub software-source remove-packages --software-source-id ocid --packages packages.json [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Run the AddPackagesToSoftwareSource operation to add packages to a custom software source.

    Run the RemovePackagesFromSoftwareSource operation to remove packages from a custom software source.