When you update your Redhat Enterprise Linux system with yum update
sometimes you run some conflicts dependencies. And you cannot continue to update the latest environment. This will make your head a headache if you cannot find the solutions.
This messages i found when i update linux systems using yum update
.
--> Finished Dependency Resolution--> Running transaction check---> Package initscripts.x86_64 0:9.49.39-1.el7 will be updated---> Package initscripts.x86_64 0:9.49.39-1.el7 will be updated---> Package kernel.x86_64 0:3.10.0-693.1.1.el7 will be erased---> Package nodejs.x86_64 1:6.16.0-1.el7 will be updated--> Processing Dependency: nodejs = 1:6.16.0-1.el7 for package: 1:npm-3.10.10-1.6.16.0.1.el7.x86_64--> Processing Conflict: initscripts-9.49.41-1.el7_5.2.x86_64 conflicts redhat-release < 7.5-0.11--> Finished Dependency ResolutionError: initscripts conflicts with redhat-release-server-7.4-18.el7.x86_64Error: Package: 1:npm-3.10.10-1.6.16.0.1.el7.x86_64 (@epel) Requires: nodejs = 1:6.16.0-1.el7 Removing: 1:nodejs-6.16.0-1.el7.x86_64 (@epel) nodejs = 1:6.16.0-1.el7 Updated By: 2:nodejs-6.10.3-1nodesource.el7.centos.x86_64 (apigee-thirdparty) nodejs = 2:6.10.3-1nodesource.el7.centos Available: 1:nodejs-4.4.7-2nodesource.el7.centos.x86_64 (apigee-thirdparty) nodejs = 1:4.4.7-2nodesource.el7.centos nodejs = 4.4.7 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
The Solutions
Remove the cause of the issue Redhat Enterpise Linux 6 package from Redhat Enterprise 7
rpm -e redhat-release-server-7.4-18.el7.x86_64 --nodeps
Verify if there are any more conflicts from Redhat Enterpise Linux 6 package.
rpm -qa | grep el6
Originally posted 2019-06-29 22:00:00.