Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#1629 - Spamassassin update doesn't consider DB format change

Attached to Project: Arch Linux
Opened by xxx (geekux) - Saturday, 16 October 2004, 08:33 GMT
Last edited by Eric Johnson (eric) - Tuesday, 19 October 2004, 21:13 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Johnson (eric)
Architecture not specified
Severity High
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I just upgraded to spamassassin-3.0.0-1, and got the following in my Procmail logfiles (SpamAssassin is run by Procmail on my box):

bayes: bayes db version 2 is not able to be used, aborting! at /usr/lib/perl5/site_perl/current/Mail/SpamAssassin/BayesStore/DBM.pm line 160.

http://spamassassin.apache.org/full/3.0.x/dist/UPGRADE states:
"The Bayesian storage modules have been completely re-written [...] Due to the database format change, you will want to do something like this when upgrading:
[...] run "sa-learn --sync", which will cause the db format to be upgraded."

I run run "sa-learn --sync", and everything worked fine afterwards.
This task depends upon

Closed by  Eric Johnson (eric)
Tuesday, 19 October 2004, 21:13 GMT
Reason for closing:  Fixed
Comment by Eric Johnson (eric) - Tuesday, 19 October 2004, 21:13 GMT
There isn't an easy way to fix this for all users since their db files can be located in different places. However, I added an additional comment to the install scriptlet (it already points the user to the UPGRADE file) that indicates the bayes db fix.

Loading...