Articles in this section

Сannot update Plesk or OS packages: cannot retrieve repository metadata (repomd.xml) for repository

Plesk for Linux kb: technical ABT: Group B

Applicable to:

  • Plesk for Linux

Symptoms

  • Unable to update Plesk or system packages:

    Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again


    failure: repodata/repomd.xml from epel:
    [Errno 256] No more mirrors to try.
    HTTP Error 404 - Not Found

  • The following entry is found in /var/log/plesk/install/autoinstaller3.log:

    RepoError: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
    Execute command /usr/local/psa/admin/bin/send-error-report install


    Error while downloading packages metainfo: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again. Trying again.
    Failed to install plesk-service-node-utilities@x86_64:
    Number of retries is exceeded.

Cause

A 3rd-party repository is misconfigured.

Resolution

  1. Log in to the server using SSH.

  2. Disable the repository mentioned in the error message (in this example, epel) and remove cache:

    # yum-config-manager --disable epel
    # yum clean all
    # yum repolist

  3. Re-run Plesk update:

    # plesk installer install-all-updates

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.