Forums

Resolved
0 votes
http://yum.oracle.com/repo/OracleLinux/OL7/UEKR6/x86_64

I installed the latest UEK 5.4.17 without any issues, in case anyone wanted to do the same in the future.

# wget https://yum.oracle.com/RPM-GPG-KEY-oracle-ol7 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

# gpg --quiet --with-fingerprint /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle


<ul>
Ceate a temporary yum repository configuration file /etc/yum.repos.d/ol7-temp.repo with the following as the minimum required content:

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


Install oraclelinux-release-el7:
# yum install oraclelinux-release-el7


Remove ol7-temp.repo and any other remaining repo files that may conflict with Oracle Linux yum server:
# mv /etc/yum.repos.d/ol7-temp.repo /etc/yum.repos.d/ol7-temp.repo.disabled


Install the UEK:
# yum install kernel-uek

</ul>
https://cdn.discordapp.com/attachments/841197853107945482/911966896868446288/Capture.PNG
Sunday, November 21 2021, 01:06 PM
Share this post:
Responses (2)
  • Accepted Answer

    Monday, November 22 2021, 03:07 AM - #Permalink
    Resolved
    0 votes
    Nick Howitt wrote:

    Interesting. Presumably this is not ABI compatible with the stock kernel so you can't use the ElRepo kmod packages. Otherwise it may be OK. Also be aware that oraclelinux-release-el7 installed three repo files, oracle-linux-ol7.repo, uek-ol7.repo and virt-ol7.repo and there are two enabled repos there. Are you sure you want ol7_latest enabled.

    You should be able to disable repos in the .repo file rather than move it to one side.


    I noticed these packages, though they do conflict with the current installed versions. I was able to update all others while skipping those specifically.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, November 21 2021, 05:42 PM - #Permalink
    Resolved
    0 votes
    Interesting. Presumably this is not ABI compatible with the stock kernel so you can't use the ElRepo kmod packages. Otherwise it may be OK. Also be aware that oraclelinux-release-el7 installed three repo files, oracle-linux-ol7.repo, uek-ol7.repo and virt-ol7.repo and there are two enabled repos there. Are you sure you want ol7_latest enabled.

    You should be able to disable repos in the .repo file rather than move it to one side.
    The reply is currently minimized Show
Your Reply