[Bug 1162876] Re: apt-cacher-ng data corruption with HTTP headers

Launchpad Bug Tracker 1162876 at bugs.launchpad.net
Tue Apr 9 00:33:08 UTC 2013


** Branch linked: lp:ubuntu/precise-proposed/apt-cacher-ng

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1162876

Title:
  apt-cacher-ng data corruption with HTTP headers

Status in “apt-cacher-ng” package in Ubuntu:
  Fix Released
Status in “apt-cacher-ng” source package in Precise:
  Fix Committed

Bug description:
  apt-cacher-ng is reporting hash mismatches for packages in an archive
  at random. This is due to the fact that apt-cacher-ng is storing the
  HTTP headers related to the package download in the .deb file.

  This issue happens intermittently on precise apt-cacher-ng
  0.7.2-1ubuntu1, but seems to be fixed in 0.7.4.

  SRU Justification:
  [Impact] 

   * When using apt-cacher-ng hash mismatches failures for packages can
  cause problems when installing packages.

  [Test Case]

   * Set up apt-cacher-ng
   * Intermittent failures due to hash-mismatches may occur in versions <= 0.7.2-1ubuntu1

  [Regression Potential]

   * This adds a few patches that fix the issue. Unfortuantely I was unable to find an upstream VCS to be able to separate out patches from each other. Therfore I tried to remove the very obvious bits of the code that did not address the issue. All of this code is already in newer versions of the package.
   * This package has been tested in an environment with a apt-cache-ng server and 10 client machines and has been run for days without any hash mismatches.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1162876/+subscriptions



More information about the Ubuntu-sponsors mailing list