[Bug 582432] Re: update manager should cache changelog information by url

Robert Roth evfool at gmail.com
Mon Aug 8 16:11:27 UTC 2011


** Changed in: update-manager (Ubuntu)
       Status: New => Triaged

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

Title:
  update manager should cache changelog information by url

Status in “update-manager” package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: update-manager

  Currently update-manager will download the same changelogs multiple
  times if there are multiple packages with the same changelog.

  Example:
  Today I started wireshark to capture packets.
  Started update manager
  The first package listed was apt and it downloaded the changelog automatically
  wireshark caught this request:
  48	8.591803	192.168.1.104	91.189.90.132	HTTP	GET /changelogs/pool/main/a/apt/apt_0.7.25.3ubuntu9/NEWS.Debian HTTP/1.1 
  63	8.923160	192.168.1.104	91.189.90.132	HTTP	GET /changelogs/pool/main/a/apt/apt_0.7.25.3ubuntu9/changelog HTTP/1.1 

  Then I selected the next package: apt-transport-https
  wireshark reported:
  95	13.335957	192.168.1.104	91.189.90.132	HTTP	GET /changelogs/pool/main/a/apt/apt_0.7.25.3ubuntu9/NEWS.Debian HTTP/1.1 
  110	13.665300	192.168.1.104	91.189.90.132	HTTP	GET /changelogs/pool/main/a/apt/apt_0.7.25.3ubuntu9/changelog HTTP/1.1 

  The next package: apt-utils
  144	17.995672	192.168.1.104	91.189.90.132	HTTP	GET /changelogs/pool/main/a/apt/apt_0.7.25.3ubuntu9/NEWS.Debian HTTP/1.1 
  159	18.331389	192.168.1.104	91.189.90.132	HTTP	GET /changelogs/pool/main/a/apt/apt_0.7.25.3ubuntu9/changelog HTTP/1.1 

  
  This is a waste of bandwidth and server resources.
  update-manager could cache each changelog in a dictionary by url key.
  Doing this could greatly reduce the number of requests the changelog server receives.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: update-manager 1:0.134.8
  ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
  Uname: Linux 2.6.32-22-generic i686
  Architecture: i386
  Date: Tue May 18 13:15:52 2010
  InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100312)
  PackageArchitecture: all
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: update-manager

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




More information about the foundations-bugs mailing list