Using -o Debug::Acquire::https=true I was able to discover the cause of
a big gap: near the end of the update it goes through all the archives
and spends several minutes silently trying to grab compressed ddtp
translations from all of them. Without debug logging it only logs the
final, uncompressed set.

I see it first probing for Translation-en.xz and Translation-en_AU.xz
for every archive, followed by the lzma versions, then gz, then
eventually the uncompressed variants. All of these 404, causing the SSL
connection to be renegotiated (my previous comment was incorrect; it
only reconnects on error, but there are so many unlikely probes that it
might as well reconnect every time). I have a few Humble Bundles
installed, for something like 25 private PPAs. 25 PPAs * 4 compression
algorithms * 2 languages == 200 requests just for Translation-*. Since
none of those 200 files exist, there's an SSL negotiation for every
single one, which is somewhere around a second from Australia. So
there's about four minutes there.

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

Title:
  update-manager times out checking for updates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1171047/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to