You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OSMH: Difference in package count between OSMH Installed packages and Oracle Linux Operating System

edited Jul 4, 2023 6:29AM in Linux

Applies to:

OSMH On-Prem


Symptoms:

On an Instance registered with OS Management Hub (OSMH), the package count displayed on the OSMH console is  different between the package count displayed the Oracle Linux Operating System.

In this case, the Oracle Linux OS shows count of 1422 installed packages

$sudo dnf list --installed | wc -l 
1422  
$ rpm -qa | wc -l 
1422 

The OSMH console shows a count of 1421 installed packages


Cause:

This is due to the additional package "gpg-pubkey" installed on the operating system.

$ rpm -qa | grep gpg-pubkey 
gpg-pubkey-ad986da3-5cabf60d 

Solution:

This is not an issue. The gpg-pubkey packages are 'pseudo-rpms' that are created on instances and do not reside in any software source (this is true for standard Yum/DNF as well as OSMH). These packages are used to store and manage the rpm keys.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!