My Oracle Support Banner

'dbpatchmsm -list_ospatches' Does Not List OS Packages To Be Applied (Doc ID 2442757.1)

Last updated on SEPTEMBER 03, 2018

Applies to:

Oracle Database Cloud Service - Version N/A to N/A [Release 1.0]
Information in this document applies to any platform.

Symptoms

While performing OS patching as described in https://docs.oracle.com/en/cloud/paas/database-dbaas-cloud/csdbi/apply-linux-os-security-patches-using-dbaascli.html we can see following:

# dbaascli patch os list
DBAAS CLI version 18.3.1.1.0
Executing command patch os list
There is an OS patch available with 'Critical' severity     <<<<<<<<<< Indicates there is patch available for apply.

Install OS patches using dbaascli patch os apply
This will REBOOT the system!

The output while listing the patches:
# /var/opt/oracle/patch/dbpatchmsm -list_ospatches
...
$VAR1 = {
'severity_ospatch' => 'Critical',
'available_ospatch' => 'yes',
'packages_list' => '' >>>>>>>>>> Here nothing is shown.
};
..

The above output is confusing as customer will not know what is going to be applied.

However, if we go ahead and apply the patch (# dbaascli patch os apply) it applies the patch successfully. And the output after apply:

# dbaascli patch os list
DBAAS CLI version 18.3.1.1.0
Executing command patch os list
No applicable operating system patches are available

# /var/opt/oracle/patch/dbpatchmsm -list_ospatches
$VAR1 = {
'severity_ospatch' => '',
'available_ospatch' => 'no',
'packages_list' => ''
};

Therefore the question is:

Why we see blank against packages_list in the output from '/var/opt/oracle/patch/dbpatchmsm -list_ospatches' when we had packages that got installed during apply of OS patch?

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.