[IPython-dev] Jupyter Hub Doc Issue

John Omernik john at omernik.com
Sat Feb 7 05:55:47 EST 2015


As a follow-up, I did the above top link to install repository, now
when I try to do npm, I get:

sudo 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 but it is not going to be installed

       Depends: nodejs-dev

       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.



On Sat, Feb 7, 2015 at 4:52 AM, John Omernik <john at omernik.com> wrote:
> Thank you Wes I am trying that.
>
> That said, when the documentation says do this "nodejs-legacy" and it
> doesn't work, as an end user you wonder "well, wait, that isn't what I
> was told to install, yes I could just install from this other
> repository,but  that isn't what the documentation calls for, but will
> it be what the Jupyter Hub requires? Will it sorta work and possibly
> provide me other issues that I have to spend time on, etc.   Just an
> observation as an end user.
>
> On Fri, Feb 6, 2015 at 11:03 PM, Wes Turner <wes.turner at gmail.com> wrote:
>> https://github.com/joyent/node/wiki/installing-node.js-via-package-manager
>>
>> https://github.com/saltstack-formulas/node-formula
>>
>> https://docs.docker.com/installation/ubuntulinux/#ubuntu-precise-1204-lts-64-bit
>>
>> https://registry.hub.docker.com/u/jupyter/jupyterhub/
>>
>> On Feb 6, 2015 9:00 PM, "John Omernik" <john at omernik.com> wrote:
>>>
>>> In the Jupyter Hub, there's
>>>
>>> JupyterHub requires IPython >= 3.0 (current master) and Python >= 3.3.
>>>
>>> You will need nodejs/npm, which you can get from your package manager:
>>>
>>> sudo apt-get install npm nodejs-legacy
>>>
>>> (The nodejs-legacy package installs the node executable, which is
>>> required for npm to work on Debian/Ubuntu at this point)
>>>
>>> Then install javascript dependencies:
>>>
>>>
>>> However, I am running Ubuntu 12.04, and there is no nodejs-legacy.
>>> How do I meet that requirement?
>>>
>>> Thanks!
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>



More information about the IPython-dev mailing list