How to istall java in ubuntu 18.10 [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




gokulraj@optimus-prime:~$ sudo apt install default-jdk
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?


The error is occured.










share|improve this question















marked as duplicate by karel, Ketan Patel, mikewhatever, Thomas, Byte Commander Feb 10 at 14:02


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




    gokulraj@optimus-prime:~$ sudo apt install default-jdk
    E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
    E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?


    The error is occured.










    share|improve this question















    marked as duplicate by karel, Ketan Patel, mikewhatever, Thomas, Byte Commander Feb 10 at 14:02


    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




      gokulraj@optimus-prime:~$ sudo apt install default-jdk
      E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
      E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?


      The error is occured.










      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




      gokulraj@optimus-prime:~$ sudo apt install default-jdk
      E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
      E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?


      The error is occured.





      This question already has an answer here:




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

        21 answers








      apt java






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 10 at 13:35









      PerlDuck

      6,83111535




      6,83111535










      asked Feb 10 at 11:51









      Gokulraj NagarajanGokulraj Nagarajan

      204




      204




      marked as duplicate by karel, Ketan Patel, mikewhatever, Thomas, Byte Commander Feb 10 at 14:02


      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, Ketan Patel, mikewhatever, Thomas, Byte Commander Feb 10 at 14:02


      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














          There are 2 possibilities, either you are running another apt command and you need to wait till it's complete which you would solve by waiting for it to complete or killing the process, or the lock file exists in /var/lib/dpkg/lock-frontend and no process is using it, so you would have to remove it, and force package reconfiguration with the following commands



          sudo rm /var/lib/dpkg/lock-frontend
          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














            There are 2 possibilities, either you are running another apt command and you need to wait till it's complete which you would solve by waiting for it to complete or killing the process, or the lock file exists in /var/lib/dpkg/lock-frontend and no process is using it, so you would have to remove it, and force package reconfiguration with the following commands



            sudo rm /var/lib/dpkg/lock-frontend
            sudo dpkg --configure -a





            share|improve this answer






























              0














              There are 2 possibilities, either you are running another apt command and you need to wait till it's complete which you would solve by waiting for it to complete or killing the process, or the lock file exists in /var/lib/dpkg/lock-frontend and no process is using it, so you would have to remove it, and force package reconfiguration with the following commands



              sudo rm /var/lib/dpkg/lock-frontend
              sudo dpkg --configure -a





              share|improve this answer




























                0












                0








                0







                There are 2 possibilities, either you are running another apt command and you need to wait till it's complete which you would solve by waiting for it to complete or killing the process, or the lock file exists in /var/lib/dpkg/lock-frontend and no process is using it, so you would have to remove it, and force package reconfiguration with the following commands



                sudo rm /var/lib/dpkg/lock-frontend
                sudo dpkg --configure -a





                share|improve this answer















                There are 2 possibilities, either you are running another apt command and you need to wait till it's complete which you would solve by waiting for it to complete or killing the process, or the lock file exists in /var/lib/dpkg/lock-frontend and no process is using it, so you would have to remove it, and force package reconfiguration with the following commands



                sudo rm /var/lib/dpkg/lock-frontend
                sudo dpkg --configure -a






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Feb 10 at 13:19

























                answered Feb 10 at 13:11









                YPCAYPCA

                1012




                1012















                    Popular posts from this blog

                    How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

                    is 'sed' thread safe

                    How to make a Squid Proxy server?