Symptom:
When installing a package using yum or the EasyApache interface you might see the following error message:
yum install ea-nginx
Loaded plugins: fastestmirror, rhnplugin, universal-hooks
This system is receiving updates from CLN.
Repository cloudlinux-x86_64-server-7 is listed more than once in the configuration
Note: Here the repository name is cloudlinux-x86_64-server-7, but it could be any other repository.
Description:
The error is related to the rhnplugin plugin and as a tentative solution, you can work around this issue by temporarily disabling that plugin.
Resolution:
There are different ways to disable a plugin when running yum. First, it's possible to disable a plugin for only the duration of a single yum command:
yum --disableplugin=rhnplugin install ea-nginx
Secondly, you can disable the rhnplugin on a more permanent basis by modifying its configuration file as follows:
- Make sure that the "enabled" line is set to zero:
vim /etc/yum/pluginconf.d/rhnplugin.conf
[main]
enabled = 0
gpgcheck = 1
- Clean all Yum's cached data:
yum clean all
- Then try to reinstall the package:
yum install ea-nginx
Comments
0 comments
Article is closed for comments.