Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Upgrade to v56 fails with cpanel-perl conflict

Discussion in 'General Discussion' started by Karateka, Apr 26, 2016.

  1. Karateka

    Karateka Active Member

    Joined:
    Apr 14, 2003
    Messages:
    32
    Likes Received:
    1
    Trophy Points:
    233
    Location:
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Karateka

    Karateka Active Member

    Joined:
    Apr 14, 2003
    Messages:
    32
    Likes Received:
    1
    Trophy Points:
    233
    Location:
    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: {}
    
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Karateka

    Karateka Active Member

    Joined:
    Apr 14, 2003
    Messages:
    32
    Likes Received:
    1
    Trophy Points:
    233
    Location:
    Austin, Texas
    cPanel Access Level:
    Root Administrator
    Twitter:
    Ok, I opened a support request with the ID 7528903.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    cPanelDon likes this.
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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:

    Did you install cPanel from an image, or using the instructions from our documentation on a fresh installation of CentOS?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    cPanelDon likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice