Well now, this is just weird. So, after running yum remove perl-
DateTime-TimeZone I do this:
[r...@localhost ~]# yum clean all
Loaded plugins: fastestmirror, priorities
Cleaning up Everything
Cleaning up list of fastest mirrors
[r...@localhost ~]# yum -q resolvedep perl-DateTime-TimeZone
0:perl-DateTime-TimeZone-0.8301-1.el5.rf.noarch
So far so good. A CentOS 5.2 machine gives me the old version so this
is a change for the better. But then I go to install.
[r...@localhost ~]# yum install perl-DateTime
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* rpmforge: ftp-stud.fht-esslingen.de
356 packages excluded due to repository priority protections
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package perl-DateTime.i386 0:0.4305-1.el5.rf set to be updated
--> Processing Dependency: perl(DateTime::TimeZone) >= 0.59 for
package: perl-DateTime
--> Processing Dependency: perl(DateTime::TimeZone) for package: perl-
DateTime
--> Running transaction check
---> Package perl-DateTime-TimeZone.i386 0:0.46-1.el5.rf set to be
updated
--> Finished Dependency Resolution
Dependencies Resolved
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
========================================================================
Package Arch
Version Repository Size
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
========================================================================
Installing:
perl-DateTime i386
0.4305-1.el5.rf rpmforge 134 k
Installing for dependencies:
perl-DateTime-TimeZone i386
0.46-1.el5.rf rpmforge 361 k
Transaction Summary
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
========================================================================
Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 495 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): perl-
DateTime
-0.4305-1.el5.rf.i386.rpm | 134
kB 00:01
(2/2): perl-DateTime-
TimeZone-0.46-1.el5.rf.i386.rpm | 361
kB 00:00
-----------------------------------------------------------------------------------------------------------
Total
184 kB/s | 495 kB 00:02
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : perl-DateTime-TimeZone
[1/2]
Installing : perl-DateTime
[2/2]
Installed: perl-DateTime.i386 0:0.4305-1.el5.rf
Dependency Installed: perl-DateTime-TimeZone.i386 0:0.46-1.el5.rf
Complete!
I don't know what yum is doing at this point. It seems to know about
the DateTime-TimeZone dependency but it completely ignores it and
installs 0.46 anyway.
Well, I went to update DateTime-TimeZone and it sees the new package
correctly.
[r...@localhost ~]# yum update perl-DateTime-TimeZone
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* rpmforge: ftp-stud.fht-esslingen.de
356 packages excluded due to repository priority protections
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package perl-DateTime-TimeZone.noarch 0:0.8301-1.el5.rf set to be
updated
--> Finished Dependency Resolution
Dependencies Resolved
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
========================================================================
Package Arch
Version Repository Size
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
========================================================================
Updating:
perl-DateTime-TimeZone noarch
0.8301-1.el5.rf rpmforge 437 k
Transaction Summary
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
========================================================================
Install 0 Package(s)
Update 1 Package(s)
Remove 0 Package(s)
Total download size: 437 k
Is this ok [y/N]: n
Exiting on user Command
Complete!
Is this a problem with the package or another bug in yum? A problem
with my system? Or is it none of those and for some reason this is the
proper behavior?
On Apr 2, 2009, at 12:27 PM, Steve Huff wrote:
On Apr 2, 2009, at 3:59 PM, Edward Trochim wrote:
I'm running yum 3.2.19 (I just upgraded from CentOS 5.2 to CentOS
5.3 last night). According to that erratum this should be fixed,
but...it isn't.
huh. it works for me:
[sh...@srdce ~]$ cat /etc/redhat-release
CentOS release 5.3 (Final)
[sh...@srdce ~]$ rpm -q yum
yum-3.2.19-18.el5.centos
[sh...@srdce ~]$ which yum
/usr/bin/yum
[sh...@srdce ~]$ yum -q list perl-DateTime-TimeZone\*
Available Packages
perl-DateTime-TimeZone.i386
0.46-1.el5.rf rpmforge
perl-DateTime-TimeZone.noarch
0.8301-1.el5.rf rpmforge
[sh...@srdce ~]$ yum -q resolvedep perl-DateTime-TimeZone
0:perl-DateTime-TimeZone-0.8301-1.el5.rf.noarch
[sh...@srdce ~]$ yum -q resolvedep 'perl(DateTime::TimeZone)'
0:perl-DateTime-TimeZone-0.8301-1.el5.rf.noarch
maybe run a `yum clean all` and try again?
-steve
--
If this were played upon a stage now, I could condemn it as an
improbable fiction. - Fabian, Twelfth Night, III,v
_______________________________________________
users mailing list
[email protected]
http://lists.rpmforge.net/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.rpmforge.net/mailman/listinfo/users