Debian Squeeze: apt-get hangs on download packages from our local repositoryIs there any suggestions if I...

How can I discourage/prevent PCs from using door choke-points?

Playing ONE triplet (not three)

Is it ok to include an epilogue dedicated to colleagues who passed away in the end of the manuscript?

Sword in the Stone story where the sword was held in place by electromagnets

What is the blue range indicating on this manifold pressure gauge?

When were linguistics departments first established

Welcoming 2019 Pi day: How to draw the letter π?

When two POV characters meet

Are there situations where a child is permitted to refer to their parent by their first name?

Touchscreen-controlled dentist office snowman collector game

Deleting missing values from a dataset

Is "history" a male-biased word ("his+story")?

Best mythical creature to use as livestock?

Humans have energy, but not water. What happens?

How does Dispel Magic work against Stoneskin?

What happens with multiple copies of Humility and Glorious Anthem on the battlefield?

"However" used in a conditional clause?

How could a female member of a species produce eggs unto death?

Can "semicircle" be used to refer to a part-circle that is not a exact half-circle?

Life insurance that covers only simultaneous/dual deaths

Prove that the total distance is minimised (when travelling across the longest path)

Do I need to leave some extra space available on the disk which my database log files reside, for log backup operations to successfully occur?

What exactly is the purpose of connection links straped between the rocket and the launch pad

Provisioning profile doesn't include the application-identifier and keychain-access-groups entitlements



Debian Squeeze: apt-get hangs on download packages from our local repository


Is there any suggestions if I want a dependency tool?Debian apt-get repositoryUpgrade from Debian Lenny to Squeeze with apt-getlist all packages from a repository in ubuntu / debianapache 2.4 on debian squeeze via aptupdate from debian lenny to squeezeHow to add package and its dependencies to my own apt repositoryHow to add debian “testing” repository to apt-getWill debian update packages that I've personally build from their official sources?apt-get install with not available packages













2















hope you guys can help me find out a solution to this problem that's causing me headache.



My company has a number of front end servers based upon Debian Squeeze, we also set up a local repository into the server lan for those packages that we need to backport or recompile for our own usage.



That's the problem, of all of the 14 front end servers there's only one that freezes during the packages download from the local repository.



I did every kind of test that popped into my brain:



Manually wget the package from shell: OK



Lynx browsing of the repository and download of a package: OK



Scp'ing a package from the repository: OK



Restarting apache on the repository server: Didn't helped me.



Tried to set the HTTP/1.1 pipelining to 0 into apt-get: Didn't helped.



Seems that the problem is only related to the apt-get, but how?



I really hope you guys have an idea, i'm thinking to schedule a server reboot, but it's a production machine so this is not so easy.



Thank you all in advance










share|improve this question














bumped to the homepage by Community 17 mins ago


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
















  • Did you try "apt-get clean"?

    – Danila Ladner
    May 3 '13 at 16:14











  • apt-get outputs something? you can try debug options on apt.conf

    – Lluís
    May 3 '13 at 17:43











  • Danila, yes i did. @tictacbum nothing but the normal output,hanging on "waiting for headers". Didn't found a suitable debug option though

    – Alex Anghelone
    May 3 '13 at 19:35













  • can you paste the source.lst?

    – Brigo
    May 3 '13 at 22:38











  • brigo i don't think the problem is into source.list, because i know that the server has some problem towards our local repository, but i can't figure it out, btw here it is pastebin.com/WiyS7Y5P

    – Alex Anghelone
    May 6 '13 at 8:01
















2















hope you guys can help me find out a solution to this problem that's causing me headache.



My company has a number of front end servers based upon Debian Squeeze, we also set up a local repository into the server lan for those packages that we need to backport or recompile for our own usage.



That's the problem, of all of the 14 front end servers there's only one that freezes during the packages download from the local repository.



I did every kind of test that popped into my brain:



Manually wget the package from shell: OK



Lynx browsing of the repository and download of a package: OK



Scp'ing a package from the repository: OK



Restarting apache on the repository server: Didn't helped me.



Tried to set the HTTP/1.1 pipelining to 0 into apt-get: Didn't helped.



Seems that the problem is only related to the apt-get, but how?



I really hope you guys have an idea, i'm thinking to schedule a server reboot, but it's a production machine so this is not so easy.



Thank you all in advance










share|improve this question














bumped to the homepage by Community 17 mins ago


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
















  • Did you try "apt-get clean"?

    – Danila Ladner
    May 3 '13 at 16:14











  • apt-get outputs something? you can try debug options on apt.conf

    – Lluís
    May 3 '13 at 17:43











  • Danila, yes i did. @tictacbum nothing but the normal output,hanging on "waiting for headers". Didn't found a suitable debug option though

    – Alex Anghelone
    May 3 '13 at 19:35













  • can you paste the source.lst?

    – Brigo
    May 3 '13 at 22:38











  • brigo i don't think the problem is into source.list, because i know that the server has some problem towards our local repository, but i can't figure it out, btw here it is pastebin.com/WiyS7Y5P

    – Alex Anghelone
    May 6 '13 at 8:01














2












2








2


1






hope you guys can help me find out a solution to this problem that's causing me headache.



My company has a number of front end servers based upon Debian Squeeze, we also set up a local repository into the server lan for those packages that we need to backport or recompile for our own usage.



That's the problem, of all of the 14 front end servers there's only one that freezes during the packages download from the local repository.



I did every kind of test that popped into my brain:



Manually wget the package from shell: OK



Lynx browsing of the repository and download of a package: OK



Scp'ing a package from the repository: OK



Restarting apache on the repository server: Didn't helped me.



Tried to set the HTTP/1.1 pipelining to 0 into apt-get: Didn't helped.



Seems that the problem is only related to the apt-get, but how?



I really hope you guys have an idea, i'm thinking to schedule a server reboot, but it's a production machine so this is not so easy.



Thank you all in advance










share|improve this question














hope you guys can help me find out a solution to this problem that's causing me headache.



My company has a number of front end servers based upon Debian Squeeze, we also set up a local repository into the server lan for those packages that we need to backport or recompile for our own usage.



That's the problem, of all of the 14 front end servers there's only one that freezes during the packages download from the local repository.



I did every kind of test that popped into my brain:



Manually wget the package from shell: OK



Lynx browsing of the repository and download of a package: OK



Scp'ing a package from the repository: OK



Restarting apache on the repository server: Didn't helped me.



Tried to set the HTTP/1.1 pipelining to 0 into apt-get: Didn't helped.



Seems that the problem is only related to the apt-get, but how?



I really hope you guys have an idea, i'm thinking to schedule a server reboot, but it's a production machine so this is not so easy.



Thank you all in advance







debian apt debian-squeeze






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked May 3 '13 at 14:53









Alex AngheloneAlex Anghelone

163




163





bumped to the homepage by Community 17 mins 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 17 mins ago


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















  • Did you try "apt-get clean"?

    – Danila Ladner
    May 3 '13 at 16:14











  • apt-get outputs something? you can try debug options on apt.conf

    – Lluís
    May 3 '13 at 17:43











  • Danila, yes i did. @tictacbum nothing but the normal output,hanging on "waiting for headers". Didn't found a suitable debug option though

    – Alex Anghelone
    May 3 '13 at 19:35













  • can you paste the source.lst?

    – Brigo
    May 3 '13 at 22:38











  • brigo i don't think the problem is into source.list, because i know that the server has some problem towards our local repository, but i can't figure it out, btw here it is pastebin.com/WiyS7Y5P

    – Alex Anghelone
    May 6 '13 at 8:01



















  • Did you try "apt-get clean"?

    – Danila Ladner
    May 3 '13 at 16:14











  • apt-get outputs something? you can try debug options on apt.conf

    – Lluís
    May 3 '13 at 17:43











  • Danila, yes i did. @tictacbum nothing but the normal output,hanging on "waiting for headers". Didn't found a suitable debug option though

    – Alex Anghelone
    May 3 '13 at 19:35













  • can you paste the source.lst?

    – Brigo
    May 3 '13 at 22:38











  • brigo i don't think the problem is into source.list, because i know that the server has some problem towards our local repository, but i can't figure it out, btw here it is pastebin.com/WiyS7Y5P

    – Alex Anghelone
    May 6 '13 at 8:01

















Did you try "apt-get clean"?

– Danila Ladner
May 3 '13 at 16:14





Did you try "apt-get clean"?

– Danila Ladner
May 3 '13 at 16:14













apt-get outputs something? you can try debug options on apt.conf

– Lluís
May 3 '13 at 17:43





apt-get outputs something? you can try debug options on apt.conf

– Lluís
May 3 '13 at 17:43













Danila, yes i did. @tictacbum nothing but the normal output,hanging on "waiting for headers". Didn't found a suitable debug option though

– Alex Anghelone
May 3 '13 at 19:35







Danila, yes i did. @tictacbum nothing but the normal output,hanging on "waiting for headers". Didn't found a suitable debug option though

– Alex Anghelone
May 3 '13 at 19:35















can you paste the source.lst?

– Brigo
May 3 '13 at 22:38





can you paste the source.lst?

– Brigo
May 3 '13 at 22:38













brigo i don't think the problem is into source.list, because i know that the server has some problem towards our local repository, but i can't figure it out, btw here it is pastebin.com/WiyS7Y5P

– Alex Anghelone
May 6 '13 at 8:01





brigo i don't think the problem is into source.list, because i know that the server has some problem towards our local repository, but i can't figure it out, btw here it is pastebin.com/WiyS7Y5P

– Alex Anghelone
May 6 '13 at 8:01










2 Answers
2






active

oldest

votes


















0














Have you tried capturing packets? It should give you some information on connection status, as this usually indicates network problems.



As an example, here's the output for a successfull package install:



Request:




GET /ubuntu/pool/universe/s/sdl-image1.2/libsdl-image1.2_1.2.10-3_i386.deb HTTP/1.1



Host: archive.ubuntu.com



Connection: keep-alive



User-Agent: Debian APT-HTTP/1.3 (0.8.16~exp12ubuntu10)




Response:




HTTP/1.1 200 OK



Date: Fri, 24 May 2013 13:53:57 GMT



Server: Apache/2.2.22 (Ubuntu)



Last-Modified: Fri, 30 Dec 2011 01:03:31 GMT



ETag: "71c6-4b544cd24fec0"



Accept-Ranges: bytes



Content-Length: 29126



Keep-Alive: timeout=5, max=100



Connection: Keep-Alive



Content-Type: application/x-debian-package







share|improve this answer































    0














    Is there a apt-cacher proxy declared in the Apt configuration? Check, if the following file exists:



    /etc/apt/apt.conf.d/01proxy


    See if it points to a server that can't be reached. That would explain the timeout. That happened to me, when I forgot I'd set it up.



    Hope it helps.






    share|improve this answer























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "2"
      };
      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%2fserverfault.com%2fquestions%2f504807%2fdebian-squeeze-apt-get-hangs-on-download-packages-from-our-local-repository%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














      Have you tried capturing packets? It should give you some information on connection status, as this usually indicates network problems.



      As an example, here's the output for a successfull package install:



      Request:




      GET /ubuntu/pool/universe/s/sdl-image1.2/libsdl-image1.2_1.2.10-3_i386.deb HTTP/1.1



      Host: archive.ubuntu.com



      Connection: keep-alive



      User-Agent: Debian APT-HTTP/1.3 (0.8.16~exp12ubuntu10)




      Response:




      HTTP/1.1 200 OK



      Date: Fri, 24 May 2013 13:53:57 GMT



      Server: Apache/2.2.22 (Ubuntu)



      Last-Modified: Fri, 30 Dec 2011 01:03:31 GMT



      ETag: "71c6-4b544cd24fec0"



      Accept-Ranges: bytes



      Content-Length: 29126



      Keep-Alive: timeout=5, max=100



      Connection: Keep-Alive



      Content-Type: application/x-debian-package







      share|improve this answer




























        0














        Have you tried capturing packets? It should give you some information on connection status, as this usually indicates network problems.



        As an example, here's the output for a successfull package install:



        Request:




        GET /ubuntu/pool/universe/s/sdl-image1.2/libsdl-image1.2_1.2.10-3_i386.deb HTTP/1.1



        Host: archive.ubuntu.com



        Connection: keep-alive



        User-Agent: Debian APT-HTTP/1.3 (0.8.16~exp12ubuntu10)




        Response:




        HTTP/1.1 200 OK



        Date: Fri, 24 May 2013 13:53:57 GMT



        Server: Apache/2.2.22 (Ubuntu)



        Last-Modified: Fri, 30 Dec 2011 01:03:31 GMT



        ETag: "71c6-4b544cd24fec0"



        Accept-Ranges: bytes



        Content-Length: 29126



        Keep-Alive: timeout=5, max=100



        Connection: Keep-Alive



        Content-Type: application/x-debian-package







        share|improve this answer


























          0












          0








          0







          Have you tried capturing packets? It should give you some information on connection status, as this usually indicates network problems.



          As an example, here's the output for a successfull package install:



          Request:




          GET /ubuntu/pool/universe/s/sdl-image1.2/libsdl-image1.2_1.2.10-3_i386.deb HTTP/1.1



          Host: archive.ubuntu.com



          Connection: keep-alive



          User-Agent: Debian APT-HTTP/1.3 (0.8.16~exp12ubuntu10)




          Response:




          HTTP/1.1 200 OK



          Date: Fri, 24 May 2013 13:53:57 GMT



          Server: Apache/2.2.22 (Ubuntu)



          Last-Modified: Fri, 30 Dec 2011 01:03:31 GMT



          ETag: "71c6-4b544cd24fec0"



          Accept-Ranges: bytes



          Content-Length: 29126



          Keep-Alive: timeout=5, max=100



          Connection: Keep-Alive



          Content-Type: application/x-debian-package







          share|improve this answer













          Have you tried capturing packets? It should give you some information on connection status, as this usually indicates network problems.



          As an example, here's the output for a successfull package install:



          Request:




          GET /ubuntu/pool/universe/s/sdl-image1.2/libsdl-image1.2_1.2.10-3_i386.deb HTTP/1.1



          Host: archive.ubuntu.com



          Connection: keep-alive



          User-Agent: Debian APT-HTTP/1.3 (0.8.16~exp12ubuntu10)




          Response:




          HTTP/1.1 200 OK



          Date: Fri, 24 May 2013 13:53:57 GMT



          Server: Apache/2.2.22 (Ubuntu)



          Last-Modified: Fri, 30 Dec 2011 01:03:31 GMT



          ETag: "71c6-4b544cd24fec0"



          Accept-Ranges: bytes



          Content-Length: 29126



          Keep-Alive: timeout=5, max=100



          Connection: Keep-Alive



          Content-Type: application/x-debian-package








          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered May 24 '13 at 14:21









          Pedro BritoPedro Brito

          1924




          1924

























              0














              Is there a apt-cacher proxy declared in the Apt configuration? Check, if the following file exists:



              /etc/apt/apt.conf.d/01proxy


              See if it points to a server that can't be reached. That would explain the timeout. That happened to me, when I forgot I'd set it up.



              Hope it helps.






              share|improve this answer




























                0














                Is there a apt-cacher proxy declared in the Apt configuration? Check, if the following file exists:



                /etc/apt/apt.conf.d/01proxy


                See if it points to a server that can't be reached. That would explain the timeout. That happened to me, when I forgot I'd set it up.



                Hope it helps.






                share|improve this answer


























                  0












                  0








                  0







                  Is there a apt-cacher proxy declared in the Apt configuration? Check, if the following file exists:



                  /etc/apt/apt.conf.d/01proxy


                  See if it points to a server that can't be reached. That would explain the timeout. That happened to me, when I forgot I'd set it up.



                  Hope it helps.






                  share|improve this answer













                  Is there a apt-cacher proxy declared in the Apt configuration? Check, if the following file exists:



                  /etc/apt/apt.conf.d/01proxy


                  See if it points to a server that can't be reached. That would explain the timeout. That happened to me, when I forgot I'd set it up.



                  Hope it helps.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Aug 9 '13 at 10:23









                  David LomaxDavid Lomax

                  32328




                  32328






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Server Fault!


                      • 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%2fserverfault.com%2fquestions%2f504807%2fdebian-squeeze-apt-get-hangs-on-download-packages-from-our-local-repository%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

                      As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

                      Список ссавців Італії Природоохоронні статуси | Список |...

                      Українські прізвища Зміст Історичні відомості |...