Bug 1325941

Summary: "dnf install npm" doesn't install nodejs
Product: [Fedora] Fedora Reporter: Jiri Popelka <jpopelka>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: jamielinux, jsilhan, mluscon, packaging-team-maint, pnemade, tchollingsworth, vmukhame, zsvetlik
Target Milestone: ---   
Target Release: ---   
Hardware: noarch   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-02 11:14:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jiri Popelka 2016-04-11 13:04:56 UTC
F24:

$ dnf install npm
Error: package npm-3.5.4-5.fc24.noarch requires npm(request) >= 2.67.0

$ dnf --enablerepo=updates-testing install npm
Error: package npm-3.5.4-5.fc24.noarch requires npm(npm-registry-client) >= 7.1.0

Comment 1 Jiri Popelka 2016-04-28 16:10:44 UTC
So I found out the npm binary has been provided by nodejs since
http://pkgs.fedoraproject.org/cgit/rpms/nodejs.git/diff/nodejs.spec?id=0227455ec2f6d0f16b90b0d530b2e56aed1c5b88

nodejs package AFAICT correctly provides & obsoletes npm and the npm(request)>=2.67.0 requirement should be satisfied by nodejs-request
# dnf repoquery --provides nodejs-request
npm(request) = 2.67.0

so I'm not sure why 'dnf install npm' can't directly install nodejs & nodejs-request.

I also tried
# dnf --enablerepo=updates-testing --allowerasing install npm
Error: package npm-3.5.4-5.fc24.noarch requires npm(request) >= 2.67.0, but none of the providers can be installed

Maybe dnf bug ? Reassigning to dnf to check that option.

Comment 2 Honza Silhan 2016-05-02 11:14:13 UTC

*** This bug has been marked as a duplicate of bug 1096506 ***