I'm not sure if this is a problem with my setup or with the repository. Running yum list shows two different versions of perl- DateTime-TimeZone:

perl-DateTime-TimeZone.i386 0.46-1.el5.rf rpmforge perl-DateTime-TimeZone.noarch 0.8301-1.el5.rf rpmforge

When I run yum install perl-DateTime yum will pull perl-DateTime- TimeZone 0.46 as a dependency instead of 0.8301. Everything installs without complaints but when trying to use DateTime from perl I get the following error message:

[etroc...@localhost ~]$ perl -e "use DateTime;"
DateTime::TimeZone version 0.59 required--this is only version 0.46 at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/ DateTime.pm line 47. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/ i386-linux-thread-multi/DateTime.pm line 47.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

Explicitly installing perl-DateTime-TimeZone version .083 fixes the problem.

Why is yum not pulling the latest version of the package? Also, shouldn't perl-DateTime have an explicit dependency on perl-DateTime- TimeZone >= 0.59?
_______________________________________________
users mailing list
[email protected]
http://lists.rpmforge.net/mailman/listinfo/users

Reply via email to