Applicable to:
- Plesk for Linux
Symptoms
Plesk Update fails on CentOS/RHEL-based distributions with the following message:
CONFIG_TEXT: XX packages excluded due to repository priority protections
Cause
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.
Resolution
-
Connect to the Plesk server via SSH.
-
Disable
priorities
directive:2.1. Open the file
/etc/yum/pluginconf.d/priorities.conf
in 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
to 0:CONFIG_TEXT: [main]
enabled = 02.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.repo
in 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.
CONFIG_TEXT: [BaseOS]
...
#priority=13.3. Save the changes and close the file.
-
Rerun Plesk Update.
Comments
0 comments
Please sign in to leave a comment.