1 |
Arnau Bria wrote: |
2 |
> Hi all, |
3 |
> |
4 |
> I've a cron which trains my spamassassin and it has sttoped working: |
5 |
> /usr/bin/sa-learn --spam /home/arnau/Mail/SPAM/ |
6 |
> |
7 |
> ERROR: the Bayes learn function returned an error, please re-run with -D for more information |
8 |
> |
9 |
> the problem comes because there's a missing package: |
10 |
> perl-core/DB_File |
11 |
> |
12 |
> but seems that emerge doesn't want to install it, and I'm wondering |
13 |
> what use I'm missing: |
14 |
> |
15 |
> [I] mail-filter/spamassassin |
16 |
> 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} |
17 |
> Installed versions: 3.2.1-r1(06:15:05 PM 11/11/2009)(ssl -berkdb -doc -ipv6 -ldap -mysql -postgres -qmail -sqlite -tools) |
18 |
> |
19 |
> or what I'm doing wrong :-) |
20 |
> do I have to add DB_File to world? cause if I install the package with |
21 |
> oneshot option, depclean wants to remove it. |
22 |
> |
23 |
> Anyone faced same problem? |
24 |
> Cheers, |
25 |
> |
26 |
Looking at the ebuild looks like berkdb pulls it in; |
27 |
|
28 |
spamassassin/spamassassin-3.2.1-r1.ebuild |
29 |
berkdb? ( |
30 |
virtual/perl-DB_File |
31 |
|
32 |
|
33 |
virtual/perl-DB_File/perl-DB_File-1.813.ebuild |
34 |
DESCRIPTION="Virtual for DB_File" |
35 |
RDEPEND="~perl-core/DB_File-${PV}" |