The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WHM update from 11.34.x to 11.36.x fails at updating spamassassin

Discussion in 'General Discussion' started by PPNSteve, Jan 28, 2013.

  1. PPNSteve

    PPNSteve Well-Known Member

    Joined:
    Mar 13, 2003
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Somewhere in Ilex Forest
    cPanel Access Level:
    Root Administrator
    Twitter:
    whoops I meant 11.34.x > 11.36.x

    Fails at updating spamassassin:

    Code:
    [20130129.010301]   All files Staged
    [20130129.010301]   Testing if the newly downloaded RPMS can be installed without conflict
    [20130129.010301]   Testing RPM transaction
    [20130129.010311]   	file /etc/mail/spamassassin/local.cf from install of cpanel-perl-514-Mail-SpamAssassin-3.003002-1.cp1136.i386 conflicts with file from package spamassassin-3.2.5-1.el5.i386
    [20130129.010311] 	file /etc/mail/spamassassin/v310.pre from install of cpanel-perl-514-Mail-SpamAssassin-3.003002-1.cp1136.i386 conflicts with file from package spamassassin-3.2.5-1.el5.i386
    [20130129.010311] 	file /etc/mail/spamassassin/v312.pre from install of cpanel-perl-514-Mail-SpamAssassin-3.003002-1.cp1136.i386 conflicts with file from package spamassassin-3.2.5-1.el5.i386
    [20130129.010311] W Exit Code: 254
    [20130129.010311] ***** FATAL: Test install failed: 	file /etc/mail/spamassassin/local.cf from install of cpanel-perl-514-Mail-SpamAssassin-3.003002-1.cp1136.i386 conflicts with file from package spamassassin-3.2.5-1.el5.i386
    [20130129.010311] 	file /etc/mail/spamassassin/v310.pre from install of cpanel-perl-514-Mail-SpamAssassin-3.003002-1.cp1136.i386 conflicts with file from package spamassassin-3.2.5-1.el5.i386
    [20130129.010311] 	file /etc/mail/spamassassin/v312.pre from install of cpanel-perl-514-Mail-SpamAssassin-3.003002-1.cp1136.i386 conflicts with file from package spamassassin-3.2.5-1.el5.i386
    [20130129.010311]   The Administrator will be notified to review this output when this script completes
    [20130129.010311] E Error testing if the RPMs will install: Died at /usr/local/cpanel/scripts/updatenow.static line 12517.
    [20130129.010311] E Detected events which require user notification during updatenow. Will send iContact the log
    Did a forced upcp and got the same error.. any ideas?



    CENTOS 5.9 i686 standard
    WHM 11.34.1 (build 7)
     
    #1 PPNSteve, Jan 28, 2013
    Last edited: Jan 28, 2013
  2. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,281
    Likes Received:
    37
    Trophy Points:
    48
    Location:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    I don't think you should have had any spamassassin RPM installed prior to 11.36. Your server probably had spamassassin RPM installed on it prior to cPanel being installed, and so it has remained there. But cPanel itself has historically used spamassassin that it distributed [not via RPM until 11.36]. This is why, prior to 11.36, in your /etc/yum.conf you'll see spamassin* excluded. cPanel did not want RPM updates to update spamassassin, if you had it installed, because it would cause problems with their non-rpm version of spamassassin.

    So if you truly do have a spamassassin RPM installed from the OS vendor [and it looks like you do], you need to investigate removing that RPM. Don't remove it until you talk to cPanel folks though to determine if removing the pre-existing RPM will somehow affect currently installed spamassassin.

    M
     
  3. Killers2

    Killers2 Registered

    Joined:
    Jan 21, 2009
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Same issue here. SpamAssassin was not installed manually however I see the package is installed but yum's log does not show it being installed.

    CENTOS 5.9 i686
    WHM 11.34.1 (build 7)
     
  4. PPNSteve

    PPNSteve Well-Known Member

    Joined:
    Mar 13, 2003
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Somewhere in Ilex Forest
    cPanel Access Level:
    Root Administrator
    Twitter:
    mtindor: As far as I know and remember, we ONLY used the cPanel supplied spamassassin by enabling SA in our settings.

    We will wait for some official cPanel input on this before

    It just hit another of our servers.. this one on RHEL5

    Code:
    Cpanel update failure during updatenow
    
    cPanel
    cPanel on svr2.1-gb.net
    	
    10:33 PM (20 minutes ago)
    		
    An error was detected which prevented updatenow from completing normally.
    Please review the enclosed log for further details
    
    ----------------------------------------------------------------------------------------------------
    
    [20130129.063002]   Detected version '11.34.1.7' from version file.
    [20130129.063002]   Target version set to '11.36.0.2'
    [20130129.063002]   Checking license
    [20130129.063002]   License file check complete
    [20130129.063002]   Checking that the RPM DB is OK...
    [20130129.063002]   glibc-2.5-107
    [20130129.063002]   OK: RPM DB is responding to queries
    [20130129.063002]   Testing if rpm_is_working RPM is installed
    [20130129.063002]   package rpm_is_working is not installed
    [20130129.063002]   Testing if it's possible to install a simple RPM
    [20130129.063003]   Preparing...                ##################################################
    [20130129.063003]   rpm_is_working              ##################################################
    [20130129.063003]   Switching to version '11.36.0.2' of updatenow to perform sync.
    [20130129.063007]   Loaded plugins: rhnplugin, security
    [20130129.063007]   This system is receiving updates from RHN Classic or RHN Satellite.
    [20130129.063007]   Excluding Packages in global exclude list
    [20130129.063011]   Finished
    [20130129.063011]   Excluding Packages from Red Hat Enterprise Linux (v. 5 for 32-bit x86)
    [20130129.063013]   Finished
    [20130129.063013]   Excluding Packages from RHEL Supplementary (v. 5 for 32-bit x86)
    [20130129.063013]   Finished
    [20130129.063013]   Excluding Packages from RHEL Virtualization (v. 5 for 32-bit x86)
    [20130129.063013]   Finished
    
    ....
    
    [20130129.063304]   All files Staged
    [20130129.063304]   Testing if the newly downloaded RPMS can be installed without conflict
    [20130129.063304]   Testing RPM transaction
    [20130129.063312]       file /etc/mail/spamassassin/local.cf from install of cpanel-perl-514-Mail-SpamAssassin-3.003002-1.cp1136.i386 conflicts with file from package spamassassin-3.2.5-1.el5.i386
    [20130129.063312]       file /etc/mail/spamassassin/v310.pre from install of cpanel-perl-514-Mail-SpamAssassin-3.003002-1.cp1136.i386 conflicts with file from package spamassassin-3.2.5-1.el5.i386
    [20130129.063312]       file /etc/mail/spamassassin/v312.pre from install of cpanel-perl-514-Mail-SpamAssassin-3.003002-1.cp1136.i386 conflicts with file from package spamassassin-3.2.5-1.el5.i386
    [20130129.063312] W Exit Code: 254
    [20130129.063312] ***** FATAL: Test install failed:     file /etc/mail/spamassassin/local.cf from install of cpanel-perl-514-Mail-SpamAssassin-3.003002-1.cp1136.i386 conflicts with file from package spamassassin-3.2.5-1.el5.i386
    [20130129.063312]       file /etc/mail/spamassassin/v310.pre from install of cpanel-perl-514-Mail-SpamAssassin-3.003002-1.cp1136.i386 conflicts with file from package spamassassin-3.2.5-1.el5.i386
    [20130129.063312]       file /etc/mail/spamassassin/v312.pre from install of cpanel-perl-514-Mail-SpamAssassin-3.003002-1.cp1136.i386 conflicts with file from package spamassassin-3.2.5-1.el5.i386
    [20130129.063312]   The Administrator will be notified to review this output when this script completes
    [20130129.063312] E Error testing if the RPMs will install: Died at /usr/local/cpanel/scripts/updatenow.static line 12517.
    [20130129.063312] E Detected events which require user notification during updatenow. Will send iContact the log
    
    again failed when updating spamassassin.
     
    #4 PPNSteve, Jan 29, 2013
    Last edited: Jan 29, 2013
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,472
    Likes Received:
    200
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi Steve, please feel free to open a ticket about this. No need to wait for a reply on these forums.
     
  6. PPNSteve

    PPNSteve Well-Known Member

    Joined:
    Mar 13, 2003
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Somewhere in Ilex Forest
    cPanel Access Level:
    Root Administrator
    Twitter:
    will do, thanks
     
  7. cPanelJesse

    cPanelJesse Technical Analyst Manager
    Staff Member

    Joined:
    Sep 19, 2007
    Messages:
    51
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Houston
    cPanel Access Level:
    Root Administrator
    It appears there is some CentOS 5.x repos that provide a spamassassin RPM that is causing conflicts with the 11.36 upgrade. I've opened an internal development case in regards to this to see how development would like to handle this -> #63288

    (Example mirror that contains it: ftp://mirror.atlantic.net/pub/centos/5.9/os/i386/CentOS/spamassassin-3.3.1-2.el5.i386.rpm)

    For a workaround, you can remove the spamassassin RPM and then proceed with the update.


    P.S. Steve, I fixed the thread name for you.
     
  8. deeplist

    deeplist Member

    Joined:
    Dec 8, 2010
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    use the following command to remove the offending package if you're on a 32 bit system:

    rpm -e spamassassin-3.2.5-1.el5.i386

    Or, use the following command if you're on a 64 bit system:

    rpm -e spamassassin-3.2.5-1.el5.x86_64

    Then try the upgrade again via WHM.
     
  9. KD0IGO

    KD0IGO Member

    Joined:
    Jan 13, 2012
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    St. Charles, MO
    cPanel Access Level:
    DataCenter Provider
    I'm running the latest cPanel/WHM 11.34 and I'm trying to upgrade to 11.36. I have SpamAssassin 3.1.1 and Kernel 3.2.38.

    Code:
    [20130416.232538]   error: Failed dependencies:
    [20130416.232538] 	spamassassin < 2.44-4.8.x conflicts with kernel-3.2.33-grsec.x86_64
    [20130416.232538] 	spamassassin < 2.44-4.8.x conflicts with kernel-3.2.38-grsec.x86_64
    [20130416.232538] W Exit Code: 254
    [20130416.232538] ***** FATAL: Test install failed: error: Failed dependencies:
    [20130416.232538] 	spamassassin < 2.44-4.8.x conflicts with kernel-3.2.33-grsec.x86_64
    [20130416.232538] 	spamassassin < 2.44-4.8.x conflicts with kernel-3.2.38-grsec.x86_64
    
    Any fix for this?
     
Loading...

Share This Page