python upgrade dependancy issue

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
Galactic Zero
Forum Regular
Forum Regular
Posts: 471
Joined: Mon Dec 06, 2004 10:43 pm

python upgrade dependancy issue

Unread post 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
Franklyn Halamka
Still learning my way around Linux Security.
http://www.galacticzero.net
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: python upgrade dependancy issue

Unread post 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?
Lemonbit Internet Dedicated Server Management
Galactic Zero
Forum Regular
Forum Regular
Posts: 471
Joined: Mon Dec 06, 2004 10:43 pm

Re: python upgrade dependancy issue

Unread post by Galactic Zero »

Thanks Breun,
That clean all did the trick.
Franklyn Halamka
Still learning my way around Linux Security.
http://www.galacticzero.net
BerArt
Forum Regular
Forum Regular
Posts: 478
Joined: Tue Jan 15, 2008 3:57 am
Location: Netherlands

Re: python upgrade dependancy issue

Unread post by BerArt »

You can turn on YUM clean as standard now right?
best regards,

http://hosting.ber-art.nl
Professional Secure Linux Plesk Hosting
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: python upgrade dependancy issue

Unread post 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.
Lemonbit Internet Dedicated Server Management
BerArt
Forum Regular
Forum Regular
Posts: 478
Joined: Tue Jan 15, 2008 3:57 am
Location: Netherlands

Re: python upgrade dependancy issue

Unread post 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?
best regards,

http://hosting.ber-art.nl
Professional Secure Linux Plesk Hosting
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: python upgrade dependancy issue

Unread post 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).
Lemonbit Internet Dedicated Server Management
BerArt
Forum Regular
Forum Regular
Posts: 478
Joined: Tue Jan 15, 2008 3:57 am
Location: Netherlands

Re: python upgrade dependancy issue

Unread post by BerArt »

Ah, clear, Thx!
best regards,

http://hosting.ber-art.nl
Professional Secure Linux Plesk Hosting
Post Reply