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

PPNSteve

Well-Known Member
Mar 13, 2003
426
12
168
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)
 
Last edited:

mtindor

Well-Known Member
Sep 14, 2004
1,498
130
193
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
 

Killers2

Registered
Jan 21, 2009
4
0
51
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)
 

PPNSteve

Well-Known Member
Mar 13, 2003
426
12
168
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.
 
Last edited:

cPanelJesse

Chief Experience Officer
Staff member
Sep 19, 2007
52
7
133
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.
 

deeplist

Member
Dec 8, 2010
17
0
51
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.
 

KD0IGO

Member
Jan 13, 2012
24
0
51
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?