Upgrade to v56 fails with cpanel-perl conflict

Karateka

Active Member
Apr 14, 2003
34
1
233
Austin, Texas
cPanel Access Level
Root Administrator
Twitter
I can't resist. From the moment I saw the announcement to 522, I saw this coming, though I was hoping it wouldn't happen.

I just tried to update a server:
Code:
[2016-04-26 13:46:34 +0200]     file /usr/local/cpanel/3rdparty/bin/perl from install of cpanel-perl-522-5.22.1-9.cp1156.x86_64 conflicts with file from package cpanel-perl-514-5.14.4-6.cp1146.x86_64

[2016-04-26 13:46:34 +0200] W Exit Code: 254

[2016-04-26 13:46:34 +0200] ***** FATAL: Test install failed: 

[2016-04-26 13:46:34 +0200]     file /usr/local/cpanel/3rdparty/bin/perl from install of cpanel-perl-522-5.22.1-9.cp1156.x86_64 conflicts with file from package cpanel-perl-514-5.14.4-6.cp1146.x86_64

[2016-04-26 13:46:34 +0200]   The Administrator will be notified to review this output when this script completes

[2016-04-26 13:46:34 +0200] ***** FATAL: Error testing if the RPMs will install: Test install failed: 

[2016-04-26 13:46:34 +0200]     file /usr/local/cpanel/3rdparty/bin/perl from install of cpanel-perl-522-5.22.1-9.cp1156.x86_64 conflicts with file from package cpanel-perl-514-5.14.4-6.cp1146.x86_64

[2016-04-26 13:46:34 +0200]   see https://go.cpanel.net/rpmcheckfailed for more information

[2016-04-26 13:46:34 +0200]   The Administrator will be notified to review this output when this script completes

=> Log closed Tue Apr 26 13:46:34 2016

[2016-04-26 13:46:35 +0200]   17% complete

[2016-04-26 13:46:35 +0200] E Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.1461671074.log --force` failed, exited with code 1 (signal = 0)
So what's the recommended path to get this running now?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
Hello :)

Have you made any specific changes related to Perl on this system? Also, please post the output from the following command:

Code:
cat /var/cpanel/rpm.versions.d/local.versions
Thank you.
 

Karateka

Active Member
Apr 14, 2003
34
1
233
Austin, Texas
cPanel Access Level
Root Administrator
Twitter
No, this has been a fresh installation a few weeks ago with no system changes.

Code:
# cat /var/cpanel/rpm.versions.d/local.versions

--- 

file_format: 

  version: 2

install_targets: {}


rpm_locations: {}


srpm_sub_packages: {}


srpm_versions: {}


target_settings: 

  analog: uninstalled

  awstats: uninstalled

  clamav: installed

  easy-tomcat7: uninstalled

  munin: installed

  webalizer: uninstalled

url_templates: {}
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
To update, the issue was the result of duplicate RPMs installed on the system. The following command addressed the issue:

Code:
/usr/local/cpanel/scripts/autorepair fix_duplicate_cpanel_rpms
You mentioned this in your earlier post:

No, this has been a fresh installation a few weeks ago with no system changes.
Did you install cPanel from an image, or using the instructions from our documentation on a fresh installation of CentOS?

Thank you.
 
  • Like
Reactions: cPanelDon