diff options
author | Julian Andres Klode <jak@debian.org> | 2017-01-25 03:38:59 +0100 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2017-02-22 18:11:44 +0100 |
commit | 58b51ecee7fb14c52e50ca530c009604de4d965e (patch) | |
tree | 887a772e2f704cc89e7a88d315a856c74d5c07f9 /apt-inst/extract.h | |
parent | 6d3422af675caa41d5c4575c2212baa6fcd76ac2 (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)
(cherry picked from commit d2749c845954fc1ea38133b050ee49d6f6544235)
Diffstat (limited to 'apt-inst/extract.h')
0 files changed, 0 insertions, 0 deletions