npm is not installing on ubuntu [duplicate]












0















This question already has an answer here:




  • Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?

    21 answers




I can't install npm.Whenever i try to type



sudo apt-get install npm


this comes
`E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?' what should i do










share|improve this question













marked as duplicate by karel, Kevin Bowen, guiverc, Community Dec 24 '18 at 7:26


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.




















    0















    This question already has an answer here:




    • Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?

      21 answers




    I can't install npm.Whenever i try to type



    sudo apt-get install npm


    this comes
    `E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
    E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?' what should i do










    share|improve this question













    marked as duplicate by karel, Kevin Bowen, guiverc, Community Dec 24 '18 at 7:26


    This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















      0












      0








      0








      This question already has an answer here:




      • Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?

        21 answers




      I can't install npm.Whenever i try to type



      sudo apt-get install npm


      this comes
      `E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
      E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?' what should i do










      share|improve this question














      This question already has an answer here:




      • Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?

        21 answers




      I can't install npm.Whenever i try to type



      sudo apt-get install npm


      this comes
      `E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
      E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?' what should i do





      This question already has an answer here:




      • Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?

        21 answers








      package-management npm






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 24 '18 at 3:58









      ashwin vinodashwin vinod

      62




      62




      marked as duplicate by karel, Kevin Bowen, guiverc, Community Dec 24 '18 at 7:26


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






      marked as duplicate by karel, Kevin Bowen, guiverc, Community Dec 24 '18 at 7:26


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Something is using your 'apt-get'/'apt'. Run these commands and you should be good to go:



          sudo rm /var/lib/apt/lists/lock
          sudo rm /var/cache/apt/archives/lock
          sudo rm /var/lib/dpkg/lock
          sudo dpkg --configure -a





          share|improve this answer




























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Something is using your 'apt-get'/'apt'. Run these commands and you should be good to go:



            sudo rm /var/lib/apt/lists/lock
            sudo rm /var/cache/apt/archives/lock
            sudo rm /var/lib/dpkg/lock
            sudo dpkg --configure -a





            share|improve this answer


























              0














              Something is using your 'apt-get'/'apt'. Run these commands and you should be good to go:



              sudo rm /var/lib/apt/lists/lock
              sudo rm /var/cache/apt/archives/lock
              sudo rm /var/lib/dpkg/lock
              sudo dpkg --configure -a





              share|improve this answer
























                0












                0








                0






                Something is using your 'apt-get'/'apt'. Run these commands and you should be good to go:



                sudo rm /var/lib/apt/lists/lock
                sudo rm /var/cache/apt/archives/lock
                sudo rm /var/lib/dpkg/lock
                sudo dpkg --configure -a





                share|improve this answer












                Something is using your 'apt-get'/'apt'. Run these commands and you should be good to go:



                sudo rm /var/lib/apt/lists/lock
                sudo rm /var/cache/apt/archives/lock
                sudo rm /var/lib/dpkg/lock
                sudo dpkg --configure -a






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 24 '18 at 4:19









                CPHCPH

                842




                842















                    Popular posts from this blog

                    Mouse cursor on multiple screens with different PPI

                    Agildo Ribeiro

                    Sometime when accessing a menu: “Ubuntu 16.04 has experienced an internal error”