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

-- 
'Bad header line' error when trying to use apt
https://bugs.launchpad.net/bugs/26083
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to