Bug#831762: apt data corrupts with MergeList

2016-07-27 Thread Ritesh Raj Sarraf
Hi David, On Tue, 2016-07-26 at 15:44 +0200, David Kalnischkies wrote: > mhh. At leat in this run the > /var/lib/apt/lists/httpredir.debian.org_debian_dists_testing_main_binary- > amd64_Packages > file is already broken before the 'apt update' call. The 404 errors make > the update fail (at

Bug#831762: apt data corrupts with MergeList

2016-07-26 Thread David Kalnischkies
On Sun, Jul 24, 2016 at 02:14:44PM +0530, Ritesh Raj Sarraf wrote: > On Sat, 2016-07-23 at 21:39 +0530, Ritesh Raj Sarraf wrote: > > > 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

Bug#831762: apt data corrupts with MergeList

2016-07-24 Thread Ritesh Raj Sarraf
On Sat, 2016-07-23 at 21:39 +0530, Ritesh Raj Sarraf wrote: > > 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

Bug#831762: apt data corrupts with MergeList

2016-07-23 Thread Ritesh Raj Sarraf
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

Bug#831762: apt data corrupts with MergeList

2016-07-23 Thread David Kalnischkies
On Sat, Jul 23, 2016 at 03:38:20PM +0530, Ritesh Raj Sarraf wrote: > I was able to reproduce it on the very first attempt. […] > Fetched 18.0 MB in 1min 42s (175 kB/s) > > Reading package lists... Error! > E: Encountered a section with no

Bug#831762: apt data corrupts with MergeList

2016-07-23 Thread Ritesh Raj Sarraf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Tue, 2016-07-19 at 11:23 +0200, David Kalnischkies wrote: > 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

Bug#831762: apt data corrupts with MergeList

2016-07-23 Thread Ritesh Raj Sarraf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Tue, 2016-07-19 at 11:26 +0200, Julian Andres Klode wrote: > > apt_pkg.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- >

Bug#831762: apt data corrupts with MergeList

2016-07-19 Thread Julian Andres Klode
On Tue, Jul 19, 2016 at 01:12:54PM +0530, Ritesh Raj Sarraf wrote: > Package: apt > Version: 1.3~pre2 > Severity: important > > 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. > > The workaround is to cleanup

Bug#831762: apt data corrupts with MergeList

2016-07-19 Thread David Kalnischkies
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:

Bug#831762: apt data corrupts with MergeList

2016-07-19 Thread Ritesh Raj Sarraf
Package: apt Version: 1.3~pre2 Severity: important 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. The workaround is to cleanup /v/l/a/lists/* and do an update again. rrs@learner:~$ sudo apt update Ign:1