Hide Forgot
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.
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.
If you need npm@3 either do npm i npm -g or dnf install nodejs --releasever=25