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.

Error in Processing Dependency: perl(Convert::ASN1) for package: samba

Discussion in 'General Discussion' started by sergio2004, Dec 29, 2009.

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

    sergio2004 Well-Known Member

    Joined:
    Feb 28, 2004
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Rio de Janeiro
    Hi,

    I read many posts here in cPanel`s Forum about the error below:

    Processing Dependency: perl(Convert::ASN1) for package: samba

    But until now anybody post the solution.

    I don´t know if I need samba instaled in my server, then the solution for remove the samba, it is not a solution! It is like if the email is with problem, I remove the exim...

    I read the staff asking for open a ticket support for solve the problem. I don´t understand, if the cpanel support know the solution, why don´t put it here in the forum?

    Any efective solution for this problem?

    Thank you.
     
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    As far as I can tell, you don't need Samba so you can remove it from your server. However, to install the perl module, you can download it from cpan.org and install it manually.

    If you follow the above steps, you will have the module installed on your server.
     
  3. sergio2004

    sergio2004 Well-Known Member

    Joined:
    Feb 28, 2004
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Rio de Janeiro
    Thank you for your anwser.

    By WHM I make the update form perl Convert::ASN1 0.21 to the last Convert::ASN1 0.22 version.

    Do you know how samba was installed in the server? Was it by some cPanel update or by IDC? And can you tell me the command line for I remove samba?

    Thanks.
     
  4. MRiscado

    MRiscado Member

    Joined:
    Feb 22, 2004
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    Hello sergio2004,

    I have the same problem here. :(
    CENTOS 5.2 i686 standard
    cPanel 11.24.5-S38506 - WHM 11.24.2
    Running Perl 5.8.8 with the last Convert::ASN1 0.22 version

    In System Software update or cPanel stable forced update... multiple packages are set to be update ... but the update is not completed.

    The process is stopped when that happens the "Finished Dependency Resolution" and show the error as I copy below.

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

    Could anyone tell us the solution?

    Thanks,
     
  5. sergio2004

    sergio2004 Well-Known Member

    Joined:
    Feb 28, 2004
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Rio de Janeiro
    Please, can the cPanel staff say anything about this problem...?

    Thank you.
     
  6. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    You can list the samba packages using the command

    rpm -qa *samba*

    Once the packages are listed, you can remove them using

    rpm -e packagename
     
  7. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    The recommended solution, if you are not specifically using samba, is to simply remove the unnecessary software package, that of the "samba" RPM:
    Code:
    # rpm -ve samba
    An alternative solution that I would not recommend, is to manually install the RPM that the "samba" package is expecting; the RPM is named as follows:
    Code:
    perl-Convert-ASN1
    In order to use "yum" to install the above RPM, it is necessary to temporarily edit the "perl*" entry in the exclude list of the YUM configuration file (at "/etc/yum.conf"); an example of an appropriate temporary edit would be to change "perl*" to "perl" (removing the asterisk) so that the entry does not match the desired RPM. After the RPM is installed, then the exclude entry should be reverted back to including the asterisk.

    If the additional RPM is installed to satisfy the dependency, I recommend to then force a re-install of the same Perl module so that the latest available is used instead of the older precompiled binary (RPM) version from the OS update/yum repository:
    Code:
    # /scripts/perlinstaller --force Convert::ASN1
     
  8. MRiscado

    MRiscado Member

    Joined:
    Feb 22, 2004
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    Hello cPanelDon,
    Thank you for your help.

    I solved the problem (I believe it is resolved) by doing the following...

    I removed the samba with the command below:
    Code:
    yum remove samba
    It was shown the following:
    Code:
    [root@server ~]# yum remove samba
    Loading "fastestmirror" plugin
    Setting up Remove Process
    Loading mirror speeds from cached hostfile
     * base: mirrors.combinetworks.com
     * updates: mirrors.service.softlayer.com
     * addons: mirrors.service.softlayer.com
     * extras: mirrors.combinetworks.com
    Excluding Packages in global exclude list
    Finished
    Resolving Dependencies
    --> Running transaction check
    ---> Package samba.i386 0:3.0.28-1.el5_2.1 set to be erased
    --> Processing Dependency: samba for package: system-config-samba
    --> Running transaction check
    ---> Package system-config-samba.noarch 0:1.2.39-1.el5 set to be erased
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    =============================================================================
     Package                 Arch       Version          Repository        Size
    =============================================================================
    Removing:
     samba                   i386       3.0.28-1.el5_2.1  installed          30 M
    Removing for dependencies:
     system-config-samba     noarch     1.2.39-1.el5     installed         1.0 M
    
    Transaction Summary
    =============================================================================
    Install      0 Package(s)
    Update       0 Package(s)
    Remove       2 Package(s)
    
    Downloading Packages:
    Running rpm_check_debug
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Erasing   : samba                        ######################### [1/2]
      Erasing   : system-config-samba          ######################### [2/2]
    
    Removed: samba.i386 0:3.0.28-1.el5_2.1
    Dependency Removed: system-config-samba.noarch 0:1.2.39-1.el5
    Complete!
    [root@server ~]#

    After that, I updated the cPanel with --force and update all the packages was processed without problems.

    Thanks. Happy New Year to all :)
     
  9. jasbor

    jasbor Active Member

    Joined:
    Apr 21, 2004
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Above solution worked like a champ...
     
Loading...
Thread Status:
Not open for further replies.

Share This Page