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.

YUM error, cant recompile apache

Discussion in 'EasyApache' started by tomdchi, Jan 26, 2012.

  1. tomdchi

    tomdchi Well-Known Member

    Joined:
    Feb 24, 2008
    Messages:
    116
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Atlanta, GA
    cPanel Access Level:
    DataCenter Provider
    Anyone else getting error below when yum update runs?

    Code:
    
    --> Running transaction check
    ---> Package openssl.i686 0:0.9.8e-20.el5_7.1 set to be updated
    ---> Package openssl-devel.i386 0:0.9.8e-20.el5_7.1 set to be updated
    ---> Package openssl-devel.x86_64 0:0.9.8e-20.el5_7.1 set to be updated
    --> Finished Dependency Resolution
    Dependencies Resolved
    ================================================================================
    Package             Arch         Version                   Repository     Size
    ================================================================================
    Updating:
    openssl             i686         0.9.8e-20.el5_7.1         updates       1.4 M
    openssl-devel       i386         0.9.8e-20.el5_7.1         updates       1.9 M
    openssl-devel       x86_64       0.9.8e-20.el5_7.1         updates       1.9 M
    Transaction Summary
    ================================================================================
    Install       0 Package(s)
    Upgrade       3 Package(s)
    Total size: 5.2 M
    Downloading Packages:
    Running rpm_check_debug
    Running Transaction Test
    Finished Transaction Test
    Transaction Check Error:
      file /usr/share/man/man1/ca.1ssl.gz from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5.x86_64
      file /usr/share/man/man1/req.1ssl.gz from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5.x86_64
      file /usr/share/man/man1/x509.1ssl.gz from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5.x86_64
      file /usr/share/man/man1/ca.1ssl.gz from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.x86_64
      file /usr/share/man/man1/req.1ssl.gz from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.x86_64
      file /usr/share/man/man1/x509.1ssl.gz from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.x86_64
    Error Summary
    
    
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Please try the following:

    Code:
    rpm -e --justdb --allmatches --nodeps openssl
    If EasyApache still doesn't work after doing that command, re-run the command again, then edit /etc/yum.conf file and add the following into the exclude line it has:

    openssl*i686*
    openssl*i386*

    At that point, it should work for EasyApache to recompile.
     
  3. alphawolf50

    alphawolf50 Well-Known Member

    Joined:
    Apr 28, 2011
    Messages:
    186
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    I had this exact same problem yesterday. Today, I just ran "yum update" and it worked fine. Seems like there was an issue with the CentOS packages that they have corrected.
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Yes, they keep having this same issue on openssl where someone at CentOS is putting the wrong arch type into the repository, causing openssl to fail to update properly. In the past 9 months, this has happened at least 3 times for either i686/i386 installing on 64-bit systems. As such, I would still suggest adding the exclude into /etc/yum.conf to keep the wrong arch type from trying to install in the future on the system.
     
  5. tomdchi

    tomdchi Well-Known Member

    Joined:
    Feb 24, 2008
    Messages:
    116
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Atlanta, GA
    cPanel Access Level:
    DataCenter Provider
    Thanks!!
    Code:
    rpm -e --justdb --allmatches --nodeps openssl
    fixed it.
     
  6. frisbees

    frisbees Member

    Joined:
    Feb 26, 2008
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Code:
    rpm -e --justdb --allmatches --nodeps openssl
    Worked twice for me. Thanks!
     
  7. monddia

    monddia Member

    Joined:
    Sep 6, 2010
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Hello i want to recompile the apache with easyapache, and i become this error:


    When i login into ssh and make yum update, i become this error:

    I have see every when i restart the server yum shutdown failed...

    Please help me
     
  8. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    How do you believe the error might be fixed based on the prior suggestion in this thread? You appear to have two versions of device-mapper and two versions of openldap, so given the two versions of openssl were resolved this this command:

    Code:
    rpm -e --justdb --allmatches --nodeps openssl
    What commands do you think should be run instead to correct the issue for device-mapper and openldap? Of note, you wouldn't run the rpm removal command for openssl, since openssl isn't impacted. You'd run it for device-mapper and openldap.
     
Loading...

Share This Page