[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#831762: apt data corrupts with MergeList



On Tue, Jul 19, 2016 at 01:12:54PM +0530, Ritesh Raj Sarraf wrote:
> On `apt update`, the following errors have become very frequent in the
> last 1 week. I think it started with the 1.3 release of apt.
[…]
> Reading package lists... Error!
> E: Encountered a section with no Package: header
> E: Problem with MergeList /var/lib/apt/lists/httpredir.debian.org_debian_dists_unstable_main_binary-amd64_Packages
> E: The package lists or status file could not be parsed or opened.

As "usual", I haven't seen that myself… do you happen to have the
failing file around and can you upload it somewhere?

Perhaps looking at the file gives us an idea what went wrong as apt got
the correct content (as verified by hashes), but somehow messed up the
writing of the files which happens in parallel (see also the DC16 apt
talk by Julian which mentions this).

The question is just who messed up: If Pdiff we would have potentially
ed-artifacts in the file, otherwise it could be the write-buffered
implementation or perhaps its the downloader picking up a partial file
incorrectly, ………

Hard to say without details.


Best regards

David Kalnischkies

Attachment: signature.asc
Description: PGP signature


Reply to: