On Wed, Aug 19, 2009 at 04:53:31PM -0400, Dominique Brazziel wrote:
> Is there a simple workaround for this problem until the
> bug is fixed?  Perhaps deleting some header files (I see
> many '404 Not found' headers for i18n files in the 'headers'
> directory)?

You could try this patch on /usr/share/apt-cacher/apt-cacher. Let me
know if it helps.

Do you have path_map set?

Thanks

Mark


diff --git a/apt-cacher b/apt-cacher
index 48741b6..03d5678 100755
--- a/apt-cacher
+++ b/apt-cacher
@@ -834,13 +834,7 @@ sub return_file {
                    }
                }
 
-               # keep alive or not?
-               # If error, force close
-               if ($code!=200 && !$concloseflag) {
-                 debug_message("Got $code error. Going to close connection.");
-                 $concloseflag=1;
-               }
-               # Otherwise follow the client
+               # Keep alive or not? Follow the client
                $headstring .= 'Connection: '.($concloseflag ? 'Close' : 
'Keep-Alive')."\r\n";
 
                # keep only parts interesting for apt



-- 
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