Bug 1325941 - "dnf install npm" doesn't install nodejs
Summary: "dnf install npm" doesn't install nodejs
Keywords:
Status: CLOSED DUPLICATE of bug 1096506
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 24
Hardware: noarch
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-11 13:04 UTC by Jiri Popelka
Modified: 2016-05-02 11:14 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-05-02 11:14:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.