"Failed Dependency error" while installing RPM for "DateTime" perl modules
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
"Failed Dependency error" while installing RPM for "DateTime" perl modules
Hi All,
While executing the RPM created for the perl module [DateTime-Locale-0.4001.tar.gz] I'm encountering some dependency errors as shown below:
[root@dhcppc0 Perl]# rpm -ivh DateTime-Locale-0.4001-0.x86_64.rpm
error: Failed dependencies: perl(LDML) is needed by DateTime-Locale-0.4001-0.x86_64
perl(MooseX::ClassAttribute) is needed by DateTime-Locale-0.4001-0.x86_64
Note:
This RPM has been created by me using the source tarball : DateTime-Locale-0.4001.tar.gz downloaded from the CPAN site.
I'm not able to find anything near to LDML so that I can get rid of the error:
perl(LDML) is needed by DateTime-Locale-0.4001-0.x86_64
Any suggestion on this is highly appreciated.
Thanks
Giri.
Last edited by giridhargopal.cj; 11-16-2008 at 11:35 PM.
Reason: To enhance readability
Hi Chris,
Iam ultimately trying to do an YUM install by creating a repository of the RPMS.
I get this message when I run:
[root@dhcppc0 /]# yum install perl-DateTime*
Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...64&repo=extras error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot retrieve repository metadata (repomd.xml) for repository: extras. Please verify its path and try again
It is because of this reason, that I am trying to create a repository of our own for the modules that is required for our project..
I understand that my requirements are somewhat weird..
Thanks for your support.. [If possible, let me know of any idea... I know that Iam expecting too much.. But I'm in that kind of situation.]
Well first I'd recommend checking whether you can contact that service at all ie was it a (temp) network issue?
Or, is that mirror name just plain wrong?
Alternately, if you want your own repository, you can start from the DVD you got originally.
There are certainly places to get it from, depending on your location. (maybe add that & your distro to your profile?).
I've never setup a repo as such though, you'll have to google it. People using RH and Centos do do that.
Good luck
Thanks for your suggestion. Yeah, it was the network issue that prevented the "yum install perl-Date*". But even this failed to resolve the dependency issue that I'm facing.
As you guessed, I'm working on a project in CentOS and Iam to :
-> Create a set of RPMs for each of the software modules / perl modules being used in the project.
It seems that this idea is to simplify the installation process at client sites.
Hence I'm now caught in this situation where my objective is create / invent /discover RPM packages for :
1. DateTime-TimeZone-0.77
2. DateTime-0.45
But the RPMs that I found for these are caught in a deadlock situation wherein each of it is dependent on the other to get installed.
Taking the lead from your suggestion to use package mgmt tool like YUM, instead of RPM, I used the RPM packages with me and created an YUM repository in my local machine.
Now, the deadlock due to failed dependency is resolved, when the packages are installed via YUM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.