Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Duplicated RPM (Exim) Can i remove all exim rpms and reinstall?

Discussion in 'E-mail Discussion' started by attiliok, Nov 13, 2013.

  1. attiliok

    attiliok Member

    Joined:
    Nov 13, 2013
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello everybody,
    I think this is a simple question.
    Here my situation: i have some duplicated packages:

    Code:
    rpm -q --queryformat "%{name}.%{arch}\n" exim
    exim.x86_64
    exim.x86_64
    
    So i think i should remove both packages like this

    Code:
    rpm -ev --allmatches exim
    and reinstall it whit

    Code:
    /usr/local/cpanel/scripts/check_cpanel_rpms --fix
    Am I right? Will this break something, or it's safe?

    Thanks in advance.
     
  2. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    931
    Likes Received:
    17
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Not enough info !

    Check the exact rpm versions of exim you have with:
    Code:
    rpm -qa | grep exim
    
    exim-4.80.1-3.cp1136.x86_64
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #2 kernow, Nov 13, 2013
    Last edited: Nov 13, 2013
  3. attiliok

    attiliok Member

    Joined:
    Nov 13, 2013
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks! Here the output

    Code:
    rpm -qa | grep exim
    exim-4.80.1-1.cp1136
    exim-4.80.1-3.cp1136
    
     
  4. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,483
    Likes Received:
    31
    Trophy Points:
    158
    cPanel Access Level:
    DataCenter Provider
    You can remove both of them with (just in the rpm database, but not the filesystem) by doing the following:

    Code:
    rpm -e --justdb --nodeps exim-4.80.1-1.cp1136
    rpm -e --justdb --nodeps exim-4.80.1-3.cp1136
    
    Then reinstall and everything should be back in sync.

    Code:
    /usr/local/cpanel/scripts/check_cpanel_rpms --fix
    
    You should open a ticket to investigate how your rpm database was corrupted. This usually happens when the update failed to complete for some reason.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice