Comment 23 for bug 26083

Revision history for this message
Juha Kallioinen (juha-kallioinen) wrote :

I've recently run into this problem with apt (in 32 bit 10.04 and 10.10) and http deb-url's.

For me the reason was that I was trying to download more than 4 gigabytes of packages with one single apt-get from one repository. All the packages were originating from the same server/url (I had my own trivial repository).

In my case the real problem is that apt uses unsigned long variables for counters and file size and the variables overflow after 4 gigs have been downloaded. For the subsequent packages the payload is treated as a part of the http headers and that's why I got Bad header line and the single header line over 360 characters errors.

I don't see this problem in 64 bit installations.

 Juha