Page 1 of 1

python upgrade dependancy issue

Posted: Sun Aug 16, 2009 9:25 pm
by Galactic Zero
I'm getting this when I try and update python, would a no-deps fix this or do I have other issues?

Resolving Dependencies
--> Running transaction check
---> Package python.i386 0:2.4.3-24.el5_3.6 set to be updated
--> Processing Dependency: /usr/lib/python2.4 for package: gamin-python
--> Processing Dependency: /usr/lib/python2.4 for package: libxml2-python
--> Finished Dependency Resolution
libxml2-python-2.6.26-2.1.2.8.i386 from installed has depsolving problems
--> Missing Dependency: /usr/lib/python2.4 is needed by package libxml2-python-2.6.26-2.1.2.8.i386 (inst
gamin-python-0.1.7-8.el5.i386 from installed has depsolving problems
--> Missing Dependency: /usr/lib/python2.4 is needed by package gamin-python-0.1.7-8.el5.i386 (installed
Error: Missing Dependency: /usr/lib/python2.4 is needed by package libxml2-python-2.6.26-2.1.2.8.i386 (ins
Error: Missing Dependency: /usr/lib/python2.4 is needed by package gamin-python-0.1.7-8.el5.i386 (installe
[root@gz ~]# rpm -qa |grep python2.4
DenyHosts-2.6-python2.4
[root@gz ~]#]
[root@gz ~]# locate python2.4 |more
/root/DenyHosts-2.6-python2.4.noarch.rpm
/usr/bin/python2.4

Re: python upgrade dependancy issue

Posted: Mon Aug 17, 2009 9:22 am
by breun
I don't know where you got that DenyHosts-2.6-python2.4.noarch.rpm (ART has a denyhosts package, but it's just called denyhosts), but it doesn't look like DenyHosts has anything to do with the upgrade problem.

Have you tried running 'yum clean all' and trying the update again?

Re: python upgrade dependancy issue

Posted: Mon Aug 17, 2009 11:50 am
by Galactic Zero
Thanks Breun,
That clean all did the trick.

Re: python upgrade dependancy issue

Posted: Mon Aug 17, 2009 11:53 am
by BerArt
You can turn on YUM clean as standard now right?

Re: python upgrade dependancy issue

Posted: Mon Aug 17, 2009 11:56 am
by breun
I don't know what you mean by 'turning on yum clean as standard'. The command 'yum clean all' is just a way to remove cached packages, headers, metadata and dbcache.

Re: python upgrade dependancy issue

Posted: Mon Aug 17, 2009 12:01 pm
by BerArt
I mean if I do a YUM update it alway's cleans automatically before searching for the updates en update, I thought this was a setting?

Re: python upgrade dependancy issue

Posted: Mon Aug 17, 2009 12:09 pm
by breun
No, yum does not automatically clean all caches before each run. Otherwise it would be pretty useless to cache things at all. It does check for updated packages of course, but only if the previous update was more than 1 hour ago (at least on EL5, you can configure this in /etc/yum.conf: metadata_expire=1h).

Re: python upgrade dependancy issue

Posted: Tue Aug 18, 2009 10:20 am
by BerArt
Ah, clear, Thx!