|Create a Local Yum Repository for Oracle Linux 6 - Learn how to create a local Yum repository for Oracle Linux 6.|
gpullis said...As of Oracle Linux 6.5 (and maybe earlier but 6.5 is what I used) the repository names need to be prefixed with public_
For example, the reposync command is now:
/usr/bin/reposync --repoid=public_ol6_latest --repoid=public_ol6_UEK_latest -p /repo/OracleLinux/usr/bin/reposync --repoid=public_ol6_latest --repoid=public_ol6_UEK_latest -p /repo/OracleLinux
Yes. They've changed the name of the repositories. I've altered the article to bring it in line.
gpullis said...Thanks, Tim!
And thanks very much for writing this stuff up. It's a huge help for us.
gpullis said...Looks like, if you're using SELinux, you'll need to set the security context for the repo files:
chcon -R -t httpd_sys_content_t /repo/OracleLinux
I've got this in my refresh script now.
gpullis said...FYI, I also had to:
cp /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle /var/www/html/RPM-GPG-KEY-oracle-ol6
I made a note of the SELinux config I would expect if that were being used.
I don't have the issue with the "RPM-GPG-KEY-oracle-ol6" file.