package approx tags 655986 confirmed thanks On Sun, Jan 15, 2012 at 06:11:00PM +0100, Flavio Stanchina wrote: > Approx failed to download a file because the remote mirror was down. After > I switched to another mirror, I got this error from apt-get: > > Err http://approx/debian/ sid/main libgmp10 i386 2:5.0.2+dfsg-2 > 404 Not Found > > I looked into the pool and found this: > > # ls -l /var/cache/approx/debian/pool/main/g/gmp/ > total 1296 > ---------- 1 approx approx 0 Jan 15 17:48 libgmp10_5.0.2+dfsg-2_i386.deb > .... > > After removing the zero-length file, the download and installation went on > without trouble. > > I gues the problem would fix itself after $interval expired, but I'm not sure > this is the desired behaviour...
Yes, currently approx doesn't distinguish between the possible reasons why "curl" fails to download a file. In the next version it will cache the "not found" state only when an actual 404 response is returned, which should fix the problem. Thanks for reporting this. -- Eric Cooper e c c @ c m u . e d u -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org