Articles in this section

Plesk update failed: Repository is listed more than once in the configuration

Plesk for Linux

Applicable to:

  • Plesk for Linux

Symptoms

  • Plesk update fails on server that runs a RHEL-based OS, while displaying an error that is similar to the following in the update logs:

    CONFIG_TEXT: Repository extras is listed more than once in the configuration
    Repository extras is listed more than once in the configuration
    Repository extras is listed more than once in the configuration

  • The repository name is duplicated in the default CentOS repository file /etc/yum.repos.d/CentOS-Base.repo:

    CONFIG_TEXT: name=CentOS-$releasever - Extras

    And in one of the custom repository files, e.g. /etc/yum.repos.d/myrepo.repo:

    CONFIG_TEXT: name=CentOS-$releasever - Extras

Cause

A duplication of the repository name within the operating system package manager configuration.

Resolution

  1. Connect to the server via SSH

  2. Remove the redundant repository file:

    # mv /etc/yum.repos.d/myrepo.repo ~/

  3. Clear cache of the package manager:

    # yum clean all

  4. Install Plesk updates:

    # plesk installer update --repatch

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.