During updates or when using the yum utility, you may run into an error similar to the following:
Error: lvemanager conflicts with lve-wrappers-0.6-11.el7.cloudlinux.x86_64
The following describes how to diagnose this issue as related to duplicate packages and remove the duplicates from your system.
CentOS provides a utility to find and remove duplicate packages, as well as clean other package issues.
# package-cleanup --help
Loaded plugins: fastestmirror
package-cleanup: helps find problems in the rpmdb of system and correct them
usage: package-cleanup --problems or --leaves or --orphans or --oldkernels
To determine if your system has duplicate packages installed, use the following command:
# package-cleanup --dupes
If the above command lists any packages, you can then remove the duplicates with the following command:
# package-cleanup --cleandupes
If this command is successful, you have removed the duplicate packages from your system. Please re-attempt the action that resulted in this error initially.
If the commands above are unsuccessful, you can consult CentOS's page for alternative methods of cleaning duplicate packages: