Announcement

Collapse
No announcement yet.

Cannot retrieve repository metadata

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cannot retrieve repository metadata

    Issue with cloudlinux mirrors

  • #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


    • #3
      Hello,

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

      Comment


      • #4
        Hello,

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

        But, why this plugin accessible only in testing REPO?

        Comment


        • #5
          Hello,

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

          Comment


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

            Comment


            • #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


              • #8
                Hello,

                Anyone know how to fix this Cloudlinux issue?

                Thanks?

                Comment


                • #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...
                  X