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.

Dependency error during upcp

Discussion in 'General Discussion' started by thobarn, Apr 6, 2009.

Thread Status:
Not open for further replies.
  1. thobarn

    thobarn Well-Known Member

    Joined:
    Apr 25, 2008
    Messages:
    153
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    sanctum sanctorum
    Dependency error during upcp [Solved]

    cPanel 11.24.4-R35075 - WHM 11.24.2 - X 3.9 CENTOS 5.2 i686

    I started to get following during upcp runs:
    Code:
    Resolving Dependencies...
    ---> Package samba.i386 0:3.0.33-3.7.el5 set to be updated
    --> Processing Dependency: perl(Convert::ASN1) for package: samba
    --> Finished Dependency Resolution
    samba-3.0.33-3.7.el5.i386 from base has depsolving problems
      --> Missing Dependency: perl(Convert::ASN1) is needed by package samba-3.0.33-3.7.el5.i386 (base)
    Error: Missing Dependency: perl(Convert::ASN1) is needed by package samba-3.0.33-3.7.el5.i386 (base)
    Running Main >> Software >> Update Server Software reports "Nothing to do" but on next upcp run missing dep is shown again. Can anyone help? Thanks
     
    #1 thobarn, Apr 6, 2009
    Last edited: Apr 10, 2009
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    If you don need/use Samba, remove it and then your updates will complete.
     
  3. thobarn

    thobarn Well-Known Member

    Joined:
    Apr 25, 2008
    Messages:
    153
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    sanctum sanctorum
    Thanks for the reply. This was done (thanks Joshua) and the problem is now resolved.
     
  4. Nick57

    Nick57 Well-Known Member

    Joined:
    Jul 19, 2005
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    And what if you need the samba?

    I have same problem.
     
  5. Zishan

    Zishan Well-Known Member

    Joined:
    Aug 6, 2005
    Messages:
    104
    Likes Received:
    1
    Trophy Points:
    0
    You will need to download and install perl-Convert-ASN1 rpm. You can try searching the rpm for your OS at http://rpm.pbone.net
     
  6. jmhost

    jmhost Member

    Joined:
    Mar 18, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Mine is saying the same thing and I'm not familiar with yum. Is the command to uninstall it:

    yum remove samba

    Also, should I remove kernel from my yum excludes line to update it when it updates to 5.3 or is it ok to leave the old one?

    Forgive me, I'm learning! :)
     
  7. TheKog

    TheKog Active Member

    Joined:
    Dec 23, 2004
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Why are we responsible for fixing bugs in what is supposed to be a STABLE WHM/Cpanel release?

    I too have the same problem and am waiting for some EXACT instructions on exactly how to fix this.

    I have no idea whether or not any of the sites on our Centos server use Samba and am not about to remove it.

    What is the correct fix for this - everynight my Cron Daemon report has a zillion things set to be updated then fails because of:

    Error: Missing Dependency: perl(Convert::ASN1) is needed by package samba

    If I click "Install a Perl Module" it shows this module is installed at version .22

    (and I have no idea what yum is - I've never needed to mess with it or bypass the WHM/Cpanel mechanisms)
     
  8. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    The above is only an interim solution. Our developers and quality assurance staffs are currently working on a solution to be implemented in upcoming builds of cPanel/WHM. I have no ETA on this at this time, but it is being actively worked upon. Until we can release a patch that has been thoroughly tested, you can use the interim solution posted above.

    Internal case 24970.

    Samba is not a website technology. To put it simply, Samba is often used to allow Linux machines communicate over a network to access files on a Windows-based machine. If your cPanel/WHM server is not accessing files over a network from a Windows-based machine, it is unlikely you are using Samba.

    I recommend you let our technical analysts assist you with this: http://tickets.cPanel.net/submit

    YUM is a tool used by your operating system to install and update software. cPanel/WHM uses it "behind the scenes" to upgrade some applications. YUM is often used at the command-line, as described in jmhost's post.
     
  9. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Upgrading the kernel can be a risky thing. I recommend you only proceed if you have a need for an updated kernel and are familiar with the process. You may want to try upgrading a kernel on a non-production machine before attempting it on a production cPanel/WHM server.
     
  10. TheKog

    TheKog Active Member

    Joined:
    Dec 23, 2004
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    The 'above interim solution' does not exist - I read the thread and do not see one. Removing samba is not a solution. Once again show me exact instructions on a workaround and I will do it. Is is too much to ask you cpanel folks to provide some freakin DETAILS?
     
  11. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Removing Samba has been recommended for those who do not use Samba.

    If you do use Samba, you can exclude Samba from Yum updates until a permanent solution is implemented. You can do this by modifying the YUM configuration file to exclude Samba.

    There's a fairly easy to read guide for doing this at:

    http://www.cyberciti.biz/faq/redhat-centos-linux-yum-update-exclude-packages/

    Alternatively, you can read the man 5 page for yum.
     
  12. jmhost

    jmhost Member

    Joined:
    Mar 18, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Thanks, I'll definitely leave that alone then. I wasn't sure if it would be upset if I upgraded the OS and not the Kernel so that's why I asked.

    Can someone answer my other question?

    Is the command to uninstall it:

    yum remove samba

    I'm not sure because I don't want to screw up and have it remove decencies other packages are using. Is it smart enough not to do that?

    Thanks!
     
    #12 jmhost, Apr 16, 2009
    Last edited: Apr 16, 2009
  13. britsenigma

    britsenigma Well-Known Member

    Joined:
    Dec 14, 2008
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    6
    perl(Digest::SHA1)
    perl(Crypt::PasswdMD5)

    Those are the problem on mine. I actually need samba installed as I'm making a backup to a windows system while a machine is moved.
     
  14. TheKog

    TheKog Active Member

    Joined:
    Dec 23, 2004
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    This is still not fixed in the latest Stable build. It's been 3 months - will they ever fix it?
     
  15. TheKog

    TheKog Active Member

    Joined:
    Dec 23, 2004
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Now 5 months later and this is still a problem in the current stable build.

    Has anyone seen this fixed yet?
     
  16. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    As cpaneldavidg directed you last April, please open a support ticket and our techs will gladly help you resolve this.

    You may open a support ticket at https://tickets.cpanel.net/submit/

    Thank you.
     
Loading...
Thread Status:
Not open for further replies.

Share This Page