The following (perhaps temporary) fix forces the cache to refetch the object:
# diff -u /usr/share/apt-cacher/apt-cacher.orig /usr/share/apt-cacher/apt-cacher --- /usr/share/apt-cacher/apt-cacher.orig 2007-10-24 14:57:12.000000000 +0200 +++ /usr/share/apt-cacher/apt-cacher 2007-10-24 14:48:10.000000000 +0200 @@ -1587,7 +1587,7 @@ $response = $ua->head($url); } else { - $response = $ua->get($url, ':content_cb' => \&get_callback, ':read_size_hint' => $getBufLen); + $response = $ua->get($url, ':content_cb' => \&get_callback, ':read_size_hint' => $getBufLen, 'Cache-Control' => 'no-cache', 'Pragma' => 'no-cache'); }
if($do_hopping) {
The following (perhaps temporary) fix forces the cache to refetch the object:
# diff -u /usr/share/ apt-cacher/ apt-cacher. orig /usr/share/ apt-cacher/ apt-cacher apt-cacher/ apt-cacher. orig 2007-10-24 14:57:12.000000000 +0200 apt-cacher/ apt-cacher 2007-10-24 14:48:10.000000000 +0200
--- /usr/share/
+++ /usr/share/
@@ -1587,7 +1587,7 @@
$response = $ua->head($url);
}
else {
- $response = $ua->get($url, ':content_cb' => \&get_callback, ':read_size_hint' => $getBufLen);
+ $response = $ua->get($url, ':content_cb' => \&get_callback, ':read_size_hint' => $getBufLen, 'Cache-Control' => 'no-cache', 'Pragma' => 'no-cache');
}
if( $do_hopping) {