Arnau Bria wrote:
> Hi all,
>
> I've a cron which trains my spamassassin and it has sttoped working:
> /usr/bin/sa-learn --spam /home/arnau/Mail/SPAM/
>
> ERROR: the Bayes learn function returned an error, please re-run with -D for
> more information
>
> the problem comes because there's a missing package:
> perl-core/DB_File
>
> but seems that emerge doesn't want to install it, and I'm wondering
> what use I'm missing:
>
> [I] mail-filter/spamassassin
> Available versions: 3.1.8 3.1.8-r1 ~3.2.0 ~3.2.0-r1 ~3.2.1 3.2.1-r1
> ~3.2.2 ~3.2.3 ~3.2.4 ~3.2.5 ~3.2.5-r1 {berkdb doc ipv6 ldap mysql postgres
> qmail sqlite ssl tools}
> Installed versions: 3.2.1-r1(06:15:05 PM 11/11/2009)(ssl -berkdb -doc
> -ipv6 -ldap -mysql -postgres -qmail -sqlite -tools)
>
> or what I'm doing wrong :-)
> do I have to add DB_File to world? cause if I install the package with
> oneshot option, depclean wants to remove it.
>
> Anyone faced same problem?
> Cheers,
>
Looking at the ebuild looks like berkdb pulls it in;
spamassassin/spamassassin-3.2.1-r1.ebuild
berkdb? (
virtual/perl-DB_File
virtual/perl-DB_File/perl-DB_File-1.813.ebuild
DESCRIPTION="Virtual for DB_File"
RDEPEND="~perl-core/DB_File-${PV}"