Hi all,

Just a heads-up regarding the recent (07-Jul-2009) update of perl-Devel-StackTrace to 1.21:

We're running a Request Tracker installation, and after the update from perl-Exception-Class-1.24 to perl-Exception-Class-1.29 and a httpd restart, it started logging the following error:

[Sun Jul 12 19:16:50 2009] [error] Devel::StackTrace version 1.2
required--this is only version 1.1902 at
/usr/lib/perl5/vendor_perl/5.8.8/Exception/Class/Base.pm line 9.\nBEGIN
failed--compilation aborted at
[snip]

This appears to be because yum and rpm read the version number "1.1902" in perl-Devel-StackTrace-1.1902 as "one point one thousand nine hundred two" (instead of reading it as the perlish way of writing "one point nineteen oh-two"), and thus don't see perl-Devel-StackTrace-1.21 as an update.

# rpm -qp --requires perl-Exception-Class-1.29-1.el5.rf.noarch.rpm |grep StackTrace
perl(Devel::StackTrace) >= 1.20
# rpm -q --whatprovides 'perl(Devel::StackTrace)'
perl-Devel-StackTrace-1.1902-1.el5.rf
# rpm -q --provides perl-Devel-StackTrace-1.1902-1.el5.rf |fgrep 'perl(Devel::StackTrace)'
perl(Devel::StackTrace) = 1.1902
# yum list updates perl-Devel-StackTrace |grep perl-Devel-StackTrace
Error: No matching Packages to list
# wget -q http://packages.sw.be/perl-Devel-StackTrace/perl-Devel-StackTrace-1.21-1.el5.rf.noarch.rpm; ls -l perl-Devel-StackTrace-1.21-1.el5.rf.noarch.rpm -rw-r--r-- 1 root root 28557 Jul 7 05:59 perl-Devel-StackTrace-1.21-1.el5.rf.noarch.rpm
# rpm -Uvh perl-Devel-StackTrace-1.21-1.el5.rf.noarch.rpm
Preparing... ########################################### [100%] package perl-Devel-StackTrace-1.1902-1.el5.rf.noarch (which is newer than perl-Devel-StackTrace-1.21-1.el5.rf.noarch) is already installed

After manually downloading and updating to perl-Devel-StackTrace-1.21 (with --oldpackage), perl-Exception-Class-1.29 is working fine.

There are probably other modules besides Exception::Class that require "perl(Devel::StackTrace) >= 1.20" and will exhibit similar behavior.

--
William Horka
UNIX Systems Administrator
Harvard-MIT Data Center
_______________________________________________
users mailing list
[email protected]
http://lists.rpmforge.net/mailman/listinfo/users

Reply via email to