[Bug 528925] Re: apt-get hangs with "Waiting for headers" for exactly two minutes on dl.google.com apt line

daniele 528925 at bugs.launchpad.net
Sun Jan 8 14:38:44 UTC 2012


** Changed in: apt (Ubuntu)
     Assignee: (unassigned) => daniele (dacelli)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/528925

Title:
  apt-get hangs with "Waiting for headers" for exactly two minutes on
  dl.google.com apt line

Status in APT:
  Unknown
Status in “apt” package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: apt

  I installed google chrome in karmic and later lucid. Google chrome
  adds the following apt line to update itself:

  deb http://dl.google.com/linux/deb/ stable main

  When running apt-get update with this line installed it will hang for
  exactly two minutes saying "Waiting for headers". I've ran a wireshark
  dump of the connection and it seems to be stopping right after
  receiving Release.gpg. After some kind of timeout is reached it seems
  to close the connection and then download everything else and finish
  without problems.

  Attached is the wireshark log of all this. Seems to be some kind of
  bug in how apt's http code handles the google server. Both wget and
  curl fetch the file without problems. Why does apt even need its own
  implementation of an HTTP client?

To manage notifications about this bug go to:
https://bugs.launchpad.net/apt/+bug/528925/+subscriptions




More information about the foundations-bugs mailing list