Artificial intelligent assistant

Added repo ol7_optional_latest and can't change status to enable Tried to add repo [ol7_optional_latest] name=Oracle Linux $releasever Optional Latest ($basearch) baseurl= gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle gpgcheck=1 enabled=1 after execute yum clean all yum --enablerepo=ol7_optional_latest clean metadata checked status repo and returned disabled ol7_optional_latest/x86_64 Oracle Linux 7Server Optional Latest (x86_64) disabled How to change status to ENABLED?

To enable a repo, do :


yum-config-manager --enable ol7_optional_latest


To **temporarily** enable a repo that's disabled you can use the `--enablerepo` option with `yum`, which is what you did. My answer above will permanently enable the repo and should change the status to enabled.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 1464f755d9f91750d393af31eb5abf7b