Plesk Update fails on CentOS/RHEL-based distributions with the following message:
XX packages excluded due to repository priority protections
Some packages are held by more than one repository. The
priorities plugin chooses packages from the highest-priority repository, excluding duplicate entries from other repos.
Connect to the Plesk server via SSH.
2.1. Open the file
/etc/yum/pluginconf.d/priorities.confin a text editor. In this example, we are using the vi editor:
# vi /etc/yum/pluginconf.d/priorities.conf
2.2. Change the value for
enabled = 0
2.3. Save the changes and close the file.
Disable priority in CentOS-Base.repo file:
3.1. Open the file
/etc/yum.repos.d/CentOS-Base.repoin a text editor:
# vi /etc/yum.repos.d/CentOS-Base.repo
3.2. Comment out the priority directive by placing a # (hash) character at the beginning of the line.
3.3. Save the changes and close the file.
Rerun Plesk Update.