Bug 1370524 - latest NPM not installable on Fedora 24.
Summary: latest NPM not installable on Fedora 24.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: npm
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: NodeJS Packaging SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-26 14:40 UTC by Edward Rudd
Modified: 2016-08-27 19:01 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-26 14:55:14 UTC
Type: Bug


Attachments (Terms of Use)

Description Edward Rudd 2016-08-26 14:40:35 UTC
Description of problem:
There are 2 vesions of NPM in fedora..  npm-1:2.15.9 and npm 3.5.4-5.  due to the nodejs conflicts setting of not allowing nodejs 1:2.15.9 one can not install npm 3.5.4.  Right now I have a very real issue where I need npm >= 3 for a project and due to this snafu on versioning I am unable to install it.

Version-Release number of selected component (if applicable):
npm-3.5.4-5 / nodejs-4.5.0-1

How reproducible:
all the time

Steps to Reproduce:
1. sudo dnf install nodejs
2. sudo dnf install npm-3.5.4

Actual results:
Error: package nodejs-1:4.5.0-1.fc24.x86_64 conflicts with npm < 1:2.15.9 provided by npm-3.5.4-5.fc24.noarch

Expected results:
the package to be installed

Additional info:
the npm package needs to be rebuild with an epock OR the conflict specification dropped from the nodejs package.

Comment 1 Tom Hughes 2016-08-26 14:55:14 UTC
This is deliberate - the separate npm package was meant to be retired but we forgot to do so and packages can't be retired after release.

The correct npm to use in F24 is the bundled 2.x version. Fedora 25 will include npm 3.x along with a newer version of Node.js.

Comment 2 Zuzana Svetlikova 2016-08-27 19:01:05 UTC
If you need npm@3 either do npm i npm -g or dnf install nodejs --releasever=25


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