FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 12-01-2009, 03:30 PM
Arnau Bria
 
Default spamassassin error

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,

--
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity
 
Old 12-01-2009, 04:02 PM
Alan McKinnon
 
Default spamassassin error

So the package needs another package and it's not in DEPENDS. Of course --depclean will remove it if you emerge it with -1, what else would you expect to happen?


So add it to world of course


On Dec 1, 2009 6:33 PM, "Arnau Bria" <arnau@emergetux.net> 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,



--

Arnau Bria

http://blog.emergetux.net

Bombing for peace is like fucking for virginity
 

Thread Tools




All times are GMT. The time now is 09:51 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org