Public bug reported:

5-15% of packages downloaded through apt-cacher-ng are corrupt with a
"Size mismatch" or "Hash Sum mismatch" error, reported by the client.
Apparently, the corrupted files on the cache host in /var/cache/apt-
cacher-ng are not corrupt but contain a different package than the
filename suggests. For example, python-apt_0.8.3ubuntu7.1_amd64.deb is
in fact xz-lzma_5.1.1alpha+20110809-3

Not sure how to debug this further.

I use apt-cacher-ng on various hosts on various isolated environments.
Some apt-cacher-ng installs yield a higher "size mismatch" frequency
than others, which might indicate a race condition. The ones with lower
error frequency have higher uplink speeds and higher cpu speeds.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: apt-cacher-ng 0.7.18-1
ProcVersionSignature: Ubuntu 3.11.0-9.16-generic 3.11.2
Uname: Linux 3.11.0-9-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.12.5-0ubuntu1
Architecture: amd64
Date: Thu Oct  3 22:44:42 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-09-03 (30 days ago)
InstallationMedia: Xubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130723.2)
MarkForUpload: True
SourcePackage: apt-cacher-ng
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.apt.cacher.ng.backends.ubuntu: [modified]
modified.conffile..etc.apt.cacher.ng.security.conf: [inaccessible: [Errno 13] 
Permission denied: '/etc/apt-cacher-ng/security.conf']
mtime.conffile..etc.apt.cacher.ng.backends.ubuntu: 2013-09-03T16:38:18.300177

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


** Tags: amd64 apport-bug saucy

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

Title:
  "Size mismatch" caused by writing wrong data

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to