Bug#658346: APT does not work with a repository at Sourceforge
Package: apt
Version: 0.8.16
When attempting to install a package which is held in a repository at
Sourceforge, it reports the error:
Err...
Got a single header line over 360 chars
Failed to fetch...
Got a single header line over 360 chars
This problem is due to a recent change at Sourceforge in which they
use a cookie to handle the system that directs the download to a
relevant mirror server. A string is added to the URL which makes it
450 characters long, which exceeds 360, the maximum length hard-coded
into APT by the declaration:
#define MAXLEN 360
Simply increasing MAXLEN to 500, or 1000 to be safe, would fix this
problem.
Reply to: