You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by FC Mario Patty <fc...@gmail.com> on 2008/03/10 08:30:17 UTC

Cannot upgrade spamassassin-3.1.8-1.i386 to spamassassin-3.2.4-1.i386 in RHEL 4

Hi guys,

This is my first email to this mailing list. I've been trying to
update spamassassin from spamassassin-3.1.8-1.i386 to
spamassassin-3.2.4-1.i386 for my mail server since 3 days ago. The
operating system is RHEL 4. When I run the rpm command:

      rpm -Uvh --force perl-Mail-SpamAssassin-3.2.4-1.i386.rpm
spamassassin-3.2.4-1.i386.rpm

I got a message:

error: Failed dependencies:
        perl(HTML::Parser) >= 3.43 is needed by
perl-Mail-SpamAssassin-3.2.4-1.i386
        perl(Archive::Tar) >= 1.23 is needed by spamassassin-3.2.4-1.i386
        perl(IO::Zlib) >= 1.04 is needed by spamassassin-3.2.4-1.i386

I checked the version of the dependencies with the "perl -MCPAN -e
shell" command yet they all fit the requirement:

cpan> i HTML::Parser
Strange distribution name [HTML::Parser]
Module id = HTML::Parser
    DESCRIPTION  Basic HTML Parser
    CPAN_USERID  LWWWP (The libwww-perl mailing list <li...@perl.org>)
    CPAN_VERSION undef
    CPAN_FILE    Contact Author The libwww-perl mailing list <li...@perl.org>
    DSLI_STATUS  RmcO (released,mailing-list,C,object-oriented)
    MANPAGE      HTML::Parser - HTML parser class
    INST_FILE
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/HTML/Par
                                     ser.pm
    INST_VERSION 3.56


cpan> i Archive::Tar
Strange distribution name [Archive::Tar]
Module id = Archive::Tar
    DESCRIPTION  Read, write and manipulate tar files
    CPAN_USERID  KANE (Jos Boumans <ka...@cpan.org>)
    CPAN_VERSION undef
    CPAN_FILE    Contact Author Jos Boumans <ka...@cpan.org>
    DSLI_STATUS  RdpO (released,developer,perl,object-oriented)
    MANPAGE      Archive::Tar - module for manipulations of tar archives
    INST_FILE    /usr/lib/perl5/site_perl/5.8.5/Archive/Tar.pm
    INST_VERSION 1.34


cpan> i IO::Zlib
Strange distribution name [IO::Zlib]
Module id = IO::Zlib
    DESCRIPTION  IO:: style interface to Compress::Zlib
    CPAN_USERID  TOMHUGHES (Tom Hughes <to...@compton.nu>)
    CPAN_VERSION undef
    CPAN_FILE    Contact Author Tom Hughes <to...@compton.nu>
    DSLI_STATUS  bdpO (beta,developer,perl,object-oriented)
    MANPAGE      IO::Zlib - IO:: style interface to L<Compress::Zlib>
    INST_FILE    /usr/lib/perl5/site_perl/5.8.5/IO/Zlib.pm
    INST_VERSION 1.07


I'd rpmbuild-ed the source file ( Mail-SpamAssassin-3.2.4.tar.gz) and
upgraded those dependencies about 3 days ago and since that time I
have never restarted the mail server. What was I missing here? Thank
you for your help.

Regards,

Re: Cannot upgrade spamassassin-3.1.8-1.i386 to spamassassin-3.2.4-1.i386 in RHEL 4

Posted by Tarak Ranjan <co...@yahoo.co.in>.
On Mon, 2008-03-10 at 18:14 +0700, FC Mario Patty wrote:
> Well, I do get the description of those perl module. To reinstall
> spamassassin from the source, frankly, would be the last option since
> the mail server is a productive one. I'm trying to make the
> installation as simple as possible with the rpm file so I'll only have
> to invoke the "rpm -Uvh" command, instead of manually uninstall and
> reinstall spamassassin. By the way, thank you for your reply. :)
> 
> Regards,
> 
> 
> FC Mario Patty
> 
> On Mon, Mar 10, 2008 at 4:48 PM, Tarak Ranjan <co...@yahoo.co.in> wrote:
> >
> >
> >  On Mon, 2008-03-10 at 14:30 +0700, FC Mario Patty wrote:
> >  > Hi guys,
> >  >
> >  > This is my first email to this mailing list. I've been trying to
> >  > update spamassassin from spamassassin-3.1.8-1.i386 to
> >  > spamassassin-3.2.4-1.i386 for my mail server since 3 days ago. The
> >  > operating system is RHEL 4. When I run the rpm command:
> >  >
> >  >       rpm -Uvh --force perl-Mail-SpamAssassin-3.2.4-1.i386.rpm
> >  > spamassassin-3.2.4-1.i386.rpm
> >  >
> >  > I got a message:
> >  >
> >  > error: Failed dependencies:
> >  >         perl(HTML::Parser) >= 3.43 is needed by
> >  > perl-Mail-SpamAssassin-3.2.4-1.i386
> >  >         perl(Archive::Tar) >= 1.23 is needed by spamassassin-3.2.4-1.i386
> >  >         perl(IO::Zlib) >= 1.04 is needed by spamassassin-3.2.4-1.i386
> >  >
> >  > I checked the version of the dependencies with the "perl -MCPAN -e
> >  > shell" command yet they all fit the requirement:
> >  >

> >  check <perldoc -X perl module name, > , if you are getting the
> >  description then might be other issue, otherwise install from the source
> >  distribution. then try to install spamassassin

check the version of perl module which is installed in your system, and
figured out which version is required for spamassassin 3.2.4....

i think this is version issue, and post the latest error what you are
getting

/
Tarak



Re: Cannot upgrade spamassassin-3.1.8-1.i386 to spamassassin-3.2.4-1.i386 in RHEL 4

Posted by FC Mario Patty <fc...@gmail.com>.
Well, I do get the description of those perl module. To reinstall
spamassassin from the source, frankly, would be the last option since
the mail server is a productive one. I'm trying to make the
installation as simple as possible with the rpm file so I'll only have
to invoke the "rpm -Uvh" command, instead of manually uninstall and
reinstall spamassassin. By the way, thank you for your reply. :)

Regards,


FC Mario Patty

On Mon, Mar 10, 2008 at 4:48 PM, Tarak Ranjan <co...@yahoo.co.in> wrote:
>
>
>  On Mon, 2008-03-10 at 14:30 +0700, FC Mario Patty wrote:
>  > Hi guys,
>  >
>  > This is my first email to this mailing list. I've been trying to
>  > update spamassassin from spamassassin-3.1.8-1.i386 to
>  > spamassassin-3.2.4-1.i386 for my mail server since 3 days ago. The
>  > operating system is RHEL 4. When I run the rpm command:
>  >
>  >       rpm -Uvh --force perl-Mail-SpamAssassin-3.2.4-1.i386.rpm
>  > spamassassin-3.2.4-1.i386.rpm
>  >
>  > I got a message:
>  >
>  > error: Failed dependencies:
>  >         perl(HTML::Parser) >= 3.43 is needed by
>  > perl-Mail-SpamAssassin-3.2.4-1.i386
>  >         perl(Archive::Tar) >= 1.23 is needed by spamassassin-3.2.4-1.i386
>  >         perl(IO::Zlib) >= 1.04 is needed by spamassassin-3.2.4-1.i386
>  >
>  > I checked the version of the dependencies with the "perl -MCPAN -e
>  > shell" command yet they all fit the requirement:
>  >
>  > cpan> i HTML::Parser
>  > Strange distribution name [HTML::Parser]
>  > Module id = HTML::Parser
>  >     DESCRIPTION  Basic HTML Parser
>  >     CPAN_USERID  LWWWP (The libwww-perl mailing list <li...@perl.org>)
>  >     CPAN_VERSION undef
>  >     CPAN_FILE    Contact Author The libwww-perl mailing list <li...@perl.org>
>  >     DSLI_STATUS  RmcO (released,mailing-list,C,object-oriented)
>  >     MANPAGE      HTML::Parser - HTML parser class
>  >     INST_FILE
>  > /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/HTML/Par
>  >                                      ser.pm
>  >     INST_VERSION 3.56
>  >
>  >
>  > cpan> i Archive::Tar
>  > Strange distribution name [Archive::Tar]
>  > Module id = Archive::Tar
>  >     DESCRIPTION  Read, write and manipulate tar files
>  >     CPAN_USERID  KANE (Jos Boumans <ka...@cpan.org>)
>  >     CPAN_VERSION undef
>  >     CPAN_FILE    Contact Author Jos Boumans <ka...@cpan.org>
>  >     DSLI_STATUS  RdpO (released,developer,perl,object-oriented)
>  >     MANPAGE      Archive::Tar - module for manipulations of tar archives
>  >     INST_FILE    /usr/lib/perl5/site_perl/5.8.5/Archive/Tar.pm
>  >     INST_VERSION 1.34
>  >
>  >
>  > cpan> i IO::Zlib
>  > Strange distribution name [IO::Zlib]
>  > Module id = IO::Zlib
>  >     DESCRIPTION  IO:: style interface to Compress::Zlib
>  >     CPAN_USERID  TOMHUGHES (Tom Hughes <to...@compton.nu>)
>  >     CPAN_VERSION undef
>  >     CPAN_FILE    Contact Author Tom Hughes <to...@compton.nu>
>  >     DSLI_STATUS  bdpO (beta,developer,perl,object-oriented)
>  >     MANPAGE      IO::Zlib - IO:: style interface to L<Compress::Zlib>
>  >     INST_FILE    /usr/lib/perl5/site_perl/5.8.5/IO/Zlib.pm
>  >     INST_VERSION 1.07
>  >
>
>  check <perldoc -X perl module name, > , if you are getting the
>  description then might be other issue, otherwise install from the source
>  distribution. then try to install spamassassin
>
>
>  /
>  Tarak
>
>
>
>
>

Re: Cannot upgrade spamassassin-3.1.8-1.i386 to spamassassin-3.2.4-1.i386 in RHEL 4

Posted by Tarak Ranjan <co...@yahoo.co.in>.
On Mon, 2008-03-10 at 14:30 +0700, FC Mario Patty wrote:
> Hi guys,
> 
> This is my first email to this mailing list. I've been trying to
> update spamassassin from spamassassin-3.1.8-1.i386 to
> spamassassin-3.2.4-1.i386 for my mail server since 3 days ago. The
> operating system is RHEL 4. When I run the rpm command:
> 
>       rpm -Uvh --force perl-Mail-SpamAssassin-3.2.4-1.i386.rpm
> spamassassin-3.2.4-1.i386.rpm
> 
> I got a message:
> 
> error: Failed dependencies:
>         perl(HTML::Parser) >= 3.43 is needed by
> perl-Mail-SpamAssassin-3.2.4-1.i386
>         perl(Archive::Tar) >= 1.23 is needed by spamassassin-3.2.4-1.i386
>         perl(IO::Zlib) >= 1.04 is needed by spamassassin-3.2.4-1.i386
> 
> I checked the version of the dependencies with the "perl -MCPAN -e
> shell" command yet they all fit the requirement:
> 
> cpan> i HTML::Parser
> Strange distribution name [HTML::Parser]
> Module id = HTML::Parser
>     DESCRIPTION  Basic HTML Parser
>     CPAN_USERID  LWWWP (The libwww-perl mailing list <li...@perl.org>)
>     CPAN_VERSION undef
>     CPAN_FILE    Contact Author The libwww-perl mailing list <li...@perl.org>
>     DSLI_STATUS  RmcO (released,mailing-list,C,object-oriented)
>     MANPAGE      HTML::Parser - HTML parser class
>     INST_FILE
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/HTML/Par
>                                      ser.pm
>     INST_VERSION 3.56
> 
> 
> cpan> i Archive::Tar
> Strange distribution name [Archive::Tar]
> Module id = Archive::Tar
>     DESCRIPTION  Read, write and manipulate tar files
>     CPAN_USERID  KANE (Jos Boumans <ka...@cpan.org>)
>     CPAN_VERSION undef
>     CPAN_FILE    Contact Author Jos Boumans <ka...@cpan.org>
>     DSLI_STATUS  RdpO (released,developer,perl,object-oriented)
>     MANPAGE      Archive::Tar - module for manipulations of tar archives
>     INST_FILE    /usr/lib/perl5/site_perl/5.8.5/Archive/Tar.pm
>     INST_VERSION 1.34
> 
> 
> cpan> i IO::Zlib
> Strange distribution name [IO::Zlib]
> Module id = IO::Zlib
>     DESCRIPTION  IO:: style interface to Compress::Zlib
>     CPAN_USERID  TOMHUGHES (Tom Hughes <to...@compton.nu>)
>     CPAN_VERSION undef
>     CPAN_FILE    Contact Author Tom Hughes <to...@compton.nu>
>     DSLI_STATUS  bdpO (beta,developer,perl,object-oriented)
>     MANPAGE      IO::Zlib - IO:: style interface to L<Compress::Zlib>
>     INST_FILE    /usr/lib/perl5/site_perl/5.8.5/IO/Zlib.pm
>     INST_VERSION 1.07
> 

check <perldoc -X perl module name, > , if you are getting the
description then might be other issue, otherwise install from the source
distribution. then try to install spamassassin


/
Tarak





Re: Cannot upgrade spamassassin-3.1.8-1.i386 to spamassassin-3.2.4-1.i386 in RHEL 4

Posted by Kris Deugau <kd...@vianet.ca>.
FC Mario Patty wrote:
> Thank-you for the advice. I downloaded those 3 packages from
> http://dag.wieers.com, rebuilt, and installed them for my distro. Now
> I can upgrade my spamassassin-3.2.4-1. Many thanx to  all of you guys.
> GBU.

FWIW you might also consider adding RPMForge/DAG as a yum or apt source 
so you don't have to go through the hassle of downloading a package only 
to find it needs another package which needs three more packages....

I've been using RPMForge with yum on several CentOS4 machines and a 
CentOS3 machine for quite a while now.  The only downside is that you 
may not want to install certain packages from them.  I've yet to have 
any problems, but I don't blindly install anything necessary from their 
repo.  Since CentOS is a source-rebuild of RHEL, the binary packages 
should work fine.

-kgd

Re: Cannot upgrade spamassassin-3.1.8-1.i386 to spamassassin-3.2.4-1.i386 in RHEL 4

Posted by FC Mario Patty <fc...@gmail.com>.
Hi Kris,

Thank-you for the advice. I downloaded those 3 packages from
http://dag.wieers.com, rebuilt, and installed them for my distro. Now
I can upgrade my spamassassin-3.2.4-1. Many thanx to  all of you guys.
GBU.


Regards,



On Mon, Mar 10, 2008 at 11:33 PM, Kris Deugau <kd...@vianet.ca> wrote:
>  Try "rpm -q perl-HTML-Parser" or "rpm -q 'perl(HTML::Parser)'".  You'll
>  either get nothing, or a version number less than SA requires.  When
>  installing from packages, don't assume the package manager knows about
>  ANYTHING you've done elsewhere (eg CPAN).
>
>  If you install Perl modules from source/CPAN, install all third-party
>  Perl tools and utilities from source or CPAN.
>
>  If you install Perl modules via the system's package system, you can
>  usually get along fine with source/CPAN installs of things like SA
>  (unless it "requires" a newer version of something - rare, but it
>  happens sometimes).  It does NOT, as you're seeing, work very well the
>  other way around.
>
>  Personally, I prefer using the package system as it keeps all of the
>  software installation in one place.
>
>  -kgd
>

Re: Cannot upgrade spamassassin-3.1.8-1.i386 to spamassassin-3.2.4-1.i386 in RHEL 4

Posted by Kris Deugau <kd...@vianet.ca>.
FC Mario Patty wrote:
>       rpm -Uvh --force perl-Mail-SpamAssassin-3.2.4-1.i386.rpm
> spamassassin-3.2.4-1.i386.rpm
[snip]
> cpan> i HTML::Parser

Try "rpm -q perl-HTML-Parser" or "rpm -q 'perl(HTML::Parser)'".  You'll 
either get nothing, or a version number less than SA requires.  When 
installing from packages, don't assume the package manager knows about 
ANYTHING you've done elsewhere (eg CPAN).

If you install Perl modules from source/CPAN, install all third-party 
Perl tools and utilities from source or CPAN.

If you install Perl modules via the system's package system, you can 
usually get along fine with source/CPAN installs of things like SA 
(unless it "requires" a newer version of something - rare, but it 
happens sometimes).  It does NOT, as you're seeing, work very well the 
other way around.

Personally, I prefer using the package system as it keeps all of the 
software installation in one place.

-kgd