Bug#293207: bogofilter: last two versions caused db errors
David Relson
relson at osagesoftware.com
Wed Feb 2 13:16:32 CET 2005
On Wed, 02 Feb 2005 10:56:26 +0100
Matthias Andree wrote:
> Karl Schmidt <karl at xtronics.com> writes:
>
> > Clint Adams wrote:
> >
> >
> >> Are you using libdb4.3 4.3.27-1 with the problematic bogofilter
> >> versions?
> >
> > I have:
> >
> > libdb4.3 4.3.27-1
>
> Please run "bogofilter -V" to check the bogofilter and Berkeley DB
> versions, the first two lines are sufficient. Do this with either
> bogofilter version. Remember that if you're inadvertently going forth
> and back between Berkeley DB versions, your database environment may
> break like this. Going backwards isn't supported (so bogoutil -d before
> the upgrade, remove the database, downgrade, bogoutil -l), going
> forwards requires you to remove the environment _BEFORE_ the update.
>
> I have rewritten parts of README.db after the 0.93.5 release, hence I'm
> adding the rewritten version below, perhaps it can help.
Hi Karl,
Let me add a bit more info:
Berkeley DB uses different log file formats for point releases. 4.2.x
and 4.3.x will _refuse_ to read one another's logs. The databases,
though, are fully compatible. The Berkeley DB Reference Guide has a
section named "Upgrading Berkeley DB Applications" which is well worth
reading when moving back and forth between versions.
David
More information about the Bogofilter
mailing list