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.

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

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

  1. attiliok

    attiliok Member

    Joined:
    Nov 13, 2013
    Messages:
    15
    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:
    865
    Likes Received:
    9
    Trophy Points:
    18
    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
    
     
    #2 kernow, Nov 13, 2013
    Last edited: Nov 13, 2013
  3. attiliok

    attiliok Member

    Joined:
    Nov 13, 2013
    Messages:
    15
    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,426
    Likes Received:
    2
    Trophy Points:
    38
    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...
Similar Threads - Duplicated RPM (Exim)
  1. keat63
    Replies:
    5
    Views:
    343
  2. mrbradahn
    Replies:
    6
    Views:
    646

Share This Page