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.

up2date -i -f mod_ssl error

Discussion in 'General Discussion' started by black&white, Sep 12, 2006.

  1. black&white

    black&white Well-Known Member

    Joined:
    Aug 10, 2004
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    0
    Hi,
    i have this error when i try to update my rpm packages via ssh:


    root@server [/]# up2date --list

    Fetching Obsoletes list for channel: rhel-i386-es-4...

    Fetching rpm headers...

    Name Version Rel
    ----------------------------------------------------------

    The following Packages were marked to be skipped by your configuration:

    Name Version Rel Reason
    -------------------------------------------------------------------------------
    mod_ssl 2.0.52 28.entPkg name/pattern

    root@server [/]# rpm --rebuilddb
    root@server [/]# up2date -l

    Fetching Obsoletes list for channel: rhel-i386-es-4...

    Fetching rpm headers...

    Name Version Rel
    ----------------------------------------------------------

    The following Packages were marked to be skipped by your configuration:

    Name Version Rel Reason
    -------------------------------------------------------------------------------
    mod_ssl 2.0.52 28.entPkg name/pattern

    root@server [/]# up2date -i -f mod_ssl

    Fetching Obsoletes list for channel: rhel-i386-es-4...

    Name Version Rel
    ----------------------------------------------------------
    mod_ssl 2.0.52 28.ent i386


    Testing package set / solving RPM inter-dependencies...
    ########################################
    mod_ssl-2.0.52-28.ent.i386. ########################## Done.
    httpd-2.0.52-28.ent.i386.rp ########################## Done.
    Preparing ########################################### [100%]

    Installing...
    1:httpd warning: /etc/httpd/conf.d/welcome.conf created as /etc/httpd/conf.d/welcome.conf.rpmnew
    warning: /etc/httpd/conf/httpd.conf created as /etc/httpd/conf/httpd.conf.rpmnew
    warning: /etc/httpd/conf/magic created as /etc/httpd/conf/magic.rpmnew
    ########################################### [100%]
    error: unpacking of archive failed on file /etc/httpd/logs: cpio: rename
    There was a fatal RPM install error. The message was:
    There was a rpm unpack error installing the package: httpd-2.0.52-28.ent
    root@server [/]#


    How can i to fix it?

    Thank you
     
  2. rustelekom

    rustelekom Well-Known Member
    PartnerNOC

    Joined:
    Nov 13, 2003
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    moscow
    if you have cpanel installed, you don't need use up2date.
     
  3. black&white

    black&white Well-Known Member

    Joined:
    Aug 10, 2004
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    0
    Yes i have Cpanel installed.

    I have clicked on "Update system software" also but after the whole procedure, if i type up2date -l another time i still see

    mod_ssl

    ready to install.

    Why that?

    thank you
     
  4. rustelekom

    rustelekom Well-Known Member
    PartnerNOC

    Joined:
    Nov 13, 2003
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    moscow
    you can check are your mod_ssl latest version or not in WHM - News section. But, for up2date you should always exclude all updates for: exim spamassasion httpd php perl

    Cpanel update it itself, so if you update it by up2date your always get a problem because system package updates is not a compatible with cpanel.
     
  5. black&white

    black&white Well-Known Member

    Joined:
    Aug 10, 2004
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    0
    Thank you for your help
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    All you should need to do is run:

    /scripts/checkup2date


    Which should configure the up2date pkgskiplst appropriately so that you can use up2date as you wish.
     

Share This Page