OL 8 yum mirror not providing module metadata — oracle-tech

    Forum Stats

  • 3,707,910 Users
  • 2,240,909 Discussions
  • 7,839,920 Comments

Discussions

Howdy, Stranger!

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

OL 8 yum mirror not providing module metadata

MatthewLinuxMatthewLinux Posts: 80 Blue Ribbon
edited July 2019 in Oracle Linux

Hello - I have started to build out some test Oracle Linux 8 servers now that it has been released. When I use the public-yum servers updates seem to work fine, but mirrored locally I'm running into some issues.

First

After switching from public-yum to our local OL 8 yum mirror, running the yum update throws a bunch of errors which look to me like they're do with the AppStream:

# yum update

'Last metadata expiration check: 0:14:24 ago on Mon 22 Jul 2019 09:16:19 AM CDT.

Error:

Problem 1: cannot install both perl-libs-4:5.24.4-403.module+el8+5173+5d54a0c1.x86_64 and perl-libs-4:5.26.3-416.el8.x86_64

  - package perl-Algorithm-Diff-1.1903-9.module+el8+5173+5d54a0c1.noarch requires perl(:MODULE_COMPAT_5.24.4), but none of the providers can be installed

  - cannot install the best update candidate for package perl-libs-4:5.26.3-416.el8.x86_64

  - cannot install the best update candidate for package perl-Algorithm-Diff-1.1903-9.el8.noarch

Problem 2: package perl-interpreter-4:5.26.3-416.el8.x86_64 requires perl-libs(x86-64) = 4:5.26.3-416.el8, but none of the providers can be installed

  - package perl-interpreter-4:5.26.3-416.el8.x86_64 requires libperl.so.5.26()(64bit), but none of the providers can be installed

  - cannot install both perl-libs-4:5.24.4-403.module+el8+5173+5d54a0c1.x86_64 and perl-libs-4:5.26.3-416.el8.x86_64

  - cannot install both perl-libs-4:5.26.3-416.el8.x86_64 and perl-libs-4:5.24.4-403.module+el8+5173+5d54a0c1.x86_64

  - package perl-Archive-Tar-2.30-1.module+el8+5173+5d54a0c1.noarch requires perl(:MODULE_COMPAT_5.24.4), but none of the providers can be installed

  - cannot install the best update candidate for package perl-interpreter-4:5.26.3-416.el8.x86_64

  - cannot install the best update candidate for package perl-Archive-Tar-2.30-1.el8.noarch

.... omitted for brevity

Problem 39: problem with installed package perl-IO-Compress-2.081-1.el8.noarch

  - package perl-IO-Compress-2.081-1.el8.noarch requires perl(Compress::Raw::Zlib) >= 2.081, but none of the providers can be installed

  - package perl-Compress-Raw-Zlib-2.081-1.el8.x86_64 requires libperl.so.5.26()(64bit), but none of the providers can be installed

  - cannot install both perl-libs-4:5.24.4-403.module+el8+5173+5d54a0c1.x86_64 and perl-libs-4:5.26.3-416.el8.x86_64

  - cannot install both perl-libs-4:5.26.3-416.el8.x86_64 and perl-libs-4:5.24.4-403.module+el8+5173+5d54a0c1.x86_64

  - package perl-Pod-Checker-4:1.73-395.module+el8+5173+5d54a0c1.noarch requires perl(:MODULE_COMPAT_5.24.4), but none of the providers can be installed

  - cannot install the best update candidate for package perl-Pod-Checker-4:1.73-395.el8.noarch

(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Second

It doesn't seem like the modules are working for AppStream:

# yum -v module list

Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync

DNF version: 4.0.9

cachedir: /var/cache/dnf

repo: using cache for: ol8_appstream_latest_x86_64

not found other for: Oracle Linux 8 - AppStream - latest (x86_64)

not found modules for: Oracle Linux 8 - AppStream - latest (x86_64)

not found deltainfo for: Oracle Linux 8 - AppStream - latest (x86_64)

not found updateinfo for: Oracle Linux 8 - AppStream - latest (x86_64)

ol8_appstream_latest_x86_64: using metadata from Mon 22 Jul 2019 02:48:38 AM CDT.

repo: using cache for: ol8_baseos_latest_x86_64

not found other for: Oracle Linux 8 - BaseOS - latest (x86_64)

not found modules for: Oracle Linux 8 - BaseOS - latest (x86_64)

not found deltainfo for: Oracle Linux 8 - BaseOS - latest (x86_64)

not found updateinfo for: Oracle Linux 8 - BaseOS - latest (x86_64)

ol8_baseos_latest_x86_64: using metadata from Mon 22 Jul 2019 02:49:34 AM CDT.

Last metadata expiration check: 0:09:42 ago on Mon 22 Jul 2019 09:16:19 AM CDT.

No module defaults found

Completion plugin: Generating completion cache...

No matching Modules to list

Can someone from Oracle research this and respond with any info? Anyone else running into this? Am I doing something wrong?

Tagged:
MatthewLinuxDude!

Best Answer

Answers

  • MatthewLinuxMatthewLinux Posts: 80 Blue Ribbon
    edited July 2019

    Thanks @dude! that did solve my first problem being that I had a conflicting perl package on. I removed perl and ran yum update and that worked fine.

    However, I still have the second problem which is that the local ULN mirror doesn't seem to have any AppStream modules metadata.

    # yum module list

    Last metadata expiration check: 2:39:35 ago on Mon 22 Jul 2019 09:38:28 AM CDT.

    No matching Modules to list

    I would expect that command to come back with a list of the available AppStreams.

    Thanks,

  • MatthewLinuxMatthewLinux Posts: 80 Blue Ribbon
    edited July 2019

    By contrast when I use the public-yum repos I DO get the modules:

    # yum -v module list

    Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync

    DNF version: 4.0.9

    cachedir: /var/cache/dnf

    repo: using cache for: ol8_appstream

    not found other for: Oracle Linux 8 Application Stream (x86_64)

    not found deltainfo for: Oracle Linux 8 Application Stream (x86_64)

    ol8_appstream: using metadata from Fri 19 Jul 2019 11:14:28 PM CDT.

    repo: using cache for: ol8_baseos_latest

    not found other for: Oracle Linux 8 BaseOS Latest (x86_64)

    not found modules for: Oracle Linux 8 BaseOS Latest (x86_64)

    not found deltainfo for: Oracle Linux 8 BaseOS Latest (x86_64)

    ol8_baseos_latest: using metadata from Fri 12 Jul 2019 09:17:11 PM CDT.

    Last metadata expiration check: 0:00:08 ago on Mon 22 Jul 2019 12:49:03 PM CDT.

    Completion plugin: Generating completion cache...

    Oracle Linux 8 Application Stream (x86_64)

    Name                    Stream           Profiles                                    Summary

    389-ds                  1.4                                                          389 Directory Server (base)

    ant                     1.10 [d]         common [d]                                  Java build tool

    ... omitted for brevity

  • MatthewLinuxMatthewLinux Posts: 80 Blue Ribbon
    edited July 2019

    Yeah it is to do with locally mirrored yum repos.

  • MatthewLinuxMatthewLinux Posts: 80 Blue Ribbon
    edited July 2019

    The title speaks to the remaining problem I have so I think I'll just keep this thread going. I'm betting it has something to do with the uln-yum-mirror process (I have a separate SR open with Oracle on regarding updateinfo XML for errata).

    SO - if anyone @Dude! has anything else on this issue - local yum mirror not providing the 'modules' info, let me know. Otherwise I can open an SR for this.

  • MatthewLinuxMatthewLinux Posts: 80 Blue Ribbon
    edited July 2019

    I don't have an SR open for this issue. I was saying that I can open an SR with Oracle if I need to. I'm fairly new to Oracle Support, but I recall reading some information on their site where they request trying to solve issues here on the forums first.

    So honestly I'm just trying to engage with the community first in case, 1) someone has my issue as well 2) someone without support will benefit from this information.

  • MatthewLinuxMatthewLinux Posts: 80 Blue Ribbon
    edited July 2019

    I understand. I am calling this thread answered and I will open a new thread.

    Dude!
  • Avi Miller-OracleAvi Miller-Oracle Senior Manager, Oracle Linux and Virtualization Product Management Melbourne, AustraliaPosts: 4,641 Employee
    edited July 2019

    We do not (yet) have a supported method for mirroring OL8 repos yet. The uln-yum-mirror script and Spacewalk do not support OL8 repositories at this point.

    MatthewLinux
  • MatthewLinuxMatthewLinux Posts: 80 Blue Ribbon
    edited July 2019

    @avi Thank you for the information.

  • user10718648user10718648 Posts: 4 Red Ribbon
    edited January 13

    Hi, just wondered if this ever got resolved?

    I have set up OEL 8.2, tried an update which goes via our ol8 uln mirror (baseos and appstream) and got perl/module errors such as

    Error:

     Problem 1: package perl-TermReadKey-2.37-7.el8.x86_64 requires libperl.so.5.26()(64bit), but none of the providers can be installed

     - cannot install both perl-libs-4:5.30.1-451.module+el8.3.0+7729+86a74f64.x86_64 and perl-libs-4:5.26.3-416.el8.x86_64

     - cannot install the best update candidate for package perl-libs-4:5.26.3-416.el8.x86_64

     - cannot install the best update candidate for package perl-TermReadKey-2.37-7.el8.x86_64

  • Avi Miller-OracleAvi Miller-Oracle Senior Manager, Oracle Linux and Virtualization Product Management Melbourne, AustraliaPosts: 4,641 Employee

    How are you mirroring ULN for OL8? It needs the latest uln-yum-mirror package and you must ensure you don't use the "-n" or "--latest" parameters as this will break modularity. You have to sync the entire repo.

    The simplest way to achieve this is to use "dnf reposync" on OL8 itself, btw. It has a "--download-metadata" option that will copy the modularity metadata. This means you only have to run reposync and the output is automagically a modular dnf repo.

  • user10718648user10718648 Posts: 4 Red Ribbon
    edited January 14

    Hi Avi, thanks for the reply.

    We have a sole server using OL7 which has been set up as a mirror to ULN a few years back for OL6/7, we are now trying to add OL8. We connect out to the www for the updates via our proxy. We then connect to our internal mirror for updates from our clients. This runs on a cron.daily and runs uln-yum-mirror by the looks of it.

    I have added the 4 repos (appstream/baseos/UEK/addons) for OL8 on via the ULN website to our mirror and added the updated gpg key, however I have not updated the uln-yum-mirror package (or is there an updated scrpt we can add)?. Is this backwards compatible as we have OEL6 and 7 repos on there too as well which I dont want to disturb.

    The current rpm is uln-yum-mirror-0.3.0-3.el7.noarch

    Many thanks

  • user10718648user10718648 Posts: 4 Red Ribbon

    Hi Avi, just another note.

    Would the best option be to yum localinstall /var/www/html/yum/OracleLinux/OL7/addons/x86_64/getPackage/uln-yum-mirror-0.3.0-5.el7.noarch.rpm?

    The current version on our repo server is uln-yum-mirror-0.3.0-3.el7.noarch as mentioned.

    Hopefully this covers updates for OL8?

  • Avi Miller-OracleAvi Miller-Oracle Senior Manager, Oracle Linux and Virtualization Product Management Melbourne, AustraliaPosts: 4,641 Employee

    Yes, OL8 support was added in 0.3.0-5 so you'll need to update accordingly. Not sure why you're doing a local install though. Your mirror server should be configured to update itself, so a "yum update" with the ol7_addons repo enabled should be sufficient.

  • Avi Miller-OracleAvi Miller-Oracle Senior Manager, Oracle Linux and Virtualization Product Management Melbourne, AustraliaPosts: 4,641 Employee

    Just to be clear: 0.3.0-5 for OL7 will sync the OL8 repos, including the modular metadata.

  • user10718648user10718648 Posts: 4 Red Ribbon
    edited January 15

    Hi Avi, using yum update on the repo server seemed to give a lot of output and errored as attached, so I thought the localinstall may be a better option? I have enabled only the addons repo as attached.

    Thanks for the assistance.

  • Avi Miller-OracleAvi Miller-Oracle Senior Manager, Oracle Linux and Virtualization Product Management Melbourne, AustraliaPosts: 4,641 Employee

    Ah, you need to disable the non-applicable channels in /etc/yum/pluginconf.d/rhnplugin.conf so that the server doesn't try to install packages from OL8. :) See https://docs.oracle.com/cd/E37670_01/E39381/html/ol7-cfgulnupd-yum.html for details.

Sign In or Register to comment.