Custom Software Source Creation Failed
Creating a custom or versioned custom software source might fail if you include packages that aren't in the base vendor software sources or if the custom software source is unable to resolve package dependencies.
Review job error logs
To identify the reason for the custom software source failure, review the error logs for the job.
- Open the navigation menu and click Observability & Management. Under OS Management Hub, click Jobs.
- Under List scope, select the compartment associated with the job.
- Click the Completed jobs tab.
-
Under Filters, select the following:
- Status: Failed
- Type: Create software source or Update software source
- Click the name of the job.
-
Under Resources, click Error messages.
Possible messages might include:
Could not resolve dependencies for the packages in the software source.
See Missing vendor software sources.There are packages with multiple versions in the software source as a result of dependency resolution.
See Auto-resolve and latest-only options conflict.
Packages not found in included vendor software sources
The custom software source must contain all vendor software sources needed for the packages that you include. If you've selected the auto-resolve dependencies option, you must also include all necessary vendor software sources for the dependent packages. Verify that you've selected all necessary vendor software sources when creating the custom or version software source.
Some packages don't exist in any vendor software sources and therefore can't be included in a custom software source. Don't include any of the following packages in a custom software source:
- gpg-pubkey
- unified-monitoring-agent
- wlp-agent
- qualys-cloud-agent
- oracle.mgmt_agent
To identify problematic packages, you can re-add the package list to the failed custom software source. The error message will list the problematic packages.
Auto-resolve and latest-only options conflict
Depending on the filters you create, there can be a conflict between required dependencies and limiting packages to the latest-only. Some packages might depend on an earlier version of a package which causes the software source to include multiple versions of an individual package (the earlier version and the latest available). When this occurs, the service can't limit the packages to only the latest available, so the software source creation fails.
To resolve this issue, either adjust the filter, disable auto-resolve, or disable latest-only.