Plesk

Plesk fails to update to version 18.0.42 or newer fails: Failed to solve dependencies: package requires python3

Symptoms

Cause

Repositories with python3 and python3-libs packages are disabled.

Resolution

  1. Connect to the server via SSH.

  2. Check the repositories in /etc/yum.repos.d and find the disabled ones, for example:

    # grep -i "enabled" /etc/yum.repos.d/* | grep 0
    /etc/yum.repos.d/centos-7-x86_64.repo:enabled=0

    Note: The packages python3 and python3-libs are usually provided by the vendors Base repo, e.g. /etc/yum.repos.d/CentOS-Base.repo

  3. Edit the repository file found in step 2 - change the value for "enable" to "1" or remove the line "enabled=0" from the file.

  4. Proceed with updating Plesk.

Exit mobile version