Control: tags -1 + upstream fixed-upstream
Control: forwarded -1 https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7418

> After the latest Debian upgrade yesterday evening, sa-update fails
> with error:
> 
> Cannot open file 
> /var/lib/spamassassin/3.004002/updates_spamassassin_org/1853687.tar.gz.asc: 
> No such file or directory at /usr/bin/sa-update line 1600.
> 
> I've attached the cron output.

It sounds like this is a regression introduced upstream in 3.4.2. The
fix was committed very soon after 3.4.2 was released, but there hasn't
been a subsequent release. The issue appears to be that sa-update's
retry mechanism is completely broken in 3.4.2, and if an update mirror
is unreachable or does not properly publish the update content, then the
update fails completely. The expected behavior is that sa-update retries
the download from a different update server until it finds one that
isn't broken. (Of course, if they're all broken, then the update still
fails, but that's another story.)

I believe that the fix from
https://svn.apache.org/viewvc/spamassassin/branches/3.4/sa-update.raw?r1=1842326&r2=1842325&pathrev=1842326
should be sufficient and easily backportable.

noah

Attachment: signature.asc
Description: PGP signature

Reply via email to