Hello.

added repository

[ol7_optional_latest] name=Oracle Linux $releasever Optional Latest ($basearch) baseurl=http://yum.oracle.com/repo/OracleLinux/OL7/optional/latest/$basearch/ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle gpgcheck=1 enabled=1 after execute 

executed YUM update commands

 yum clean all yum --enablerepo=ol7_optional_latest clean metadata 

check repository status and DISABLED

 ol7_optional_latest/x86_64 Oracle Linux 7Server Optional Latest (x86_64) disabled 

How to solve the problem and translate it into ENABLED?

    1 answer 1

    after

     yum clean all 

    perform

     yum-config-manager --enable ol7_optional_latest 

    check the result

     yum repolist all !ol7_optional_latest/x86_64 Oracle Linux 7Server Optional Latest (x86_64) enabled: 12,831+3,515