[pacman-dev] [PATCH 2/2] ensure package download sizes are invalidated when an error occurs

Jonathan Conder j at skurvy.no-ip.org
Wed May 19 00:17:45 EDT 2010


On Tue, 2010-05-18 at 12:26 -0500, Dan McGee wrote:
> Can someone sum up what needs doing here, if anything? I got a bit
> lost in all the emails (especially given that 25cd6c2e8da already got
> applied).

I think the consensus was just to leave it for now.

Another possible temporary solution I thought of would be to change
862: errors = _alpm_download_files(files, current->servers, cachedir);
to
862: errors += _alpm_download_files(files, current->servers, cachedir);
and move the error reporting further down. This might waste the user's
time though, if it keeps downloading outdated packages when some of them
have been removed from the mirror.

Sorry for the confusion, and thanks for applying the other patch.

Jonathan



More information about the pacman-dev mailing list