Can't build ISO: npm conflicts with existing nodejs

Bug #1260246 reported by Mike Scherbakov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Aleksandr Didenko

Bug Description

Following instruction guide, I'm getting the following error:

root@ubuntu:~# apt-get install npm
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 npm : Depends: nodejs (>= 0.6.19~dfsg1-3) but it is not going to be installed
       Depends: nodejs-dev
       Depends: node-node-uuid but it is not going to be installed
       Depends: node-request but it is not going to be installed
       Depends: node-mkdirp but it is not going to be installed
       Depends: node-minimatch but it is not going to be installed
       Depends: node-semver but it is not going to be installed
       Depends: node-ini but it is not going to be installed
       Depends: node-graceful-fs but it is not going to be installed
       Depends: node-abbrev but it is not going to be installed
       Depends: node-nopt but it is not going to be installed
       Depends: node-fstream but it is not going to be installed
       Depends: node-rimraf but it is not going to be installed
       Depends: node-tar but it is not going to be installed
       Depends: node-which but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

As "add-apt-repository ppa:chris-lea/node.js" was issues, node.js was installed from another repo - so it most likely causes such collision. Are there no any way to install node.js from the main repository to make sure there will be no conflicts?

Tags: iso
Changed in fuel:
status: New → In Progress
Changed in fuel:
assignee: Vitaly Kramskikh (vkramskikh) → Alexander Didenko (adidenko)
Revision history for this message
Aleksandr Didenko (adidenko) wrote :
Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/61702
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=a0e6fb669d9fc699f014e5acfa544c542bf42bb6
Submitter: Jenkins
Branch: master

commit a0e6fb669d9fc699f014e5acfa544c542bf42bb6
Author: Alexander Didenko <email address hidden>
Date: Thu Dec 12 12:53:42 2013 +0200

    Fix for doc formatting bug and small update to ISO build doc

    Closes-Bug: #1260246

    We need to remove nodejs and nodejs-legacy packages before installing nodejs
    from the PPA repo in order to avoid conflicts with old system packages.
    We also should not try to install "npm" package since it's a part of new nodejs

    Change-Id: I5a5386317ba3ab8915bf0da089eab12e499fdb5a

Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.