when sudo apt-get install npm nodejs-legacy The 2019 Stack Overflow Developer Survey Results Are InUbuntu / Install NodeJS & npmsudo apt-get install npm errorReinstall NodeJS and npmhow to install kjots in ubuntu 16.04VLC will not installnpm install, npm -v, sudo npm install do nothingWhile installing npm in I'am getting nodejs dependency error like nodejs-dev is not going to be installed, why?16.04 Trezor Bridge install helpUbuntu 18.10 - unable to install NPMImpossible to install R on Ubuntu 16.04

Output the Arecibo Message

Why is the Constellation's nose gear so long?

Is there a symbol for a right arrow with a square in the middle?

"as much details as you can remember"

Why can Shazam fly?

Apparent duplicates between Haynes service instructions and MOT

Am I thawing this London Broil safely?

How to answer pointed "are you quitting" questioning when I don't want them to suspect

Should I use my personal e-mail address, or my workplace one, when registering to external websites for work purposes?

Did Scotland spend $250,000 for the slogan "Welcome to Scotland"?

Worn-tile Scrabble

Why do we hear so much about the Trump administration deciding to impose and then remove tariffs?

How to deal with fear of taking dependencies

How technical should a Scrum Master be to effectively remove impediments?

Are spiders unable to hurt humans, especially very small spiders?

Distributing a matrix

Is bread bad for ducks?

One word riddle: Vowel in the middle

What does Linus Torvalds mean when he says that Git "never ever" tracks a file?

Why not take a picture of a closer black hole?

Is an up-to-date browser secure on an out-of-date OS?

Does coating your armor in silver add any effects?

What is the meaning of Triage in Cybersec world?

Time travel alters history but people keep saying nothing's changed



when sudo apt-get install npm nodejs-legacy



The 2019 Stack Overflow Developer Survey Results Are InUbuntu / Install NodeJS & npmsudo apt-get install npm errorReinstall NodeJS and npmhow to install kjots in ubuntu 16.04VLC will not installnpm install, npm -v, sudo npm install do nothingWhile installing npm in I'am getting nodejs dependency error like nodejs-dev is not going to be installed, why?16.04 Trezor Bridge install helpUbuntu 18.10 - unable to install NPMImpossible to install R on Ubuntu 16.04



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















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:
nodejs-legacy : Depends: nodejs (>= 0.6.19~dfsg1-3~) but it is not going to be installed
npm : Depends: nodejs but it is not going to be installed
Depends: node-abbrev (>= 1.0.4) but it is not going to be installed
Depends: node-ansi (>= 0.3.0-2) but it is not going to be installed
Depends: node-ansi-color-table but it is not going to be installed
Depends: node-archy but it is not going to be installed
Depends: node-block-stream but it is not going to be installed
Depends: node-fstream (>= 0.1.22) but it is not going to be installed
Depends: node-fstream-ignore but it is not going to be installed
Depends: node-github-url-from-git but it is not going to be installed
Depends: node-glob (>= 3.1.21) but it is not going to be installed
Depends: node-graceful-fs (>= 2.0.0) but it is not going to be installed
Depends: node-inherits but it is not going to be installed
Depends: node-ini (>= 1.1.0) but it is not going to be installed
Depends: node-lockfile but it is not going to be installed
Depends: node-lru-cache (>= 2.3.0) but it is not going to be installed
Depends: node-minimatch (>= 0.2.11) but it is not going to be installed
Depends: node-mkdirp (>= 0.3.3) but it is not going to be installed
Depends: node-gyp (>= 0.10.9) but it is not going to be installed
Depends: node-nopt (>= 3.0.1) but it is not going to be installed
Depends: node-npmlog but it is not going to be installed
Depends: node-once but it is not going to be installed
Depends: node-osenv but it is not going to be installed
Depends: node-read but it is not going to be installed
Depends: node-read-package-json (>= 1.1.0) but it is not going to be installed
Depends: node-request (>= 2.25.0) but it is not going to be installed
Depends: node-retry but it is not going to be installed
Depends: node-rimraf (>= 2.2.2) but it is not going to be installed
Depends: node-semver (>= 2.1.0) but it is not going to be installed
Depends: node-sha but it is not going to be installed
Depends: node-slide but it is not going to be installed
Depends: node-tar (>= 0.1.18) but it is not going to be installed
Depends: node-underscore 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.









share|improve this question
















bumped to the homepage by Community 2 days ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Please add more information to help with the issue...

    – George Udosen
    Apr 4 '17 at 13:33






  • 1





    Try: sudo apt install -f, then sudo apt update, sudo apt dist-upgrade and finally try installing again

    – George Udosen
    Apr 4 '17 at 13:34











  • when type sudo apt update after the sudo apt install -f get another error

    – Supun Madushanka
    Apr 4 '17 at 13:52












  • when sudo apt update after sudo apt install get error i will comment error saperate box below

    – Supun Madushanka
    Apr 4 '17 at 13:56











  • Err:20 apt.dockerproject.org/repo debian-xenial Release 403 Forbidden Err:21 ppa.launchpad.net/rabbitvcs/ppa/ubuntu xenial Release 404 Not Found

    – Supun Madushanka
    Apr 4 '17 at 13:56

















1















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:
nodejs-legacy : Depends: nodejs (>= 0.6.19~dfsg1-3~) but it is not going to be installed
npm : Depends: nodejs but it is not going to be installed
Depends: node-abbrev (>= 1.0.4) but it is not going to be installed
Depends: node-ansi (>= 0.3.0-2) but it is not going to be installed
Depends: node-ansi-color-table but it is not going to be installed
Depends: node-archy but it is not going to be installed
Depends: node-block-stream but it is not going to be installed
Depends: node-fstream (>= 0.1.22) but it is not going to be installed
Depends: node-fstream-ignore but it is not going to be installed
Depends: node-github-url-from-git but it is not going to be installed
Depends: node-glob (>= 3.1.21) but it is not going to be installed
Depends: node-graceful-fs (>= 2.0.0) but it is not going to be installed
Depends: node-inherits but it is not going to be installed
Depends: node-ini (>= 1.1.0) but it is not going to be installed
Depends: node-lockfile but it is not going to be installed
Depends: node-lru-cache (>= 2.3.0) but it is not going to be installed
Depends: node-minimatch (>= 0.2.11) but it is not going to be installed
Depends: node-mkdirp (>= 0.3.3) but it is not going to be installed
Depends: node-gyp (>= 0.10.9) but it is not going to be installed
Depends: node-nopt (>= 3.0.1) but it is not going to be installed
Depends: node-npmlog but it is not going to be installed
Depends: node-once but it is not going to be installed
Depends: node-osenv but it is not going to be installed
Depends: node-read but it is not going to be installed
Depends: node-read-package-json (>= 1.1.0) but it is not going to be installed
Depends: node-request (>= 2.25.0) but it is not going to be installed
Depends: node-retry but it is not going to be installed
Depends: node-rimraf (>= 2.2.2) but it is not going to be installed
Depends: node-semver (>= 2.1.0) but it is not going to be installed
Depends: node-sha but it is not going to be installed
Depends: node-slide but it is not going to be installed
Depends: node-tar (>= 0.1.18) but it is not going to be installed
Depends: node-underscore 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.









share|improve this question
















bumped to the homepage by Community 2 days ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Please add more information to help with the issue...

    – George Udosen
    Apr 4 '17 at 13:33






  • 1





    Try: sudo apt install -f, then sudo apt update, sudo apt dist-upgrade and finally try installing again

    – George Udosen
    Apr 4 '17 at 13:34











  • when type sudo apt update after the sudo apt install -f get another error

    – Supun Madushanka
    Apr 4 '17 at 13:52












  • when sudo apt update after sudo apt install get error i will comment error saperate box below

    – Supun Madushanka
    Apr 4 '17 at 13:56











  • Err:20 apt.dockerproject.org/repo debian-xenial Release 403 Forbidden Err:21 ppa.launchpad.net/rabbitvcs/ppa/ubuntu xenial Release 404 Not Found

    – Supun Madushanka
    Apr 4 '17 at 13:56













1












1








1


1






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:
nodejs-legacy : Depends: nodejs (>= 0.6.19~dfsg1-3~) but it is not going to be installed
npm : Depends: nodejs but it is not going to be installed
Depends: node-abbrev (>= 1.0.4) but it is not going to be installed
Depends: node-ansi (>= 0.3.0-2) but it is not going to be installed
Depends: node-ansi-color-table but it is not going to be installed
Depends: node-archy but it is not going to be installed
Depends: node-block-stream but it is not going to be installed
Depends: node-fstream (>= 0.1.22) but it is not going to be installed
Depends: node-fstream-ignore but it is not going to be installed
Depends: node-github-url-from-git but it is not going to be installed
Depends: node-glob (>= 3.1.21) but it is not going to be installed
Depends: node-graceful-fs (>= 2.0.0) but it is not going to be installed
Depends: node-inherits but it is not going to be installed
Depends: node-ini (>= 1.1.0) but it is not going to be installed
Depends: node-lockfile but it is not going to be installed
Depends: node-lru-cache (>= 2.3.0) but it is not going to be installed
Depends: node-minimatch (>= 0.2.11) but it is not going to be installed
Depends: node-mkdirp (>= 0.3.3) but it is not going to be installed
Depends: node-gyp (>= 0.10.9) but it is not going to be installed
Depends: node-nopt (>= 3.0.1) but it is not going to be installed
Depends: node-npmlog but it is not going to be installed
Depends: node-once but it is not going to be installed
Depends: node-osenv but it is not going to be installed
Depends: node-read but it is not going to be installed
Depends: node-read-package-json (>= 1.1.0) but it is not going to be installed
Depends: node-request (>= 2.25.0) but it is not going to be installed
Depends: node-retry but it is not going to be installed
Depends: node-rimraf (>= 2.2.2) but it is not going to be installed
Depends: node-semver (>= 2.1.0) but it is not going to be installed
Depends: node-sha but it is not going to be installed
Depends: node-slide but it is not going to be installed
Depends: node-tar (>= 0.1.18) but it is not going to be installed
Depends: node-underscore 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.









share|improve this question
















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:
nodejs-legacy : Depends: nodejs (>= 0.6.19~dfsg1-3~) but it is not going to be installed
npm : Depends: nodejs but it is not going to be installed
Depends: node-abbrev (>= 1.0.4) but it is not going to be installed
Depends: node-ansi (>= 0.3.0-2) but it is not going to be installed
Depends: node-ansi-color-table but it is not going to be installed
Depends: node-archy but it is not going to be installed
Depends: node-block-stream but it is not going to be installed
Depends: node-fstream (>= 0.1.22) but it is not going to be installed
Depends: node-fstream-ignore but it is not going to be installed
Depends: node-github-url-from-git but it is not going to be installed
Depends: node-glob (>= 3.1.21) but it is not going to be installed
Depends: node-graceful-fs (>= 2.0.0) but it is not going to be installed
Depends: node-inherits but it is not going to be installed
Depends: node-ini (>= 1.1.0) but it is not going to be installed
Depends: node-lockfile but it is not going to be installed
Depends: node-lru-cache (>= 2.3.0) but it is not going to be installed
Depends: node-minimatch (>= 0.2.11) but it is not going to be installed
Depends: node-mkdirp (>= 0.3.3) but it is not going to be installed
Depends: node-gyp (>= 0.10.9) but it is not going to be installed
Depends: node-nopt (>= 3.0.1) but it is not going to be installed
Depends: node-npmlog but it is not going to be installed
Depends: node-once but it is not going to be installed
Depends: node-osenv but it is not going to be installed
Depends: node-read but it is not going to be installed
Depends: node-read-package-json (>= 1.1.0) but it is not going to be installed
Depends: node-request (>= 2.25.0) but it is not going to be installed
Depends: node-retry but it is not going to be installed
Depends: node-rimraf (>= 2.2.2) but it is not going to be installed
Depends: node-semver (>= 2.1.0) but it is not going to be installed
Depends: node-sha but it is not going to be installed
Depends: node-slide but it is not going to be installed
Depends: node-tar (>= 0.1.18) but it is not going to be installed
Depends: node-underscore 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.






16.04 npm






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 4 '17 at 13:32









George Udosen

21.8k104572




21.8k104572










asked Apr 4 '17 at 13:31









Supun MadushankaSupun Madushanka

612




612





bumped to the homepage by Community 2 days ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 2 days ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • Please add more information to help with the issue...

    – George Udosen
    Apr 4 '17 at 13:33






  • 1





    Try: sudo apt install -f, then sudo apt update, sudo apt dist-upgrade and finally try installing again

    – George Udosen
    Apr 4 '17 at 13:34











  • when type sudo apt update after the sudo apt install -f get another error

    – Supun Madushanka
    Apr 4 '17 at 13:52












  • when sudo apt update after sudo apt install get error i will comment error saperate box below

    – Supun Madushanka
    Apr 4 '17 at 13:56











  • Err:20 apt.dockerproject.org/repo debian-xenial Release 403 Forbidden Err:21 ppa.launchpad.net/rabbitvcs/ppa/ubuntu xenial Release 404 Not Found

    – Supun Madushanka
    Apr 4 '17 at 13:56

















  • Please add more information to help with the issue...

    – George Udosen
    Apr 4 '17 at 13:33






  • 1





    Try: sudo apt install -f, then sudo apt update, sudo apt dist-upgrade and finally try installing again

    – George Udosen
    Apr 4 '17 at 13:34











  • when type sudo apt update after the sudo apt install -f get another error

    – Supun Madushanka
    Apr 4 '17 at 13:52












  • when sudo apt update after sudo apt install get error i will comment error saperate box below

    – Supun Madushanka
    Apr 4 '17 at 13:56











  • Err:20 apt.dockerproject.org/repo debian-xenial Release 403 Forbidden Err:21 ppa.launchpad.net/rabbitvcs/ppa/ubuntu xenial Release 404 Not Found

    – Supun Madushanka
    Apr 4 '17 at 13:56
















Please add more information to help with the issue...

– George Udosen
Apr 4 '17 at 13:33





Please add more information to help with the issue...

– George Udosen
Apr 4 '17 at 13:33




1




1





Try: sudo apt install -f, then sudo apt update, sudo apt dist-upgrade and finally try installing again

– George Udosen
Apr 4 '17 at 13:34





Try: sudo apt install -f, then sudo apt update, sudo apt dist-upgrade and finally try installing again

– George Udosen
Apr 4 '17 at 13:34













when type sudo apt update after the sudo apt install -f get another error

– Supun Madushanka
Apr 4 '17 at 13:52






when type sudo apt update after the sudo apt install -f get another error

– Supun Madushanka
Apr 4 '17 at 13:52














when sudo apt update after sudo apt install get error i will comment error saperate box below

– Supun Madushanka
Apr 4 '17 at 13:56





when sudo apt update after sudo apt install get error i will comment error saperate box below

– Supun Madushanka
Apr 4 '17 at 13:56













Err:20 apt.dockerproject.org/repo debian-xenial Release 403 Forbidden Err:21 ppa.launchpad.net/rabbitvcs/ppa/ubuntu xenial Release 404 Not Found

– Supun Madushanka
Apr 4 '17 at 13:56





Err:20 apt.dockerproject.org/repo debian-xenial Release 403 Forbidden Err:21 ppa.launchpad.net/rabbitvcs/ppa/ubuntu xenial Release 404 Not Found

– Supun Madushanka
Apr 4 '17 at 13:56










2 Answers
2






active

oldest

votes


















0














I solved issue - had the same. Just run:



sudo apt-get install --reinstall nodejs npm nodejs-legacy





share|improve this answer
































    0














    Please use node version manager - nvm
    https://github.com/creationix/nvm
    this way you can easily switch to the version your projects needs at any moment (which is not supported by ubuntu package)






    share|improve this answer























      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "89"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f900097%2fwhen-sudo-apt-get-install-npm-nodejs-legacy%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      I solved issue - had the same. Just run:



      sudo apt-get install --reinstall nodejs npm nodejs-legacy





      share|improve this answer





























        0














        I solved issue - had the same. Just run:



        sudo apt-get install --reinstall nodejs npm nodejs-legacy





        share|improve this answer



























          0












          0








          0







          I solved issue - had the same. Just run:



          sudo apt-get install --reinstall nodejs npm nodejs-legacy





          share|improve this answer















          I solved issue - had the same. Just run:



          sudo apt-get install --reinstall nodejs npm nodejs-legacy






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Aug 16 '17 at 11:44









          David Foerster

          28.6k1367113




          28.6k1367113










          answered Jul 29 '17 at 15:17









          ArturArtur

          1




          1























              0














              Please use node version manager - nvm
              https://github.com/creationix/nvm
              this way you can easily switch to the version your projects needs at any moment (which is not supported by ubuntu package)






              share|improve this answer



























                0














                Please use node version manager - nvm
                https://github.com/creationix/nvm
                this way you can easily switch to the version your projects needs at any moment (which is not supported by ubuntu package)






                share|improve this answer

























                  0












                  0








                  0







                  Please use node version manager - nvm
                  https://github.com/creationix/nvm
                  this way you can easily switch to the version your projects needs at any moment (which is not supported by ubuntu package)






                  share|improve this answer













                  Please use node version manager - nvm
                  https://github.com/creationix/nvm
                  this way you can easily switch to the version your projects needs at any moment (which is not supported by ubuntu package)







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 8 '18 at 11:11









                  janmyszkierjanmyszkier

                  61339




                  61339



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f900097%2fwhen-sudo-apt-get-install-npm-nodejs-legacy%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Tamil (spriik) Luke uk diar | Nawigatjuun

                      Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                      Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?