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

Status
Not open for further replies.

sergio2004

Well-Known Member
Feb 28, 2004
48
0
156
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.
 

madaboutlinux

Well-Known Member
Jan 24, 2005
1,051
2
168
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.

cd /usr/loca/src
wget http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/Convert-ASN1-0.22.tar.gz

tar -zxf Convert-ASN1-0.22.tar.gz
cd Convert-ASN1*
perl Makefile.pl
make
make install
If you follow the above steps, you will have the module installed on your server.
 

sergio2004

Well-Known Member
Feb 28, 2004
48
0
156
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.
 

MRiscado

Member
Feb 22, 2004
22
0
151
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,
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,545
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
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.
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,
Please, can the cPanel staff say anything about this problem...?

Thank you.
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
 

MRiscado

Member
Feb 22, 2004
22
0
151
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:
[[email protected] ~]# 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!
[[email protected] ~]#

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

Thanks. Happy New Year to all :)
 
Status
Not open for further replies.