Note!! Please register for a free account to access the full content and also to participate in Q&A in the community
OSMH:Unable to Update Packages on OCI OS Management Hub Instance using OCI CLI commands
in Linux
Applies To:
Service: OS Management Hub (OSMH)
Version: N/A and later
Platform: Linux x86-64
Symptoms
When attempting to update packages on an instance using the OCI CLI command, the following error occurs:
$ oci os-management-hub managed-instance update-packages --managed-instance-id <instance_ocid>
Error Message:
{
"client_version": "Oracle-PythonSDK/2.141.1, Oracle-PythonCLI/3.51.1",
"code": "MissingParameter",
"logging_tips": "Please run the OCI CLI command using --debug flag to find more debug information.",
"message": "Either a list of package names or a list of package classification types must be provided for this API call. Both are missing.",
"opc-request-id": "<opc-id>",
"operation_name": "update_packages_on_managed_instance",
"request_endpoint": "POST https://URL/actions/updatePackages",
"status": 400,
"target_service": "managed_instance",
"timestamp": "2025-02-04T07:19:40.843919+00:00",
"troubleshooting_tips": "See [https://docs.oracle.com/iaas/Content/API/References/apierrors.htm] for more information about resolving
Tagged:
0