/etc/cron.daily/sa-update rpm conflict

Nerijus Baliunas nerijusb at dtiltas.lt
Wed Jun 13 11:28:23 IST 2007


On Thu, 7 Jun 2007 21:22:30 +0200 (CEST) Hugo van der Kooij <hvdkooij at vanderkooij.org> wrote:

> > I tried to update to spamassassin-3.2.0-39.el4.x86_64.rpm from ATrpms,
> > but got:
> > file /etc/cron.daily/sa-update from install of spamassassin-3.2.0-39.el4 conflicts with file from package mailscanner-4.58.9-1
> > Could you please rename /etc/cron.daily/sa-update in MailScanner rpm to
> > something else, for example, saupdate or sa_update? Of course, I could
> > also ask ATrpms guys...
> 
> Please ask Axel to fix this. SpamAssasin from rpmforge is not having this 
> issue.

I asked - please see http://bugzilla.atrpms.net/show_bug.cgi?id=1222
Axel renamed sa-update to sa_update, but he noted that Fedora 7 has
/etc/cron.d/sa-update which can be moved to /etc/cron.daily in the future.
As all other MailScanner cron scripts (which update something) are named
update* (update_phishing_sites, update_virus_scanners), I'd suggest
to rename sa-update to update_sa or update_SA or update_spamassassin.
Then it will not clash with something else.

And btw, sa-update has a bit incorrect comment at the top:
# Change the next '1' to '0' to enable this regular update.
# It is disabled by default as it causes problems on many systems.

it should be
# Change the next 'yes' to 'no' to enable this regular update.
# It is disabled by default as it causes problems on many systems.

> You may want to move from ATRPMS to rpmforge (for this package).

I like ATrpms package as it uses saupdates.openprotect.com channel
for SA updates, which I use too.

Regards,
Nerijus


More information about the MailScanner mailing list