On Wed, 2003-04-02 at 14:23, Mike Vanecek wrote:

> >     su -c "perl -MCPAN -e shell"
[...]
> >     install CPAN
> >     [it does its thing]
> >     install Term::ReadLine::Gnu
> >     [no time to get coffee, but a short wait]
> >     reload cpan
> >     [optionally update "install LWP::UserAgent" which CPAN uses]
> 
> Should this be used if one has already installed a version using RPM?  I.e.,
> what happens if I use this approach to go from 2.52 rpm to 2.53 rpm?  Should
> 2.52 be uninstalled first (saving the local.cf)?

Won't make any difference as long as the RPM version was installed
correctly (e.g. using Perl's build system wrapped inside of an SRPM).

It *will* mean that RPM thinks you have a version that's older than what
you *do* have, so later RPM updates might downgrade you. I would suggest
picking one or the other path, but keep in mind that CPAN tends to be
updated first.

> > is still there, and there are a few things you may want to install 
> > by hand
[...]
> > One other thing you will want to check out if you want the functionality
> > is Razor2
[...]
> Uhm, all this manual install activity would seem to be a good reason to stay
> with the rpms??  The above process is quite a bit of activity if one wants to
> stay current.

Staying current is exactly why you do it. once you've done all of this
once, all you need to do to update SA's rules and scores is periodically
run "perl -MCPAN -e 'install q{Mail::SpamAssassin}'"

It will fail gracefully if no new versions have come out or go ahead and
update you if needed.

If you're using the RPMS with apt-rpm, then you can also do this by:

        apt-get update && apt-get upgrade spamassassin

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to