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 clean up issues

Discussion in 'General Discussion' started by romacities, Aug 25, 2011.

  1. romacities

    romacities Member

    Joined:
    Sep 10, 2010
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Denver, CO
    cPanel Access Level:
    Root Administrator
    when I run
    Code:
    package-cleanup --problems
    I get this list of errors:


    Missing dependencies:
    Package bandmin requires perl(bandmin.conf)
    Package bandmin requires perl(bmversion.pl)
    Package bandmin requires perl(services.conf)
    Package MySQL-server requires perl(DBI)
    Package exim requires libresolv.so.2(GLIBC_PRIVATE)(64bit)
    Package exim requires perl(SafeFile)


    Is this normal? How do I go about fixing them?

    thanks.
     
  2. zgia

    zgia Member

    Joined:
    Jul 8, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    also this problem on CentOS 6 64bit Cpanel fresh install
    yum check
    Loaded plugins: fastestmirror
    bandmin-1.6.1-4_newinit.noarch has missing requires of perl(bandmin.conf)
    bandmin-1.6.1-4_newinit.noarch has missing requires of perl(bmversion.pl)
    bandmin-1.6.1-4_newinit.noarch has missing requires of perl(services.conf)
    exim-4.69-30_cpanel_maildir.x86_64 has missing requires of perl(SafeFile)
    frontpage-2002-SR1.2.i386 has missing requires of libexpat.so.0
    Error: check all
     
  3. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Could you please post the output of this command:

    PHP:
    perl -v
     
  4. linuxtuts

    linuxtuts Member

    Joined:
    Feb 21, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    USA
    I have the exact same problem with my new server also.


    Thanks Mate, Brian R. Wallace
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I suggest opening a support ticket with our staff so we may investigate the issue for you. You can open a ticket using the following URL:

    Submit A Ticket

    Thank you.
     
  6. theboomshadow

    theboomshadow Registered

    Joined:
    Oct 27, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Did anyone have more info on how to investigate this further? I'm a firm believer in searching for solution before opening a ticket. This thread is one of the first hits when looking up these errors. I'd like to know what you guys would check for next. Thanks. :)
     
  7. minosjl

    minosjl Well-Known Member

    Joined:
    Jun 4, 2011
    Messages:
    168
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    I think the above error is occurred because your server perl is not updated correctly.There may be some files missing in the server.Please update your perl from your end and check the issue persists in the server.You can get nice documents about cpanel perl update by googing

    You can refer this link if you wish.

    /http://blog.eukhost.com/webhosting/perl-upgrade-on-cpanel-server/
     
  8. Asim Zeeshan

    Asim Zeeshan Member

    Joined:
    Nov 13, 2011
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Lahore, Pakistan
    cPanel Access Level:
    Root Administrator
    I have the exact same issue

    Package-cleanup has the following output
    Perl's version is this
    Its CentOS 6.0 64bit, freshly installed OS and cPanel/WHM
     
  9. 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
    What is the kernel you are using?

    Code:
    uname -r
    I'm suspecting the 3.0.x kernel for CentOS 6 rather than the standard one. There have been various tickets and threads where assorted issues crop up due to the 3.0.x kernel, which isn't the default one, being used. Here's one such thread:

    http://forums.cpanel.net/f5/daily-e...ta-could-not-installed-230182.html#post989562

    If you must use that non-standard kernel, you'd likely want to use those steps to see if that corrects the issue.

    If you aren't using the non-standard kernel, then please submit a ticket using the link in my signature and please post that ticket number here so we can follow up on it.
     
  10. akrzystek

    akrzystek Member

    Joined:
    Jul 8, 2005
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Same here:

    Code:
    # package-cleanup --problems
    Loaded plugins: fastestmirror
    Package frontpage-2002-SR1.2.i386 requires libexpat.so.0
    Package exim-4.69-30_cpanel_maildir.x86_64 requires perl(SafeFile)
    Package logwatch-7.3.6-49.el6.noarch requires perl(Date::Manip)
    Package bandmin-1.6.1-5.noarch requires perl(bandmin.conf)
    Package bandmin-1.6.1-5.noarch requires perl(bmversion.pl)
    Package bandmin-1.6.1-5.noarch requires perl(services.conf)
    
    # lsb_release -d
    Description:	CentOS Linux release 6.0 (Final)
    # uname -r
    2.6.32-131.17.1.el6.x86_64
    # perl -v |grep 'This is'
    This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi
    I'll open a ticket.
     
  11. jimfurtado

    jimfurtado Member

    Joined:
    Jan 2, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Somerset, Massachusetts, United States
    I am having a similar problem when trying to install Logwatch on a fresh server.

    Kernal: 2.6.32-220.4.2.el6.x86_64
    Perl: This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi
    Centos 6: 64-bit

    I get the following, even though I've already installed Date::Manip

    ---> Package logwatch.noarch 0:7.3.6-49.el6 will be installed
    --> Processing Dependency: perl(Date::Manip) for package: logwatch-7.3.6-49.el6.noarch
    --> Finished Dependency Resolution
    Error: Package: logwatch-7.3.6-49.el6.noarch (centos-burstnet)
    Requires: perl(Date::Manip)
    You could try using --skip-broken to work around the problem
    ** Found 5 pre-existing rpmdb problem(s), 'yum check' output follows:
    bandmin-1.6.1-5.noarch has missing requires of perl(bandmin.conf)
    bandmin-1.6.1-5.noarch has missing requires of perl(bmversion.pl)
    bandmin-1.6.1-5.noarch has missing requires of perl(services.conf)
    exim-4.69-30_cpanel_maildir.x86_64 has missing requires of perl(SafeFile)
    frontpage-2002-SR1.2.i386 has missing requires of libexpat.so.0

    Thoughts?
     
  12. HollyRidge

    HollyRidge Well-Known Member

    Joined:
    Feb 25, 2003
    Messages:
    138
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Garner NC USA
    cPanel Access Level:
    Root Administrator
    Having the same issue as above on one of our new centos 6.2 64-bit servers. Did yall get this resolved and if so how?

     
  13. whplus

    whplus Well-Known Member

    Joined:
    Dec 8, 2007
    Messages:
    66
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Behind your business
    you can install perl(Date::Manip) using rpm
    Code:
    rpm -ivh http://pkgs.repoforge.org/perl-Date-Manip/perl-Date-Manip-5.56-1.el6.rfx.noarch.rpm
     
  14. phatrik

    phatrik Member

    Joined:
    Jul 27, 2008
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Toronto, ON


    I was wondering if anyone found a solution. I seem to be having the same problem as everyone:

    Starting with a Fresh CentOS 6.0 server, I install the latest version of cPanel using instructions found on their website. After having installed cPanel, yum shows the following dependency problem:

    bash-4.1# yum check
    Loaded plugins: fastestmirror
    bandmin-1.6.1-5.noarch has missing requires of perl(bandmin.conf)
    bandmin-1.6.1-5.noarch has missing requires of perl(bmversion.pl)
    bandmin-1.6.1-5.noarch has missing requires of perl(services.conf)
    exim-4.69-30_cpanel_maildir.x86_64 has missing requires of perl(SafeFile)
    frontpage-2002-SR1.2.i386 has missing requires of libexpat.so.0
    sendmail-cf-8.14.4-8.el6.noarch has missing requires of sendmail = ('0', '8.14.4', '8.el6')
    Error: check all


    bash-4.1# perl -v

    This is perl, v5.8.8 built for x86_64-linux


    This is a Virtuozzo VM so kernel 2.6 (VZ kernel of course). I've installed tons of WHM/cPanel on CentOS5 without ever having this problem, I suspect this is related to CentOS6 and not Kernel 3.X. I re-started the install process a couple of times with a fresh image but the same problem keeps occurring.
     
  15. HollyRidge

    HollyRidge Well-Known Member

    Joined:
    Feb 25, 2003
    Messages:
    138
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Garner NC USA
    cPanel Access Level:
    Root Administrator
    Yeah Im on the 2.6 kernel as well. Its the updated stock kernel.

    2.6.32-220.7.1.el6.x86_64

    Its on a hyper-v 2008 server with a centos 6.2 virtual server if that makes any difference.

    Still getting same issue I was above...
     
  16. phatrik

    phatrik Member

    Joined:
    Jul 27, 2008
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Toronto, ON
    So I've made the following progress:


    sendmail-cf-8.14.4-8.el6.noarch has missing requires of sendmail = ('0', '8.14.4', '8.el6'): this is no longer a problem, in my newest install, I yum removed sendmail before starting the cpanel install. The dependency problem never existed until after the cpanel install was finished so I can only assume cpanel only removes sendmail and nothing related to it.


    With regards to frontpage-2002-SR1.2.i386 has missing requires of libexpat.so.0: I noticed some of also ran into this error. I didn't find a package called libexpat.so.0 however I did find compat-expat1-1.95.8-8.el6.i686.rpm which solved that dependency issue. Now I'm left with:


    bandmin-1.6.1-5.noarch has missing requires of perl(bandmin.conf)
    bandmin-1.6.1-5.noarch has missing requires of perl(bmversion.pl)
    bandmin-1.6.1-5.noarch has missing requires of perl(services.conf)
    exim-4.69-30_cpanel_maildir.x86_64 has missing requires of perl(SafeFile)


    I've already verified perl is installed on the system. Googling Perl(Safefile) or searching Perl's cpan website for safefile or just googling "safefile" hasn't helped. So perl(SafeFile) and Perl(bandadmin.conf,bmversion.pl and services.conf) is where I'm (and apparently a lot of other people) are stuck.

    Who's going to be the hero of the day and come up with an answer? :D
     
    #16 phatrik, Mar 23, 2012
    Last edited: Mar 23, 2012
  17. bluesangria

    bluesangria Registered

    Joined:
    Mar 24, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Good morning all!

    Not sure if it's related to your issues or not, I was trying to install Git and Gitosis on my server (Centos 5.x, cPanel) and I kept running into issues of missing perl dependencies, please run package-cleanup, yaddi yadda.

    At first I thought it was due to the protect base plugin. It turns out that cPanel adds the following line in /etc/yum.conf:


    exclude=apache* bind-chroot courier* dovecot* exim* filesystem httpd* mod_ssl* mysql* nsd* perl* php* proftpd* pure-ftpd* ruby* spamassassin* squirrelmail*

    I believe that's why any kind of perl dependency or installs via yum failed and that some of you managed to install whatever you needed via rpm.

    Anyhow, what I was trying to do worked after I commented out the perl* ignore (temporarily).

    JG
     
  18. phatrik

    phatrik Member

    Joined:
    Jul 27, 2008
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Toronto, ON

    Hi bluesangria,

    Thank you for the answer, however that exclude line in yum.conf only shows up after cPanel's installation is completed. Since I'm able to replicate my problem every time by starting with a fresh CentOS and a new cPanel/WHM install, that isn't it for it. On a fresh install, all required packages should be installed BEFORE the exclude line is added to yum.conf.
     
  19. dexus

    dexus Well-Known Member

    Joined:
    Jan 14, 2006
    Messages:
    169
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    This is a standard issue in every fresh cPanel install on CentsOS 6.

    Can we get some official solution from cPanel here...?
     
  20. 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
    Hello,

    Please submit a ticket for us to check into the issue using WHM > Support Center > Contact cPanel or using the link in my signature. Please post that ticket number here upon opening one.

    Thanks!
     
Loading...

Share This Page