Cannot download package files

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












Synaptic package manager is freezing when it attempts to download packages for installation.



I have tried to install using terminal, but I keep receiving a message saying: 'connection failed'
'unable to fetch some archives, maybe run apt-get update or try with --fix-missing?'



My internet connection is fine, what has gone wrong?










share|improve this question



























    up vote
    1
    down vote

    favorite












    Synaptic package manager is freezing when it attempts to download packages for installation.



    I have tried to install using terminal, but I keep receiving a message saying: 'connection failed'
    'unable to fetch some archives, maybe run apt-get update or try with --fix-missing?'



    My internet connection is fine, what has gone wrong?










    share|improve this question

























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      Synaptic package manager is freezing when it attempts to download packages for installation.



      I have tried to install using terminal, but I keep receiving a message saying: 'connection failed'
      'unable to fetch some archives, maybe run apt-get update or try with --fix-missing?'



      My internet connection is fine, what has gone wrong?










      share|improve this question















      Synaptic package manager is freezing when it attempts to download packages for installation.



      I have tried to install using terminal, but I keep receiving a message saying: 'connection failed'
      'unable to fetch some archives, maybe run apt-get update or try with --fix-missing?'



      My internet connection is fine, what has gone wrong?







      package-management






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Sep 16 at 12:29









      Goro

      5,75252662




      5,75252662










      asked Sep 16 at 11:22









      Automaton

      164




      164




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          I'm only used to debian and apt, but I guess it must be the same.



          When you try apt-get update it shows which server(s) it try to connect to.
          Are those servers reachable?
          Is apt set up to use a proxyserver which is not running?



          These settings are under /etc/apt, for instance /etc/apt/sources.list or /etc/apt/apt.conf.d




          Update:
          ign: means apt for some reason ignores the repository.



          Try

          cd /var/lib/apt
          mv lists lists.old
          mkdir lists
          apt-get update



          Try
          set | grep -i proxy
          grep -sir proxy /etc/apt



          If it lists any proxy, is it responsive?




          Update:
          So the the settings say there is supposed to run a HTTP_PROXY on port 4001



          Either start it, if you know what it is, or remove the references to it.
          It could be set in your ~/.profile, /etc/profile or ~/.bashrc
          Or in your network settings.



          For now, do a unset HTTP_PROXY and the other proxy-related keywords.




          See also https://askubuntu.com/questions/1030454/removing-proxy-for-apt






          share|improve this answer






















          • they aren't connecting. I just get Ign:1, Ign:2, Ign3: etc before each server ie: Ign:68 ppa.launchpad.net/elementary-os/stable/ubuntu xenial/main i386 Packages. I cant understand why I am getting no connection to the servers. Have had no problems installing packages either through synaptic or terminal until now.
            – Automaton
            Sep 16 at 12:27











          • i tried to install another programme and 'cannot connect to local host' blinked momentarity on terminal...
            – Automaton
            Sep 16 at 12:45










          • See my updated answer above.
            – Lenne
            Sep 16 at 17:05










          • I tried your first suggestion but no joy. $ set | grep -i proxy returned HTTP_PROXY='localhost:4001 ' and a whole list of stuff but when I tried $ grep -sir proxy /etc/apt still nothing. I have a proxy configuration in my network settings if that is of any use?
            – Automaton
            Sep 17 at 9:59











          • $ sudo apt-get update gives following info: 0% [Connecting to localhost (127.0.0.1)] unable to connect to localhost:4001:
            – Automaton
            Sep 17 at 10:11











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          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',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f469368%2fcannot-download-package-files%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote













          I'm only used to debian and apt, but I guess it must be the same.



          When you try apt-get update it shows which server(s) it try to connect to.
          Are those servers reachable?
          Is apt set up to use a proxyserver which is not running?



          These settings are under /etc/apt, for instance /etc/apt/sources.list or /etc/apt/apt.conf.d




          Update:
          ign: means apt for some reason ignores the repository.



          Try

          cd /var/lib/apt
          mv lists lists.old
          mkdir lists
          apt-get update



          Try
          set | grep -i proxy
          grep -sir proxy /etc/apt



          If it lists any proxy, is it responsive?




          Update:
          So the the settings say there is supposed to run a HTTP_PROXY on port 4001



          Either start it, if you know what it is, or remove the references to it.
          It could be set in your ~/.profile, /etc/profile or ~/.bashrc
          Or in your network settings.



          For now, do a unset HTTP_PROXY and the other proxy-related keywords.




          See also https://askubuntu.com/questions/1030454/removing-proxy-for-apt






          share|improve this answer






















          • they aren't connecting. I just get Ign:1, Ign:2, Ign3: etc before each server ie: Ign:68 ppa.launchpad.net/elementary-os/stable/ubuntu xenial/main i386 Packages. I cant understand why I am getting no connection to the servers. Have had no problems installing packages either through synaptic or terminal until now.
            – Automaton
            Sep 16 at 12:27











          • i tried to install another programme and 'cannot connect to local host' blinked momentarity on terminal...
            – Automaton
            Sep 16 at 12:45










          • See my updated answer above.
            – Lenne
            Sep 16 at 17:05










          • I tried your first suggestion but no joy. $ set | grep -i proxy returned HTTP_PROXY='localhost:4001 ' and a whole list of stuff but when I tried $ grep -sir proxy /etc/apt still nothing. I have a proxy configuration in my network settings if that is of any use?
            – Automaton
            Sep 17 at 9:59











          • $ sudo apt-get update gives following info: 0% [Connecting to localhost (127.0.0.1)] unable to connect to localhost:4001:
            – Automaton
            Sep 17 at 10:11















          up vote
          0
          down vote













          I'm only used to debian and apt, but I guess it must be the same.



          When you try apt-get update it shows which server(s) it try to connect to.
          Are those servers reachable?
          Is apt set up to use a proxyserver which is not running?



          These settings are under /etc/apt, for instance /etc/apt/sources.list or /etc/apt/apt.conf.d




          Update:
          ign: means apt for some reason ignores the repository.



          Try

          cd /var/lib/apt
          mv lists lists.old
          mkdir lists
          apt-get update



          Try
          set | grep -i proxy
          grep -sir proxy /etc/apt



          If it lists any proxy, is it responsive?




          Update:
          So the the settings say there is supposed to run a HTTP_PROXY on port 4001



          Either start it, if you know what it is, or remove the references to it.
          It could be set in your ~/.profile, /etc/profile or ~/.bashrc
          Or in your network settings.



          For now, do a unset HTTP_PROXY and the other proxy-related keywords.




          See also https://askubuntu.com/questions/1030454/removing-proxy-for-apt






          share|improve this answer






















          • they aren't connecting. I just get Ign:1, Ign:2, Ign3: etc before each server ie: Ign:68 ppa.launchpad.net/elementary-os/stable/ubuntu xenial/main i386 Packages. I cant understand why I am getting no connection to the servers. Have had no problems installing packages either through synaptic or terminal until now.
            – Automaton
            Sep 16 at 12:27











          • i tried to install another programme and 'cannot connect to local host' blinked momentarity on terminal...
            – Automaton
            Sep 16 at 12:45










          • See my updated answer above.
            – Lenne
            Sep 16 at 17:05










          • I tried your first suggestion but no joy. $ set | grep -i proxy returned HTTP_PROXY='localhost:4001 ' and a whole list of stuff but when I tried $ grep -sir proxy /etc/apt still nothing. I have a proxy configuration in my network settings if that is of any use?
            – Automaton
            Sep 17 at 9:59











          • $ sudo apt-get update gives following info: 0% [Connecting to localhost (127.0.0.1)] unable to connect to localhost:4001:
            – Automaton
            Sep 17 at 10:11













          up vote
          0
          down vote










          up vote
          0
          down vote









          I'm only used to debian and apt, but I guess it must be the same.



          When you try apt-get update it shows which server(s) it try to connect to.
          Are those servers reachable?
          Is apt set up to use a proxyserver which is not running?



          These settings are under /etc/apt, for instance /etc/apt/sources.list or /etc/apt/apt.conf.d




          Update:
          ign: means apt for some reason ignores the repository.



          Try

          cd /var/lib/apt
          mv lists lists.old
          mkdir lists
          apt-get update



          Try
          set | grep -i proxy
          grep -sir proxy /etc/apt



          If it lists any proxy, is it responsive?




          Update:
          So the the settings say there is supposed to run a HTTP_PROXY on port 4001



          Either start it, if you know what it is, or remove the references to it.
          It could be set in your ~/.profile, /etc/profile or ~/.bashrc
          Or in your network settings.



          For now, do a unset HTTP_PROXY and the other proxy-related keywords.




          See also https://askubuntu.com/questions/1030454/removing-proxy-for-apt






          share|improve this answer














          I'm only used to debian and apt, but I guess it must be the same.



          When you try apt-get update it shows which server(s) it try to connect to.
          Are those servers reachable?
          Is apt set up to use a proxyserver which is not running?



          These settings are under /etc/apt, for instance /etc/apt/sources.list or /etc/apt/apt.conf.d




          Update:
          ign: means apt for some reason ignores the repository.



          Try

          cd /var/lib/apt
          mv lists lists.old
          mkdir lists
          apt-get update



          Try
          set | grep -i proxy
          grep -sir proxy /etc/apt



          If it lists any proxy, is it responsive?




          Update:
          So the the settings say there is supposed to run a HTTP_PROXY on port 4001



          Either start it, if you know what it is, or remove the references to it.
          It could be set in your ~/.profile, /etc/profile or ~/.bashrc
          Or in your network settings.



          For now, do a unset HTTP_PROXY and the other proxy-related keywords.




          See also https://askubuntu.com/questions/1030454/removing-proxy-for-apt







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Sep 18 at 8:09

























          answered Sep 16 at 11:49









          Lenne

          1216




          1216











          • they aren't connecting. I just get Ign:1, Ign:2, Ign3: etc before each server ie: Ign:68 ppa.launchpad.net/elementary-os/stable/ubuntu xenial/main i386 Packages. I cant understand why I am getting no connection to the servers. Have had no problems installing packages either through synaptic or terminal until now.
            – Automaton
            Sep 16 at 12:27











          • i tried to install another programme and 'cannot connect to local host' blinked momentarity on terminal...
            – Automaton
            Sep 16 at 12:45










          • See my updated answer above.
            – Lenne
            Sep 16 at 17:05










          • I tried your first suggestion but no joy. $ set | grep -i proxy returned HTTP_PROXY='localhost:4001 ' and a whole list of stuff but when I tried $ grep -sir proxy /etc/apt still nothing. I have a proxy configuration in my network settings if that is of any use?
            – Automaton
            Sep 17 at 9:59











          • $ sudo apt-get update gives following info: 0% [Connecting to localhost (127.0.0.1)] unable to connect to localhost:4001:
            – Automaton
            Sep 17 at 10:11

















          • they aren't connecting. I just get Ign:1, Ign:2, Ign3: etc before each server ie: Ign:68 ppa.launchpad.net/elementary-os/stable/ubuntu xenial/main i386 Packages. I cant understand why I am getting no connection to the servers. Have had no problems installing packages either through synaptic or terminal until now.
            – Automaton
            Sep 16 at 12:27











          • i tried to install another programme and 'cannot connect to local host' blinked momentarity on terminal...
            – Automaton
            Sep 16 at 12:45










          • See my updated answer above.
            – Lenne
            Sep 16 at 17:05










          • I tried your first suggestion but no joy. $ set | grep -i proxy returned HTTP_PROXY='localhost:4001 ' and a whole list of stuff but when I tried $ grep -sir proxy /etc/apt still nothing. I have a proxy configuration in my network settings if that is of any use?
            – Automaton
            Sep 17 at 9:59











          • $ sudo apt-get update gives following info: 0% [Connecting to localhost (127.0.0.1)] unable to connect to localhost:4001:
            – Automaton
            Sep 17 at 10:11
















          they aren't connecting. I just get Ign:1, Ign:2, Ign3: etc before each server ie: Ign:68 ppa.launchpad.net/elementary-os/stable/ubuntu xenial/main i386 Packages. I cant understand why I am getting no connection to the servers. Have had no problems installing packages either through synaptic or terminal until now.
          – Automaton
          Sep 16 at 12:27





          they aren't connecting. I just get Ign:1, Ign:2, Ign3: etc before each server ie: Ign:68 ppa.launchpad.net/elementary-os/stable/ubuntu xenial/main i386 Packages. I cant understand why I am getting no connection to the servers. Have had no problems installing packages either through synaptic or terminal until now.
          – Automaton
          Sep 16 at 12:27













          i tried to install another programme and 'cannot connect to local host' blinked momentarity on terminal...
          – Automaton
          Sep 16 at 12:45




          i tried to install another programme and 'cannot connect to local host' blinked momentarity on terminal...
          – Automaton
          Sep 16 at 12:45












          See my updated answer above.
          – Lenne
          Sep 16 at 17:05




          See my updated answer above.
          – Lenne
          Sep 16 at 17:05












          I tried your first suggestion but no joy. $ set | grep -i proxy returned HTTP_PROXY='localhost:4001 ' and a whole list of stuff but when I tried $ grep -sir proxy /etc/apt still nothing. I have a proxy configuration in my network settings if that is of any use?
          – Automaton
          Sep 17 at 9:59





          I tried your first suggestion but no joy. $ set | grep -i proxy returned HTTP_PROXY='localhost:4001 ' and a whole list of stuff but when I tried $ grep -sir proxy /etc/apt still nothing. I have a proxy configuration in my network settings if that is of any use?
          – Automaton
          Sep 17 at 9:59













          $ sudo apt-get update gives following info: 0% [Connecting to localhost (127.0.0.1)] unable to connect to localhost:4001:
          – Automaton
          Sep 17 at 10:11





          $ sudo apt-get update gives following info: 0% [Connecting to localhost (127.0.0.1)] unable to connect to localhost:4001:
          – Automaton
          Sep 17 at 10:11


















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f469368%2fcannot-download-package-files%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Peggy Mitchell

          Palaiologos

          The Forum (Inglewood, California)