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

OCI: Two OS Versions Are Displayed in "cat /etc/oracle-release" Command Output 

Applies to: 

Oracle Cloud Infrastructure  

Linux OS 

Symptoms

Two different OS versions are displayed in "cat /etc/oracle-release" command output:

# cat /etc/oracle-release
Oracle Linux Server 8.7
#Oracle Linux Server 7.9

Cause 

The below commented entry was manually added to the /etc/oracle-release file.

#Oracle Linux Server 7.9 

Solution 

1) Remove the erroneous entry or any extra OS version entry from “/etc/oracle-release” file:

#Oracle Linux Server 7.9 

2) Save the file and run cat /etc/oracle-release , it should show only the correct OS version output:

# cat /etc/oracle-release
Oracle Linux Server release 8.9

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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