Forum Stats

  • 3,722,380 Users
  • 2,244,296 Discussions
  • 7,849,820 Comments

Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Anyone maintaining public-yum-ol7.repo?

User_4CB2I
User_4CB2I Member Posts: 1 Green Ribbon

Hi,

I found documentation (https://docs.oracle.com/cd/E93554_01/E95779/html/ol_sub_pubyum.html) stating that:

"You can download the latest copy of a suitable repository file for Oracle Linux 7 from https://yum.oracle.com/public-yum-ol7.repo"

Yet this file is quite out of date. It only goes upto U7 and PHP 7.2 when 7.4 appears to be the latest.

Are there any plans to maintain this? Or what is the proper procedure to get an up to date repo file with all current repos? Or are we just to maintain an up to date list on our own?

I'm trying to enable these through kickstart "%post", but "wget(ting)" this file is not very useful at the moment and using the "repo" kickstart option with "--install" does not add the required "gpg" entries to the files created in "/etc/yum.repos.d"

Thanks,

-Leon

Best Answers

Answers

  • Avi Miller-Oracle
    Avi Miller-Oracle Senior Solution Architect, Oracle Cloud Infrastructure Developer Adoption Melbourne, AustraliaPosts: 4,785 Employee
    Accepted Answer

    No, there isn't. I'll get that documentation updated.


    All the repo files are contained in various release RPMs described here: https://yum.oracle.com/getting-started.html#installing-software-from-oracle-linux-yum-server

  • Avi Miller-Oracle
    Avi Miller-Oracle Senior Solution Architect, Oracle Cloud Infrastructure Developer Adoption Melbourne, AustraliaPosts: 4,785 Employee

    Note that ol7_latest and ol7_optional_latest repos will always have (as their names suggest) the latest version of every RPM.

  • Avi Miller-Oracle
    Avi Miller-Oracle Senior Solution Architect, Oracle Cloud Infrastructure Developer Adoption Melbourne, AustraliaPosts: 4,785 Employee
    Accepted Answer

    Wow, you found an old doc. :) You might find the installation guide more useful: https://docs.oracle.com/en/operating-systems/oracle-linux/7/install/

  • User_4CB2I
    User_4CB2I Member Posts: 1 Green Ribbon

    Gotcha!

    This should do the trick.

    Thanks for the prompt reply Avi :)

  • Avi Miller-Oracle
    Avi Miller-Oracle Senior Solution Architect, Oracle Cloud Infrastructure Developer Adoption Melbourne, AustraliaPosts: 4,785 Employee

    You're welcome!

  • User_4CB2I
    User_4CB2I Member Posts: 1 Green Ribbon

    Avi,

    I followed your suggestion and did the following:

    1) in my kickstart config I defined these to make the repos available during installation for the extra packages I install (notice I am not using the "--install" option):

    repo --name=OL7-Addons --baseurl=https://yum.oracle.com/repo/OracleLinux/OL7/addons/x86_64

    repo --name=OL7-Developer --baseurl=https://yum.oracle.com/repo/OracleLinux/OL7/developer/x86_64

    repo --name=OL7-EPEL --baseurl=https://yum.oracle.com/repo/OracleLinux/OL7/developer_EPEL/x86_64

    repo --name=OL7-GO --baseurl=https://yum.oracle.com/repo/OracleLinux/OL7/developer/golang115/x86_64

    repo --name=OL7-PHP --baseurl=https://yum.oracle.com/repo/OracleLinux/OL7/developer/php74/x86_64

    repo --name=OL7-Optional --baseurl=https://yum.oracle.com/repo/OracleLinux/OL7/optional/latest/x86_64

    repo --name=OL7-Security --baseurl=https://yum.oracle.com/repo/OracleLinux/OL7/security/validation/x86_64

    repo --name=OL7-UEKR6 --baseurl=https://yum.oracle.com/repo/OracleLinux/OL7/UEKR6/x86_64

    2) I then added the RPM packages for the repos I want to enable under the "%packages" kickstart config section:

    oracle-epel-release-el7

    oracle-golang-release-el7

    oracle-php-release-el7

    oraclelinux-developer-release-el7

    oraclelinux-release-el7

    The installation completes without a problem, but as soon as I login and do "yum repolist" I get these errors:

    # yum repolist

    Loaded plugins: langpacks, ulninfo

    https://yum.oracle.com/repo/OracleLinux/OL7/UEKR6/x86_64/repodata/repomd.xml: [Errno 14] curl#77 - "Problem with the SSL CA cert (path? access rights?)"

    Trying other mirror.

    https://yum.oracle.com/repo/OracleLinux/OL7/UEKR6/x86_64/repodata/repomd.xml: [Errno 14] curl#77 - "Problem with the SSL CA cert (path? access rights?)"

    Trying other mirror.

    https://yum.oracle.com/repo/OracleLinux/OL7/developer/x86_64/repodata/repomd.xml: [Errno 14] curl#77 - "Problem with the SSL CA cert (path? access rights?)"

    Trying other mirror.

    https://yum.oracle.com/repo/OracleLinux/OL7/developer_EPEL/x86_64/repodata/repomd.xml: [Errno 14] curl#77 - "Problem with the SSL CA cert (path? access rights?)"

    Trying other mirror.

    https://yum.oracle.com/repo/OracleLinux/OL7/developer/golang115/x86_64/repodata/repomd.xml: [Errno 14] curl#77 - "Problem with the SSL CA cert (path? access rights?)"

    Trying other mirror.

    https://yum.oracle.com/repo/OracleLinux/OL7/developer/php74/x86_64/repodata/repomd.xml: [Errno 14] curl#77 - "Problem with the SSL CA cert (path? access rights?)"

    Trying other mirror.

    https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/repomd.xml: [Errno 14] curl#77 - "Problem with the SSL CA cert (path? access rights?)"

    Trying other mirror.

    repo id                  repo name                                          status

    ol7_UEKR6/x86_64             Latest Unbreakable Enterprise Kernel Release 6 for Oracle Linux 7Server (x86_64)       0

    ol7_developer/x86_64           Oracle Linux 7Server Development Packages (x86_64)                      0

    ol7_developer_EPEL/x86_64         Oracle Linux 7Server EPEL Packages for Development (x86_64)                 0

    ol7_developer_golang115/x86_64      Oracle Linux 7Server Go Language 1.15 Packages for Development and test (x86_64)       0

    ol7_developer_php74/x86_64        Oracle Linux 7Server PHP 7.4 Packages for Development and test (x86_64)           0

    ol7_latest/x86_64             Oracle Linux 7Server Latest (x86_64)                             0

    repolist: 0

    I did a web search for this error and found some mentions to making sure the "ca-certificates" RPM is installed. Which it is:

    rpm -qa|grep ca-cert

    ca-certificates-2020.2.41-70.0.el7_8.noarch

    Do you happen to know what I should do to fix these errors?

    Regards,

    -Leon

  • User_4CB2I
    User_4CB2I Member Posts: 1 Green Ribbon

    Actually, nevermind, it looks like all I needed to do was to manually run:

    "update-ca-trust"

    Weird that this isn't being taken care of automatically upon install.

    I guess just an FYI for anyone else getting this error.

    Regards,

    -Leon

  • Avi Miller-Oracle
    Avi Miller-Oracle Senior Solution Architect, Oracle Cloud Infrastructure Developer Adoption Melbourne, AustraliaPosts: 4,785 Employee

    That is odd. If you have Oracle Support, I would love it if you could log this as a bug via the SR process. If not, I'll log an internal bug once I get time to reproduce the issue.

  • Avi Miller-Oracle
    Avi Miller-Oracle Senior Solution Architect, Oracle Cloud Infrastructure Developer Adoption Melbourne, AustraliaPosts: 4,785 Employee

    If possible, could you email me your entire (redacted) kickstart file to my firstname dot lastname at oracle dot com? That would save me the cycles of creating a reproducer. :)

  • User_4CB2I
    User_4CB2I Member Posts: 1 Green Ribbon

    Hi Avi,

    Unfortunately, I don't have Oracle Support.

    I just emailed you a copy of the redacted kickstart.

    Thanks for the help!

    -Leon

Sign In or Register to comment.