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.

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:
    8
    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?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,767
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  3. Karateka

    Karateka Active Member

    Joined:
    Apr 14, 2003
    Messages:
    32
    Likes Received:
    1
    Trophy Points:
    8
    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: {}
    
    
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,767
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  5. Karateka

    Karateka Active Member

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

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,767
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
    cPanelDon likes this.
Loading...

Share This Page