On Sat, 2016-07-23 at 17:21 +0200, David Kalnischkies wrote: > Thanks. The file is indeed corrupted – looks like the last ~52879 bytes > are partial repeats of parts of the end of the file. If I haven't messed > up it looks like two blocks: one the last 22980 bytes of the file > appended and then the last 29897 bytes (not of what was written to the > file, but what should have been written to the file – that the later > part is larger than the former is a bit puzzling, too). > > Were the data files already broken before the run and you did expect > them to be "fixed" by apt in a following call or was the state clean? > No. The previous state was clean for the file that got corrupted later. I do have the full terminal log, and is attached with this email. I'm saying that explicitly (for the corrupted file) because, other mirror issues, caused another problem, which I think should be assigned to apt, but I started with filing it against mirrors. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=831460 > > You have unfortunately cut the description how the file was 'created' > – aka if it was patched via pdiff or downloaded completely anew. Your > download summary of 18 MB suggests that at least some files were > downloaded completely while others were obviously patched. > I think this bug is triggered with "Pdiff + how mirrors are involved". Because if I wipe out /var/lib/apt/lists/* and do an update, it works perfect. > Even after quite a bit of code staring I don't see how that could have > happened, so lets see if it becomes more obvious if we know how the file > came to be – and as we do run afresh, lets add a few debug options to > have the most "fun" with it (beware, lots of output): > -o Debug::pkgAcquire::Worker=1 -o Debug::Acquire::http=1 Ah!! I kept wondering what switches were to be used with the newer apt, because it has no option for --debug or --verbose. I'll enable them now and hopefully share more results as I reproduce the problem. -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System
Attachment:
apt-david.bug
Description: Binary data
Attachment:
signature.asc
Description: This is a digitally signed message part