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

Launchpad Bug Tracker 1162876 at bugs.launchpad.net
Mon Apr 1 17:40:04 UTC 2013


You have been subscribed to a public bug by Chris J Arges (arges):

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.

** Affects: apt-cacher-ng (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: apt-cacher-ng (Ubuntu Precise)
     Importance: Medium
     Assignee: Chris J Arges (arges)
         Status: In Progress

-- 
apt-cacher-ng data corruption with HTTP headers
https://bugs.launchpad.net/bugs/1162876
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list