Hi!

On Sun, 2011-03-20 at 11:07 +0000, Mark Hindley wrote:

> Thanks.

It's my pleasure.

> If you apply this patch to /usr/share/apt-cacher/apt-cacher, does it 
> help?

No, it doesn't. I applied the patch to the mentioned file by changing
"{a,b}/apt-cacher2" to "{a,b}/apt-cacher". Otherwise, the patch fails
since apt-cacher2 does not exist. Then, I restarted apt-cacher by
"/etc/init.d/apt-cacher restart" before firing "bin/apt-get update ...".
The error message remains the same as that given in the first post.

> Mark

-- 
Best regards,
Eus (FSF member #4445)

In this digital era, where computing technology is pervasive, your
freedom depends on the software controlling those computing devices.

Join free software movement today! It is free as in freedom, not as in
free beer!

Join: http://www.fsf.org/

> commit 078bea72c89edf4287e92e46510aaa6211daf56f
> Author: Mark Hindley <m...@hindley.org.uk>
> Date:   Sun Mar 20 11:05:05 2011 +0000
> 
>     Possible fix for #618996
> 
> diff --git a/apt-cacher b/apt-cacher
> index 5179ef9..8d83af9 100755
> --- a/apt-cacher2
> +++ b/apt-cacher2
> @@ -1274,6 +1274,7 @@ sub init_curl {
>      $curl->setopt(CURLOPT_LOW_SPEED_TIME, $cfg->{fetch_timeout});
>      $curl->setopt(CURLOPT_INTERFACE, $cfg->{interface}) if defined 
> $cfg->{interface};
>      $curl->setopt(CURLOPT_NOSIGNAL, 1);
> +    $curl->setopt(CURLOPT_FOLLOWLOCATION, 1);
>  
>      # Callbacks
>      $curl->setopt(CURLOPT_DEBUGFUNCTION, \&debug_callback);





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