Cannot retrieve repository metadata

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • crashik88
    Junior Member
    • Mar 2021
    • 7

    #1

    Cannot retrieve repository metadata

    Issue with cloudlinux mirrors
  • crashik88
    Junior Member
    • Mar 2021
    • 7

    #2
    Ive got following error:
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: cloudlinux-x86_64-server-6. Please verify its path and try again

    when I try to run any yum command.

    Ive already tried to remove one-by-one mirrors from:
    /var/cache/yum/x86_64/6/cloudlinux-x86_64-server-6/mirrorlist.txt
    without luck.

    I also tried to run:
    yum clean all
    But this didn work either.

    How can I fix this?

    Comment

    • ighertesco
      Senior Member
      • Nov 2016
      • 184

      #3
      Hello,

      Please try to update yum-rhn-plugin package: $ yum update yum-rhn-plugin --disablerepo=* --enablerepo=cloudlinux-updates-testing

      Comment

      • crashik88
        Junior Member
        • Mar 2021
        • 7

        #4
        Hello,

        Yep, that fixed my issue, many thanks!!!

        But, why this plugin accessible only in testing REPO?

        Comment

        • ighertesco
          Senior Member
          • Nov 2016
          • 184

          #5
          Hello,

          The version you had was broken, new version will be pushed to production soon. You don have to do anything else.

          Comment

          • crashik88
            Junior Member
            • Mar 2021
            • 7

            #6
            Ok thank you very much for your help and explanation.

            Comment

            • kroonwebdesign
              Junior Member
              • Mar 2021
              • 2

              #7
              Hi.

              I still got the same issue after the following command: yum update yum-rhn-plugin --disablerepo=* --enablerepo=cloudlinux-updates-testing

              Even tried tried to rebuild it.
              rm -f /var/lib/rpm/__*
              rpm --rebuilddb -v -v
              yum clean all

              Error: Cannot retrieve repository metadata (repomd.xml) for repository: cloudlinux-x86_64-server-6. Please verify its path and try again

              Please let me know what to do..

              Comment

              • kroonwebdesign
                Junior Member
                • Mar 2021
                • 2

                #8
                Hello,

                Anyone know how to fix this Cloudlinux issue?

                Thanks?

                Comment

                • bogdan.sh
                  Administrator
                  • Nov 2016
                  • 1221

                  #9
                  Hi,

                  Well, the best (and fastest) way to have it sorted out is to create ticket at helpdesk.cloudlinux.com .
                  But we could try to contine, please show me full output of:

                  Code:
                  yum clean all
                  
                  yum repolist
                  
                  rpm -qa | grep rhn

                  Comment

                  Working...