Problem updating VS Code in Ubuntu 16.04 LTS [duplicate]











up vote
0
down vote

favorite













This question already has an answer here:




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

    21 answers



  • How can I fix apt error “W: Target Packages … is configured multiple times”?

    3 answers




I face this issue when updating my VS Code. I have posted what I obtain in my terminal after running sudo apt-get update and sudo apt-get install code below:



[10:04:28] dyufenyuy@Synepsys-Yufenyuy:~$ sudo apt-get update
[sudo] password for dyufenyuy:
Reading package lists... Done
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/skype-stable.list:1 and /etc/apt/sources.list.d/skypeforlinux.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/skype-stable.list:1 and /etc/apt/sources.list.d/skypeforlinux.list:1
W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/skype-stable.list:1 and /etc/apt/sources.list.d/skypeforlinux.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/skype-stable.list:1 and /etc/apt/sources.list.d/skypeforlinux.list:1
W: Target Translations (main/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list.d/skype-stable.list:1 and /etc/apt/sources.list.d/skypeforlinux.list:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/skype-stable.list:1 and /etc/apt/sources.list.d/skypeforlinux.list:1
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/skype-stable.list:1 and /etc/apt/sources.list.d/skypeforlinux.list:1
[10:04:48] dyufenyuy@Synepsys-Yufenyuy:~$ sudo apt-get install code
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?
[10:04:58] dyufenyuy@Synepsys-Yufenyuy:~$


Please, can someone help? Thanks.










share|improve this question















marked as duplicate by George Udosen, karel, N0rbert, muru, Eric Carvalho Nov 23 at 18:43


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.



















    up vote
    0
    down vote

    favorite













    This question already has an answer here:




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

      21 answers



    • How can I fix apt error “W: Target Packages … is configured multiple times”?

      3 answers




    I face this issue when updating my VS Code. I have posted what I obtain in my terminal after running sudo apt-get update and sudo apt-get install code below:



    [10:04:28] dyufenyuy@Synepsys-Yufenyuy:~$ sudo apt-get update
    [sudo] password for dyufenyuy:
    Reading package lists... Done
    E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
    E: Unable to lock directory /var/lib/apt/lists/
    W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/skype-stable.list:1 and /etc/apt/sources.list.d/skypeforlinux.list:1
    W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/skype-stable.list:1 and /etc/apt/sources.list.d/skypeforlinux.list:1
    W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/skype-stable.list:1 and /etc/apt/sources.list.d/skypeforlinux.list:1
    W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/skype-stable.list:1 and /etc/apt/sources.list.d/skypeforlinux.list:1
    W: Target Translations (main/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list.d/skype-stable.list:1 and /etc/apt/sources.list.d/skypeforlinux.list:1
    W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/skype-stable.list:1 and /etc/apt/sources.list.d/skypeforlinux.list:1
    W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/skype-stable.list:1 and /etc/apt/sources.list.d/skypeforlinux.list:1
    [10:04:48] dyufenyuy@Synepsys-Yufenyuy:~$ sudo apt-get install code
    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?
    [10:04:58] dyufenyuy@Synepsys-Yufenyuy:~$


    Please, can someone help? Thanks.










    share|improve this question















    marked as duplicate by George Udosen, karel, N0rbert, muru, Eric Carvalho Nov 23 at 18:43


    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.

















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite












      This question already has an answer here:




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

        21 answers



      • How can I fix apt error “W: Target Packages … is configured multiple times”?

        3 answers




      I face this issue when updating my VS Code. I have posted what I obtain in my terminal after running sudo apt-get update and sudo apt-get install code below:



      [10:04:28] dyufenyuy@Synepsys-Yufenyuy:~$ sudo apt-get update
      [sudo] password for dyufenyuy:
      Reading package lists... Done
      E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
      E: Unable to lock directory /var/lib/apt/lists/
      W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/skype-stable.list:1 and /etc/apt/sources.list.d/skypeforlinux.list:1
      W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/skype-stable.list:1 and /etc/apt/sources.list.d/skypeforlinux.list:1
      W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/skype-stable.list:1 and /etc/apt/sources.list.d/skypeforlinux.list:1
      W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/skype-stable.list:1 and /etc/apt/sources.list.d/skypeforlinux.list:1
      W: Target Translations (main/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list.d/skype-stable.list:1 and /etc/apt/sources.list.d/skypeforlinux.list:1
      W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/skype-stable.list:1 and /etc/apt/sources.list.d/skypeforlinux.list:1
      W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/skype-stable.list:1 and /etc/apt/sources.list.d/skypeforlinux.list:1
      [10:04:48] dyufenyuy@Synepsys-Yufenyuy:~$ sudo apt-get install code
      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?
      [10:04:58] dyufenyuy@Synepsys-Yufenyuy:~$


      Please, can someone help? Thanks.










      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



      • How can I fix apt error “W: Target Packages … is configured multiple times”?

        3 answers




      I face this issue when updating my VS Code. I have posted what I obtain in my terminal after running sudo apt-get update and sudo apt-get install code below:



      [10:04:28] dyufenyuy@Synepsys-Yufenyuy:~$ sudo apt-get update
      [sudo] password for dyufenyuy:
      Reading package lists... Done
      E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
      E: Unable to lock directory /var/lib/apt/lists/
      W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/skype-stable.list:1 and /etc/apt/sources.list.d/skypeforlinux.list:1
      W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/skype-stable.list:1 and /etc/apt/sources.list.d/skypeforlinux.list:1
      W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/skype-stable.list:1 and /etc/apt/sources.list.d/skypeforlinux.list:1
      W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/skype-stable.list:1 and /etc/apt/sources.list.d/skypeforlinux.list:1
      W: Target Translations (main/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list.d/skype-stable.list:1 and /etc/apt/sources.list.d/skypeforlinux.list:1
      W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/skype-stable.list:1 and /etc/apt/sources.list.d/skypeforlinux.list:1
      W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/skype-stable.list:1 and /etc/apt/sources.list.d/skypeforlinux.list:1
      [10:04:48] dyufenyuy@Synepsys-Yufenyuy:~$ sudo apt-get install code
      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?
      [10:04:58] dyufenyuy@Synepsys-Yufenyuy:~$


      Please, can someone help? Thanks.





      This question already has an answer here:




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

        21 answers



      • How can I fix apt error “W: Target Packages … is configured multiple times”?

        3 answers








      16.04 apt update-manager visual-studio-code






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 23 at 10:05









      muru

      134k19283484




      134k19283484










      asked Nov 23 at 9:14









      Yufenyuy Veyeh Dider

      1,4554924




      1,4554924




      marked as duplicate by George Udosen, karel, N0rbert, muru, Eric Carvalho Nov 23 at 18:43


      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 George Udosen, karel, N0rbert, muru, Eric Carvalho Nov 23 at 18:43


      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.





























          active

          oldest

          votes






















          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes

          Popular posts from this blog

          VLC cannot play a non-UDF mastered DVD

          Mouse cursor on multiple screens with different PPI

          Agildo Ribeiro