[suggest] spamassassin 3.1.8-2

Michael Mansour mic at npgx.com.au
Sat Feb 24 02:11:17 CET 2007


Hi Dag,

> > Trying to upgrade to this:
> > 
> > # yum --enablerepo=dag -y update spamassassin spamassassin-tools
> > Loading "kernel-module" plugin
> > Setting up Update Process
> > Setting up repositories
> > Reading repository metadata in from local files
> > Could not find update match for spamassassin-tools
> > Could not find update match for perl-Mail-SpamAssassin
> > Resolving Dependencies
> > --> Populating transaction set with selected packages. Please wait.
> > ---> Package spamassassin.x86_64 0:3.1.8-2.el4 set to be updated
> > --> Running transaction check
> > --> Processing Dependency: perl(Mail::SpamAssassin) = 3.1.8 for package: 
> > spamassassin-tools
> > --> Finished Dependency Resolution
> > Error: Missing Dependency: perl(Mail::SpamAssassin) = 3.1.8 is needed by 
> > package spamassassin-tools
> > 
> > But:
> > 
> > # yum --enablerepo=dag list perl-Mail*
> > Loading "kernel-module" plugin
> > Setting up repositories
> > Reading repository metadata in from local files
> > Installed Packages
> > perl-MailTools.noarch                    1.74-1.el4.rf          installed
> > Available Packages
> > perl-Mail-Alias.noarch                   1.12-1.2.el4.rf        dag
> > perl-Mail-Bulkmail.noarch                3.12-1.2.el4.rf        dag
> > perl-Mail-IMAPClient.noarch              2.2.9-1.2.el4.rf       dag
> > perl-Mail-Mbox-MessageParser.noarch      1.4005-1.el4.rf        dag
> > perl-Mail-MboxParser.noarch              0.55-1.2.el4.rf        dag
> > perl-Mail-POP3Client.noarch              2.17-1.2.el4.rf        dag
> > perl-Mail-SPF-Query.noarch               1.999.1-1.2.el4.rf     dag
> > perl-Mail-Sender.noarch                  0.8.13-1.el4.rf        dag
> > perl-Mail-Sendmail.noarch                0.79-1.2.el4.rf        dag
> > 
> > So the perl-Mail-Spamassassin package also needs to be supplied for the 
> > spamassassin upgrade to work.
> > 
> > Thanks.
> 
> Yum is fooling you. It is listing the package names, but not the 
> package provides.
> 
> 	rpm -q --provides spamassassin

True, I get this from that command:

config(spamassassin) = 3.1.8-1.el4.rf
libspamc.so()(64bit)
perl(Mail::SpamAssassin) = 3.001008
perl(Mail::SpamAssassin) = 3.1.8-1.el4.rf
perl(Mail::SpamAssassin::AICache)
perl(Mail::SpamAssassin::ArchiveIterator)
perl(Mail::SpamAssassin::AutoWhitelist)
perl(Mail::SpamAssassin::Bayes)
perl(Mail::SpamAssassin::Bayes::Combine)
perl(Mail::SpamAssassin::Bayes::CombineChi)
perl(Mail::SpamAssassin::Bayes::CombineNaiveBayes)
perl(Mail::SpamAssassin::BayesStore)
perl(Mail::SpamAssassin::BayesStore::DBM)
perl(Mail::SpamAssassin::BayesStore::MySQL)
perl(Mail::SpamAssassin::BayesStore::PgSQL)
perl(Mail::SpamAssassin::BayesStore::SDBM)
perl(Mail::SpamAssassin::BayesStore::SQL)
perl(Mail::SpamAssassin::Client)
perl(Mail::SpamAssassin::Conf)
perl(Mail::SpamAssassin::Conf::LDAP)
perl(Mail::SpamAssassin::Conf::Parser)
perl(Mail::SpamAssassin::Conf::SQL)
perl(Mail::SpamAssassin::Constants)
perl(Mail::SpamAssassin::DBBasedAddrList)
perl(Mail::SpamAssassin::Dns)
perl(Mail::SpamAssassin::DnsResolver)
perl(Mail::SpamAssassin::EvalTests)
perl(Mail::SpamAssassin::HTML)
perl(Mail::SpamAssassin::Locales)
perl(Mail::SpamAssassin::Locker)
perl(Mail::SpamAssassin::Locker::Flock)
perl(Mail::SpamAssassin::Locker::UnixNFSSafe)
perl(Mail::SpamAssassin::Locker::Win32)
perl(Mail::SpamAssassin::Logger)
perl(Mail::SpamAssassin::Logger::File)
perl(Mail::SpamAssassin::Logger::Stderr)
perl(Mail::SpamAssassin::Logger::Syslog)
perl(Mail::SpamAssassin::MailingList)
perl(Mail::SpamAssassin::Message)
perl(Mail::SpamAssassin::Message::Metadata)
perl(Mail::SpamAssassin::Message::Metadata::Received)
perl(Mail::SpamAssassin::Message::Node)
perl(Mail::SpamAssassin::NetSet)
perl(Mail::SpamAssassin::PerMsgLearner)
perl(Mail::SpamAssassin::PerMsgStatus)
perl(Mail::SpamAssassin::PersistentAddrList)
perl(Mail::SpamAssassin::Plugin)
perl(Mail::SpamAssassin::Plugin::AWL)
perl(Mail::SpamAssassin::Plugin::AccessDB)
perl(Mail::SpamAssassin::Plugin::AntiVirus)
perl(Mail::SpamAssassin::Plugin::AutoLearnThreshold)
perl(Mail::SpamAssassin::Plugin::DCC)
perl(Mail::SpamAssassin::Plugin::DKIM)
perl(Mail::SpamAssassin::Plugin::DomainKeys)
perl(Mail::SpamAssassin::Plugin::Hashcash)
perl(Mail::SpamAssassin::Plugin::MIMEHeader)
perl(Mail::SpamAssassin::Plugin::Pyzor)
perl(Mail::SpamAssassin::Plugin::Razor2)
perl(Mail::SpamAssassin::Plugin::RelayCountry)
perl(Mail::SpamAssassin::Plugin::ReplaceTags)
perl(Mail::SpamAssassin::Plugin::SPF)
perl(Mail::SpamAssassin::Plugin::SpamCop)
perl(Mail::SpamAssassin::Plugin::Test)
perl(Mail::SpamAssassin::Plugin::TextCat)
perl(Mail::SpamAssassin::Plugin::URIDNSBL)
perl(Mail::SpamAssassin::Plugin::WhiteListSubject)
perl(Mail::SpamAssassin::PluginHandler)
perl(Mail::SpamAssassin::Reporter)
perl(Mail::SpamAssassin::SQLBasedAddrList)
perl(Mail::SpamAssassin::SpamdForkScaling)
perl(Mail::SpamAssassin::SubProcBackChannel)
perl(Mail::SpamAssassin::Timeout)
perl(Mail::SpamAssassin::Util)
perl(Mail::SpamAssassin::Util::DependencyInfo)
perl(Mail::SpamAssassin::Util::Progress)
perl(Mail::SpamAssassin::Util::RegistrarBoundaries)
spamassassin = 3.1.8-1.el4.rf

> The spamassassin package provides all the perl-Mail-Spamassassin 
> modules you need. I don't know what Yum's problem is and I do not 
> understand the output from Yum. I don't use Yum myself.

I have my mail servers use rpmforge spamassassin and spamassassin-tools, while
my non-mail servers use the SL4.4 spamassassin package.

When I use yum to update my non-mail servers with the SL4.4 package (released
by the upstream vendor - Red Hat), spamassassin just updates to that release.

This suggests (and as the yum error suggests), this problem is not
specifically spamassassin but spamassassin-tools. So I thought I'd just try to
update spamassassin without the spamassassin-tools package on the command line:

# yum --enablerepo=dag -y update spamassassin
Loading "kernel-module" plugin
Setting up Update Process
Setting up repositories
dag                                                             1.1 kB 00:00
sl-errata                                                        951 B 00:00
sl-base                                                         1.1 kB 00:00
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package spamassassin.i386 0:3.1.8-2.el4 set to be updated
--> Running transaction check
--> Processing Dependency: perl(Mail::SpamAssassin) = 3.1.8 for package:
spamassassin-tools
--> Finished Dependency Resolution
Error: Missing Dependency: perl(Mail::SpamAssassin) = 3.1.8 is needed by
package spamassassin-tools

Hmm.. same problem.

> What I can tell you, there's nothing wrong with the spamassassin 
> packages. And it's Red Hat's decision to put the perl-Mail-
> Spamassassin packages as part of spamassassin and not in a seperate 
> RPM like upstream was doing.
> 
> I have to follow the Red Hat decision and it works. Not sure what 
> Yum is complaining about.

Yeah me neither, I might just use the nodeps option and to force install.

Thanks.

Michael.




More information about the users mailing list