Hallo,
* Raúl Sánchez Siles [Wed, Feb 08 2012, 11:40:46PM]:
> reopen 658550
> thanks
> 
>   Hi again:
> 
>   I'm reproducing this again with apt-cacher-ng 0.7-1 hence I hope you don't 
> mind if I reopen this one.

Actually, I do, but now it doesnt't matter.

> E: Failed to fetch 
> http://localhost:3142/ftp.es.debian.org/debian/pool/main/g/gnash/gnash_0.8.10-1_amd64.deb:
>  
> Hash Sum mismatch

That looks like simply bad data in the cache. How it managed to get
there is hard to guess but I remember reports from other users with bad
network connnection. And if the damaged file is in the cache once, it
won't be removed automatically. But you could do a full integrity check
(i.e. run expiration from the web interface with checksum verification,
and check/remove suspicious files. There is are more details in the
manual.)

>   apt-cacher-ng is running on my laptop which is, in turn, what I'm trying to 
> upgrade. The laptop is using wireless interface (wlan0) towards a router 
> which 
> provides internet access. I'm the upgrade process I'm not getting any intenet 
> traffic (from or to wlan0) so I'm attaching the traffic capture for lo 
> interface 
> which connects aptitude to apt-cacher-ng

Thanks. According to the stream therein, the file in your cache has
slightly truncated data contents and then it contains the beginning of
another HTTP response.

I see two potential causes for this problem:

a) there was a remote server error and your mirror delivered less data
than announced in the header and started with another file afterwards.
That could also explain the "invalid header" problem which you
originally reported, because now some binary data was on the position of
the expected header.

b) there is an error in my http processor which I could not discover
yet, miscalculating the expected data size.

Right now I tend to believe a) to be more likely, because I got two
similar reports within a day after months without such issues.

I will make another code review in the next weeks, and if there is
nothing, I will close this task.

Regards,
Eduard.

-- 
error compiling committee.c: too many arguments to function



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