Centos7 using Yum to install the software is very convenient, upgrade updates are also very strong, but sometimes after the upgrade package, also upgraded a lot of dependencies, when the other packages can be a conflict, resulting in later packages are not installed
Once, when installing Python-devel, it was found that the installation was not up, and was viewed, mainly python-devel and Python2 related package conflicts, as follows:
To solve this problem, you can do this in the following way
First install the Yum-utils kit
yum install yum-utils
Execute the Clean duplicate package
package-cleanup --cleandupes
The following is the command usage
Duplicate Package Options:--dupes Scan for duplicates in your rpmdb--cleandupes Scan for duplicates in your rpmdb and remove older--noscripts disable rpm scriptlets from running when cleaning duplicates
Linux Troubleshooting-centos7 Delete conflicting packages