[CentOS] Anaconda installer fails to install nodejs010 and npm due to dependency error

Fri Nov 18 06:24:58 UTC 2016
Maheshwari, Shagun <Shagun.Maheshwari at Harman.com>

Hi,

I have built dependent packages of nodejs010 and npm successfully using mock and copy these RPMS to our ISO, anaconada installer fails to install due to dependency errors:

nodejs010-nodejs-are-we-there-yet-1.0.4-1.el7.centos.noarch requires
nodejs010-npm(readable-stream) < 2
nodejs010-nodejs-cmd-shim-2.0.0-2.el7.centos.noarch requires
nodejs010-npm(graceful-fs) < 4
nodejs010-nodejs-columnify-1.3.2-3.el7.centos.noarch requires
nodejs010-npm(strip-ansi) >= 2.0.0
nodejs010-nodejs-fstream-ignore-1.0.2-1.el7.centos.noarch requires
nodejs010-npm(minimatch) < 3
nodejs010-nodejs-gauge-1.2.2-3.el7.centos.noarch requires
nodejs010-npm(has-unicode) < 2
nodejs010-nodejs-init-package-json-1.9.1-1.el7.centos.noarch requires
nodejs010-npm(promzard) >= 0.3.0
nodejs010-nodejs-npm-registry-client-7.0.8-1.el7.centos.noarch
requires nodejs010-npm(concat-stream) >= 1.4.6
nodejs010-nodejs-npm-registry-client-7.0.8-1.el7.centos.noarch
requires nodejs010-npm(request) >= 2.47.0
nodejs010-nodejs-npm-registry-client-7.0.8-1.el7.centos.noarch
requires nodejs010-npm(retry) >= 0.8.0
nodejs010-nodejs-which-1.2.0-1.el7.centos.noarch requires
nodejs010-npm(is-absolute) < 0.2

If I download nodejs010 and npm dependent RPMS of same version from yumdownloader command, then I get RPMs without "centos" name. yumdownloader command taken build RPMs from repo:
[centos-sclo-rh] :http://mirror.centos.org/centos/7/sclo/x86_64/rh/nodejs010/)
If I copy paste these RPMS to my custom ISO, then anaconda successfully installs these packages without any error.

Kindly answer.

Regards,
Shagun