Issue
How can I protect some 3rd party RPM repositories from being overwritten by updates?
Environment
CloudLinux OS 6(h)/7(h)/8
cPanel/Plesk/DirectAdmin/No panel
cPanel/Plesk/DirectAdmin/No panel
Solution
In order to protect some third-party packages that are installed from the CloudLinux repositories from being overwritten by other repositories, such as rpmforge or epel, you can do the following actions:
For CloudLinux 6.x:
Install the protectbase plugin:
# yum install yum-plugin-protectbase
Add the following lines in /etc/yum/pluginconf.d/rhnplugin.conf :
[cloudlinux-x86_64-server-6] protect = 1 [cloudlinux-base] protect = 1
For CloudLinux 7.x:
Install the protectbase plugin:
# yum install yum-plugin-protectbase
Add the following lines in /etc/yum/pluginconf.d/rhnplugin.conf :
[cloudlinux-x86_64-server-7] protect = 1 [cloudlinux-base] protect = 1
Comments
0 comments
Please sign in to leave a comment.