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.

Package dependency problem

Discussion in 'General Discussion' started by Hueznar, Jun 4, 2004.

  1. Hueznar

    Hueznar Member

    Joined:
    Feb 24, 2004
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Spain
    Hi everybody!

    When I update cpanel version, the process always shows this message of package dependency problem.

    Is this an error?. How could Fix this "problem"?

    Thanks Everybody.
    _____________________________________________

    Testing package set / solving RPM inter-dependencies...
    There was a package dependency problem. The message was:

    To solve all dependencies for the RPMs you have selected, The following
    packages you have marked to exclude would have to be added to the set:

    Package Name Reason For Skipping
    ==================================================
    ====================
    httpd-2.0.46-32.ent Pkg name/pattern
    httpd-devel-2.0.46-32.ent Pkg name/pattern
    kernel-2.4.21-15.EL Pkg name/pattern
    kernel-2.4.21-15.EL Pkg name/pattern
    kernel-BOOT-2.4.21-15.EL Pkg name/pattern
    kernel-debuginfo-2.4.21-4.0.1. Pkg name/pattern
    kernel-debuginfo-2.4.21-4.0.1. Pkg name/pattern
    kernel-debuginfo-2.4.21-4.0.1. Pkg name/pattern
    kernel-doc-2.4.21-15.EL Pkg name/pattern
    kernel-hugemem-2.4.21-15.EL Pkg name/pattern
    kernel-hugemem-unsupported-2.4 Pkg name/pattern
    kernel-smp-2.4.21-15.EL Pkg name/pattern
    kernel-smp-2.4.21-15.EL Pkg name/pattern
    kernel-smp-unsupported-2.4.21- Pkg name/pattern
    kernel-smp-unsupported-2.4.21- Pkg name/pattern
    kernel-source-2.4.21-15.EL Pkg name/pattern
    kernel-unsupported-2.4.21-15.E Pkg name/pattern
    kernel-unsupported-2.4.21-15.E Pkg name/pattern
    kernel-utils-2.4-8.37.5 Pkg name/pattern
    mysql-3.23.58-1 Pkg name/pattern
    mysql-bench-3.23.58-1 Pkg name/pattern
    mysql-devel-3.23.58-1 Pkg name/pattern
    php-4.3.2-11.ent Pkg name/pattern
    php-imap-4.3.2-11.ent Pkg name/pattern
    php-ldap-4.3.2-11.ent Pkg name/pattern
    php-mysql-4.3.2-11.ent Pkg name/pattern
    php-odbc-4.3.2-11.ent Pkg name/pattern
    php-pgsql-4.3.2-11.ent Pkg name/pattern

    Unresolvable chain of dependencies:
    mod_ssl-2.0.46-32.ent requires httpd = 2.0.46-32.ent
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    That's because you should have mod_ssl* and httpd* excluded in your up2date configuration as cPanel provides these.

    I use the following in up2date --config

    kernel*;php*;httpd*;perl*;mysql*;mod_ssl*;imap*;
     
  3. Hueznar

    Hueznar Member

    Joined:
    Feb 24, 2004
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Spain
    Thank you Chirpy!

    I'm going to review up2date settings
     
  4. Hueznar

    Hueznar Member

    Joined:
    Feb 24, 2004
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Spain
    I'm still having the same problem:

    Unresolvable chain of dependencies:
    mod_ssl-2.0.46-32.ent requires httpd = 2.0.46-32.ent


    First of all I type up2date --configure, then I choose option number 9 (PkgSkipList), then I Clear the list by pressing "C" Key, and finally I press Enter to Exit. Then I confirm by entering again in up2date --configure that the changue was saved.

    ...Well, Then I launch via WHM the Cpanel update, and again the same error.

    When I Enter again on up2date --configure, I can see that the pkgskiplist is as I never cleared it.

    What I'm doing wrong?

    Thank you for your help.
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    If you want to get rid of that message, you could do the following (be very careful):

    up2date --justdb -uf mod_ssl

    This will load the module into the rpm database only and not install it. Make sure that you defintiely use --justdb otherwise you'll screw up cPanel.

    Use the procedure at your own risk!
     
  6. Hueznar

    Hueznar Member

    Joined:
    Feb 24, 2004
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Spain
    Thaks again Chirpy:

    When you say "Use the procedure at your own risk!" what do you mean?. Is dangerous to do "up2date --justdb -uf mod_ssl" ?

    and another question: Do you know the reason why I Clear PKgSkipList and then when I run the Cpanel Up2date the list is as never I cleared it?.

    Thaks
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    It could be that cPanel is ignoring the entries for some odd reason.

    The reason I said that was because if you accidentally install mod_ssl it would overwrite the one provided with cPanel. Howver, theat shouldn't happen with the --justdb qualifier.

    In fact, the command may not work and you might actually need:

    up2date --justdb -uf mod_ssl httpd

    There's always some risk when doing such things, but it's up to you whether you accept that or just ignore the mod_ssl error message.
     
  8. Hueznar

    Hueznar Member

    Joined:
    Feb 24, 2004
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Spain
    OK, I don't want to ignore the message because Cpanel shows that actual version of mod_ssl have vulnerabilities. I want to update to the last version, but cpanel don't let me do it.
     
  9. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Ah. You have to rebuild Apache to upgrade mod_ssl for cPanel. You should not use the RHE version of mod_ssl, cPanel uses its own when you rebuild Apache.
     
Loading...

Share This Page