Public bug reported: Binary package hint: apt
Description: Ubuntu 8.04 Release: 8.04 Source package is: apt-0.7.9ubuntu17 I am behind a proxy and apt /usr/lib/apt/methods/http does not use the correct http headers when fetching the .tar.gz file. This seems to be a combination of problems and I am not sure if the proxy is buggy or the originating website is buggy. So instead of getting a gzip file, I get a gunzipped tar file from the proxy when I try to get any source packages. This subsequently fails checksum. Can you please apply this patch, it is just one line: diff -r apt-0.7.9ubuntu17/methods/http.cc ../apt-0.7.9ubuntu17/methods/http.cc 687a688,691 > // generate proper encoding > if (Itm->Uri.substr(Itm->Uri.length() - 3) == ".gz") { > strcat(Buf, "Accept-Encoding: gzip,deflate\r\n"); > } It simply adds the correct Accept-Encoding header flag while requesting a .gz file. This fixes my problem and I can do a "apt-get source" from behind a proxy as well. ** Affects: apt (Ubuntu) Importance: Undecided Status: New -- apt /usr/lib/apt/methods/http has proxy issues https://bugs.launchpad.net/bugs/230832 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs