On Sat, Mar 08, 2014 at 11:09:07PM +0000, Mark Hindley wrote:
> On Fri, Mar 07, 2014 at 05:17:30PM +0100, Uwe Storbeck wrote:
> > So we have 2 different problems, apt-get/aptitude on stable
> > and apt-get on testing/unstable throw the HTTP headers into
> > the changelog output when using apt-cacher and aptitude on
> > testing/unstable fails to get the changelog because it uses a
> > different URL than apt-get to fetch it?
> 
> Could you test these 2 patches and see if they help?

I think you will need this one as well.

Mark


commit e5d12f688fdb4dd754cb77b33d2de0c91b3fef85
Author: Mark Hindley <m...@hindley.org.uk>
Date:   Sat Mar 8 23:26:46 2014 +0000

    Additional fix required for 588c364d252b7c8b4a39dc32c35002716a83ecaa

diff --git a/apt-cacher b/apt-cacher
index 6adcf90..091fb5b 100755
--- a/apt-cacher
+++ b/apt-cacher
@@ -1629,7 +1629,7 @@ sub libcurl {
                    last if $curl_status; # Bail out if we get a curl error
                    # Otherwise go on to parse $_ as it will contain the file 
tail for binary files
                }
-               if (!$response || ($response->is_redirect && 
m#^HTTP/1\.[01]\s+\d{3}\s+#)) {
+               if (!$response || m#^HTTP/1\.[01]\s+\d{3}\s+#) {
                    info_message("Got another status line. Redirected?: $_") if 
$response;
                    $response=HTTP::Response->parse($_);
                    if ($response->code) {


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to