Skip to main content

Unable to install on Amazon Linux

Comments

5 comments

  • cPanelMichael
    Hello :) Please let us know if the following thread helps: error while loading shared libraries: liblzma.so.0 Thank you.
    0
  • CPD
    had the same issue, this thread did the trick. Specifically running the workaround cPanelMichael suggested command from shell.
    yum install xz-compat-libs-5.1.2-8alpha.11.amzn1.x86_64
    0
  • cPBrett
    Direct installations of cPanel are not supported, but we have an initial AMI that we created some months ago, "Official cPanel CURRENT (11.52.0.13) - Amazon Linux (2015.09)" - AMI id is "ami-61e3b704". You can install this AMI to jump start it, it will put you at 11.52.0.13. Before running upcp to update the version of cPanel to the latest RELEASE, I recommend ensuring that "xz-compat-libs-5.1.2-8alpha.11.amzn1.x86_6" is installed via yum as suggested above. We are in the process of getting an updated AMI of a recent RELEASE (11.52.2.2) into the Amazon AWS Marketplace. This AMI will have xz-compat-libs-5.1.2-8alpha.11.amzn1.x86_6 already installed. Moving forward, this will become the recommended means of creating Amazon Linux instances running cPanel. Thank you, Brett
    0
  • Matteo Hertel
    Direct installations of cPanel are not supported, but we have an initial AMI that we created some months ago, "Official cPanel CURRENT (11.52.0.13) - Amazon Linux (2015.09)" - AMI id is "ami-61e3b704". You can install this AMI to jump start it, it will put you at 11.52.0.13. Before running upcp to update the version of cPanel to the latest RELEASE, I recommend ensuring that "xz-compat-libs-5.1.2-8alpha.11.amzn1.x86_6" is installed via yum as suggested above. We are in the process of getting an updated AMI of a recent RELEASE (11.52.2.2) into the Amazon AWS Marketplace. This AMI will have xz-compat-libs-5.1.2-8alpha.11.amzn1.x86_6 already installed. Moving forward, this will become the recommended means of creating Amazon Linux instances running cPanel. Thank you, Brett

    The image is working fine however when I try to update to the last version I'm getting the same error as when I try to install WHM into a brand new ec2 instance ***** FATAL: Test install failed: error: Failed dependencies: liblzma.so.0()(64bit) is needed by dovecot-1:2.2.19-1.cp1148.x86_64 The Administrator will be notified to review this output when this script completes ***** FATAL: Error testing if the RPMs will install: Test install failed: error: Failed dependencies: liblzma.so.0()(64bit) is needed by dovecot-1:2.2.19-1.cp1148.x86_64 see RPM Installation Failures - cPanel Knowledge Base - cPanel Documentation for more information I also tried to run the command
    yum install xz-compat-libs-5.1.2-8alpha.11.amzn1.x86_64
    but I'm getting an error
    sudo yum install xz-compat-libs-5.1.2-8alpha.11.amzn1.x86_6 Loaded plugins: priorities, update-motd, upgrade-helper No package xz-compat-libs-5.1.2-8alpha.11.amzn1.x86_6 available. Error: Nothing to do
    Any idea on how to fix this? Cheers
    0
  • cPanelMichael
    No package xz-compat-libs-5.1.2-8alpha.11.amzn1.x86_6 available.

    Hello :) You can try installing the package with the following command to ensure it utilizes the most recent version:
    yum install xz-compat-libs
    Thank you.
    0

Please sign in to leave a comment.