Question
How can I ensure all EasyApache 4 packages are installed from the correct repository on RHEL based systems?
Answer
After installing or removing an EasyApache 4 repository, such as CloudLinux or Imunify360, you may need to replace some packages with those from the correct repositories.
Note: The repository in /etc/yum.repos.d/EA4.repo should remain enabled even when CloudLinux or Imunify360 is installed.
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Enable or disable the repos in
/etc/yum.repos.d/that you do not intend to use by changing theenabledvariable. 1 is enabled, and 0 is disabled. - Use the
distro-syncoption ofyum/dnfto replace the packages with those from the correct repositories.CentOS 7 CloudLinux 6/7
# yum distro-sync ea-*
CloudLinux 8/9, AlmaLinux 8/9, Rocky Linux 8/9
# dnf distro-sync ea-*
- Review the output to ensure the packages will be uninstalled from the incorrect repos and installed from the correct repo.
- Enter "y" to proceed if everything looks correct.
Comments
0 comments
Article is closed for comments.