Skip to main content

Error when trying to rebuild EasyApache with PDO extension

Comments

10 comments

  • ModServ
    Try this:
    /usr/local/cpanel/scripts/check_cpanel_rpms --fix
    0
  • Pseudorandom
    Try this:
    /usr/local/cpanel/scripts/check_cpanel_rpms --fix

    I entered that code, it took a bit then gave a new line (acting like it was waiting for a command) without having an response. I tried re-running "yum update" and receive the same error.
    0
  • Pseudorandom
    Well after working on my own for a bit, I've manage to clean up the server a bit. I have ran into a new error now and I am again stuck. The new error stopping "yum update" is in the spoiler below (a bit long). Error: Multilib version problems found. This often means that the root cause is something else and multilib version checking is just pointing out that there is a problem. Eg.: 1. You have an upgrade for bash which is missing some dependency that another package requires. Yum is trying to solve this by installing an older version of bash of the different architecture. If you exclude the bad architecture yum will tell you what the root cause is (which package requires what). You can try redoing the upgrade with --exclude bash.otherarch ... this should give you an error message showing the root cause of the problem. 2. You have multiple architectures of bash installed, but yum can only see an upgrade for one of those arcitectures. If you don't want/need both architectures anymore then you can remove the one with the missing update and everything will work. 3. You have duplicate versions of bash installed already. You can use "yum check" to get yum show these errors. ...you can also use --setopt=protected_multilib=false to remove this checking, however this is almost never the correct thing to do as something else is very likely to go wrong (often causing much more problems). Protected multilib versions: bash-4.1.2-29.el6.x86_64 != bash-4.1.2-15.el6_5.2.i686 It says right there that I have two versions of bash. I have no idea what bash is, and all I have been able to figure out is that those two versions are 64 and 32 bit respectively. I know my server is 64 bit, so how would I go about disabling or removing the other version safely?
    0
  • ModServ
    You can find the rpm using:
    rpm -qa | grep bash
    Then to remove the needed one, issue this:
    rpm -e PACKAGENAME
    0
  • cPanelMichael
    Hello :) In addition to the previous response, you may want to use the "--nodeps" flag when removing the duplicate RPM to avoid removing additional packages. EX:
    rpm -e --nodeps package-name
    Thank you.
    0
  • Pseudorandom
    I ran the command "rpm -qa | grep bash" and it showes me two packages "bash-4.1.2-15.el6_5.2.i686" and "bash-4.1.2-15.el6_5.2.x86_64". I tried doing "rpm -e --test bash-4.1.2-15.e16_5.2.i686" to see if anything would break when removing the 32bit version of bash and I get an error stating that it is not installed. I tried the same test command on the other file, with the same result. So at this point the I feel like the "yum update" is getting an error from two programs that appear to not be installed. How can I check where/if those programs are installed?
    0
  • ModServ
    The issue is a typo from your side, I will highlight it for you: Package name from command: bash-4.1.2-15.el6_5.2.i686 Package name you wrote: bash-4.1.2-15.e16_5.2.i686 Did you see the difference? it's el6 not e16 (EL6 not E"sixteen") EL means: Enterprise Linux
    0
  • Pseudorandom
    Okay, change to be EL instead of E 1 and ran "yum update" which is now updating. Seems to be resolved (update is running right now). Thank you for the help and your patience.
    0
  • ModServ
    You welcome, glad to hear that your problem has been fixed :)
    0
  • cPanelMichael
    I'm happy to see the issue is now resolved. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.