You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Philip Prindeville <ph...@redfish-solutions.com> on 2006/11/02 20:00:50 UTC

Can't upgrade w/ RPM

Hi.

I'm running FC3 on an AMD64 platform for my mail server,
and I had last installed SpamAssassin 3.1.5.  Well, I grabbed the
tarball for 3.1.7, and did a "rpmbuild -tb ..." of the tarball.

Worked fine.

Then I tried to upgrade via RPM:

# rpm -v -U /home/src/redhat/RPMS/x86_64/perl-Mail-SpamAssassin-3.1.7-1.x86_64.rpm
error: Failed dependencies:
        perl-Mail-SpamAssassin = 3.1.5-1 is needed by (installed) spamassassin-3.1.5-1.x86_64


any ideas why this is happening and what the fix is?

-Philip



Re: Can't upgrade w/ RPM

Posted by Theo Van Dinter <fe...@apache.org>.
On Thu, Nov 02, 2006 at 12:00:50PM -0700, Philip Prindeville wrote:
> # rpm -v -U /home/src/redhat/RPMS/x86_64/perl-Mail-SpamAssassin-3.1.7-1.x86_64.rpm
> error: Failed dependencies:
>         perl-Mail-SpamAssassin = 3.1.5-1 is needed by (installed) spamassassin-3.1.5-1.x86_64
> 
> any ideas why this is happening and what the fix is?

upgrade spamassassin and perl-Mail-SpamAssassin at the same time.

-- 
Randomly Selected Tagline:
"I thought you were dead.
  Yeah ... I get that a lot."    - From the movie "Alien: Resurrection"

Re: Can't upgrade w/ RPM

Posted by Theo Van Dinter <fe...@apache.org>.
On Thu, Nov 02, 2006 at 12:38:55PM -0700, Philip Prindeville wrote:
> Is there any reason to not have a single container contain multiple
> packages?  Since they do both need to be installed simultaneously?

The packages are independent.  spamassassin relies on
perl-Mail-SpamAssassin being the same version, so if you have them both
installed you need upgrade them at the same time.  However, spamassassin
isn't required (ie: you just want the perl modules), so it really depends
on what you're doing.

-- 
Randomly Selected Tagline:
"It is not the strongest of the species that survives, not the most
 intelligent, but the one most responsive to change."    - Charles Darwin

Re: Can't upgrade w/ RPM

Posted by Philip Prindeville <ph...@redfish-solutions.com>.
Jim Maul wrote:

>Philip Prindeville wrote:
>  
>
>>Hi.
>>
>>I'm running FC3 on an AMD64 platform for my mail server,
>>and I had last installed SpamAssassin 3.1.5.  Well, I grabbed the
>>tarball for 3.1.7, and did a "rpmbuild -tb ..." of the tarball.
>>
>>Worked fine.
>>
>>Then I tried to upgrade via RPM:
>>
>># rpm -v -U /home/src/redhat/RPMS/x86_64/perl-Mail-SpamAssassin-3.1.7-1.x86_64.rpm
>>error: Failed dependencies:
>>        perl-Mail-SpamAssassin = 3.1.5-1 is needed by (installed) spamassassin-3.1.5-1.x86_64
>>
>>
>>any ideas why this is happening and what the fix is?
>>
>>-Philip
>> 
>>    
>>
>
>You cant just upgrade one of the RPM's, you need to do them all at once.
>
>spamassassin-3.1.5-1.x86_64 is using 
>perl-Mail-SpamAssassin-3.1.5-1.x86_64.rpm so you cant upgrade one 
>without the other.
>
>-Jim
>  
>

You're right.  Sorry, I spaced.  I figured that the RPM container
actually contained several modules, like zaptel does (it also contains
zaptel-devices, zaptel-libs, etc).

Is there any reason to not have a single container contain multiple
packages?  Since they do both need to be installed simultaneously?

-Philip


Re: Can't upgrade w/ RPM

Posted by Jim Maul <jm...@elih.org>.
Philip Prindeville wrote:
> Hi.
> 
> I'm running FC3 on an AMD64 platform for my mail server,
> and I had last installed SpamAssassin 3.1.5.  Well, I grabbed the
> tarball for 3.1.7, and did a "rpmbuild -tb ..." of the tarball.
> 
> Worked fine.
> 
> Then I tried to upgrade via RPM:
> 
> # rpm -v -U /home/src/redhat/RPMS/x86_64/perl-Mail-SpamAssassin-3.1.7-1.x86_64.rpm
> error: Failed dependencies:
>         perl-Mail-SpamAssassin = 3.1.5-1 is needed by (installed) spamassassin-3.1.5-1.x86_64
> 
> 
> any ideas why this is happening and what the fix is?
> 
> -Philip
>  

You cant just upgrade one of the RPM's, you need to do them all at once.

spamassassin-3.1.5-1.x86_64 is using 
perl-Mail-SpamAssassin-3.1.5-1.x86_64.rpm so you cant upgrade one 
without the other.

-Jim

Re: Can't upgrade w/ RPM

Posted by Nigel Frankcom <ni...@blue-canoe.net>.
On Thu, 02 Nov 2006 12:00:50 -0700, Philip Prindeville
<ph...@redfish-solutions.com> wrote:

>Hi.
>
>I'm running FC3 on an AMD64 platform for my mail server,
>and I had last installed SpamAssassin 3.1.5.  Well, I grabbed the
>tarball for 3.1.7, and did a "rpmbuild -tb ..." of the tarball.
>
>Worked fine.
>
>Then I tried to upgrade via RPM:
>
># rpm -v -U /home/src/redhat/RPMS/x86_64/perl-Mail-SpamAssassin-3.1.7-1.x86_64.rpm
>error: Failed dependencies:
>        perl-Mail-SpamAssassin = 3.1.5-1 is needed by (installed) spamassassin-3.1.5-1.x86_64
>
>
>any ideas why this is happening and what the fix is?
>
>-Philip
>

Have you tried install/upgrade via yum?