summaryrefslogtreecommitdiff
path: root/ftparchive/byhash.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2017-01-25 03:38:59 +0100
committerJulian Andres Klode <jak@debian.org>2017-02-22 16:53:46 +0100
commitd2749c845954fc1ea38133b050ee49d6f6544235 (patch)
treeebd9ed115728d11848ec869e4e6a9452ad103784 /ftparchive/byhash.cc
parente87c862cbd3aee8200f9752a0023ff53312e6dbd (diff)
Only merge acquire items with the same meta key
Since the introduction of by-hash, two differently named files might have the same real URL. In our case, the files icons-64x64.tar.gz and icons-128x128.tar.gz of empty tarballs. APT would try to merge them and end with weird errors because it completed the first download and enters the second stage for decompressing and verifying. After that it would queue a new item to copy the original file to the location, but that copy item would be in the wrong stage, causing it to use the hashes for the decompressed item. Closes: #838441 (cherry picked from commit 7b78e8bef1fc9de22d826db1db9df25f97d3710c)
Diffstat (limited to 'ftparchive/byhash.cc')
0 files changed, 0 insertions, 0 deletions