Rocky-repo is faling

We are mapping this repo url to our jfrog artifactory
https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=BaseOS-9.2 (https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=BaseOS-$releasever$rltype )

I used this mirror to map
Index of /pub/rocky/9.2/BaseOS/x86_64/os/

But getting the below error during yum update

yum update
Last metadata expiration check: 0:01:08 ago on Fri Jun 16 11:47:10 2023.
Error:
Problem 1: cannot install both fwupd-1.8.10-2.el9.x86_64 and fwupd-1.7.9-1.el9.x86_64

  • package fwupd-plugin-flashrom-1.7.9-1.el9.x86_64 requires libfwupdplugin.so.5()(64bit), but none of the providers can be installed
  • package fwupd-plugin-flashrom-1.7.9-1.el9.x86_64 requires libfwupdplugin.so.5(LIBFWUPDPLUGIN_0.1.0)(64bit), but none of the providers can be installed
  • package fwupd-plugin-flashrom-1.7.9-1.el9.x86_64 requires libfwupdplugin.so.5(LIBFWUPDPLUGIN_0.7.1)(64bit), but none of the providers can be installed
  • package fwupd-plugin-flashrom-1.7.9-1.el9.x86_64 requires libfwupdplugin.so.5(LIBFWUPDPLUGIN_0.8.0)(64bit), but none of the providers can be installed
  • package fwupd-plugin-flashrom-1.7.9-1.el9.x86_64 requires libfwupdplugin.so.5(LIBFWUPDPLUGIN_0.9.5)(64bit), but none of the providers can be installed
  • package fwupd-plugin-flashrom-1.7.9-1.el9.x86_64 requires libfwupdplugin.so.5(LIBFWUPDPLUGIN_0.9.7)(64bit), but none of the providers can be installed
  • package fwupd-plugin-flashrom-1.7.9-1.el9.x86_64 requires libfwupdplugin.so.5(LIBFWUPDPLUGIN_1.0.0)(64bit), but none of the providers can be installed
  • package fwupd-plugin-flashrom-1.7.9-1.el9.x86_64 requires libfwupdplugin.so.5(LIBFWUPDPLUGIN_1.0.8)(64bit), but none of the providers can be installed
  • package fwupd-plugin-flashrom-1.7.9-1.el9.x86_64 requires libfwupdplugin.so.5(LIBFWUPDPLUGIN_1.1.2)(64bit), but none of the providers can be installed
  • package fwupd-plugin-flashrom-1.7.9-1.el9.x86_64 requires libfwupdplugin.so.5(LIBFWUPDPLUGIN_1.2.5)(64bit), but none of the providers can be installed
  • package fwupd-plugin-flashrom-1.7.9-1.el9.x86_64 requires libfwupdplugin.so.5(LIBFWUPDPLUGIN_1.2.6)(64bit), but none of the providers can be installed
  • package fwupd-plugin-flashrom-1.7.9-1.el9.x86_64 requires libfwupdplugin.so.5(LIBFWUPDPLUGIN_1.2.9)(64bit), but none of the providers can be installed
  • package fwupd-plugin-flashrom-1.7.9-1.el9.x86_64 requires libfwupdplugin.so.5(LIBFWUPDPLUGIN_1.3.3)(64bit), but none of the providers can be installed
  • package fwupd-plugin-flashrom-1.7.9-1.el9.x86_64 requires libfwupdplugin.so.5(LIBFWUPDPLUGIN_1.4.0)(64bit), but none of the providers can be installed
  • package fwupd-plugin-flashrom-1.7.9-1.el9.x86_64 requires libfwupdplugin.so.5(LIBFWUPDPLUGIN_1.4.5)(64bit), but none of the providers can be installed
  • package fwupd-plugin-flashrom-1.7.9-1.el9.x86_64 requires libfwupdplugin.so.5(LIBFWUPDPLUGIN_1.5.5)(64bit), but none of the providers can be installed
  • package fwupd-plugin-flashrom-1.7.9-1.el9.x86_64 requires libfwupdplugin.so.5(LIBFWUPDPLUGIN_1.6.0)(64bit), but none of the providers can be installed
  • package fwupd-plugin-flashrom-1.7.9-1.el9.x86_64 requires libfwupdplugin.so.5(LIBFWUPDPLUGIN_1.6.2)(64bit), but none of the providers can be installed
  • package fwupd-plugin-flashrom-1.7.9-1.el9.x86_64 requires libfwupdplugin.so.5(LIBFWUPDPLUGIN_1.7.0)(64bit), but none of the providers can be installed
  • package fwupd-plugin-flashrom-1.7.9-1.el9.x86_64 requires libfwupdplugin.so.5(LIBFWUPDPLUGIN_1.7.3)(64bit), but none of the providers can be installed
  • package fwupd-plugin-flashrom-1.7.9-1.el9.x86_64 requires fwupd(x86-64) = 1.7.9-1.el9, but none of the providers can be installed
  • cannot install the best update candidate for package fwupd-1.7.9-1.el9.x86_64
  • problem with installed package fwupd-plugin-flashrom-1.7.9-1.el9.x86_64
    Problem 2: cannot install both libselinux-3.5-1.el9.x86_64 and libselinux-3.4-3.el9.x86_64
  • package python3-libselinux-3.4-3.el9.x86_64 requires libselinux(x86-64) = 3.4-3.el9, but none of the providers can be installed
  • cannot install the best update candidate for package libselinux-3.4-3.el9.x86_64
  • problem with installed package python3-libselinux-3.4-3.el9.x86_64
    Problem 3: cannot install both libsemanage-3.5-1.el9.x86_64 and libsemanage-3.4-2.el9.x86_64
  • package python3-libsemanage-3.4-2.el9.x86_64 requires libsemanage(x86-64) = 3.4-2.el9, but none of the providers can be installed
  • cannot install the best update candidate for package libsemanage-3.4-2.el9.x86_64
  • problem with installed package python3-libsemanage-3.4-2.el9.x86_64
    Problem 4: cannot install both policycoreutils-3.5-1.el9.x86_64 and policycoreutils-3.4-4.el9.x86_64
  • package python3-policycoreutils-3.4-4.el9.noarch requires policycoreutils = 3.4-4.el9, but none of the providers can be installed
  • cannot install the best update candidate for package policycoreutils-3.4-4.el9.x86_64
  • problem with installed package python3-policycoreutils-3.4-4.el9.noarch
    Problem 5: cannot install both python3-3.9.16-1.el9.x86_64 and python3-3.9.14-1.el9_1.1.x86_64
  • package python-unversioned-command-3.9.14-1.el9_1.1.noarch requires python3 = 3.9.14-1.el9_1.1, but none of the providers can be installed
  • cannot install the best update candidate for package python3-3.9.14-1.el9_1.1.x86_64
  • problem with installed package python-unversioned-command-3.9.14-1.el9_1.1.noarch
    Problem 6: cannot install both rpm-libs-4.16.1.3-22.el9.x86_64 and rpm-libs-4.16.1.3-19.el9_1.x86_64
  • package rpm-plugin-systemd-inhibit-4.16.1.3-19.el9_1.x86_64 requires rpm-libs(x86-64) = 4.16.1.3-19.el9_1, but none of the providers can be installed
  • cannot install the best update candidate for package rpm-libs-4.16.1.3-19.el9_1.x86_64
  • problem with installed package rpm-plugin-systemd-inhibit-4.16.1.3-19.el9_1.x86_64
    Problem 7: cannot install both libselinux-3.5-1.el9.x86_64 and libselinux-3.4-3.el9.x86_64
  • package python3-libselinux-3.4-3.el9.x86_64 requires libselinux(x86-64) = 3.4-3.el9, but none of the providers can be installed
  • package libselinux-utils-3.5-1.el9.x86_64 requires libselinux.so.1(LIBSELINUX_3.5)(64bit), but none of the providers can be installed
  • package libselinux-utils-3.5-1.el9.x86_64 requires libselinux(x86-64) = 3.5-1.el9, but none of the providers can be installed
  • package cloud-init-22.1-5.el9.0.1.noarch requires libselinux-python3, but none of the providers can be installed
  • cannot install the best update candidate for package libselinux-utils-3.4-3.el9.x86_64
  • problem with installed package cloud-init-22.1-5.el9.0.1.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)

    Our Jfrog artifactory is hosted in us-east region.

Which url to pick for baseos and appstream

Can anyone help me on this

even this link also failed
https://mirror-hnd.yuki.net.uk/rocky/9.2/BaseOS/x86_64/os/

How exactly does artifactory work for syncing repositories? Are you just using baseos? If so, you need at least appstream as well (based on some of the packages I am seeing in your error).

Looks like that package is from the appstream repo.
Name : fwupd-plugin-flashrom
Version : 1.8.10
Release : 2.el9
Architecture : x86_64
Size : 1.9 M
Source : fwupd-1.8.10-2.el9.src.rpm
Repository : appstream
Summary : fwupd plugin using flashrom

As @nazunalika already mentioned you will also need the appstream repo, do you have than enabled?

https://dl.rockylinux.org/pub/rocky/9.2/AppStream/x86_64/os

In rocky.repo this one is used.

[appstream]
name=Rocky Linux $releasever - AppStream
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=AppStream-$releasever$rltype
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/AppStream/$basearch/os/
gpgcheck=1
enabled=1
countme=1
metadata_expire=6h
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9

HI Guys,

Thanks for the suggestions, yes only base os is mapped currently , let me map the appstream upstream and try

Yes It worked :grinning: after adding appstream.

I see these repos list as well
https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=HighAvailability-$releasever$rltype
https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=ResilientStorage-$releasever$rltype

Is it good to add these as well , since it says HighAvailability and ResilientStorage