LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 09-10-2008, 11:01 AM   #1
Zeno McDohl
Member
 
Registered: Apr 2005
Location: Saratoga, NY
Distribution: Slackware
Posts: 316

Rep: Reputation: 30
Yum won't update Python


I'm trying to get 2.5.x for Python.

Quote:
Installed Packages
python.i386 2.4.3-21.el5 installed
Quote:
[root@vps ~]# yum update python
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* base: mirrors.combinetworks.com
* updates: centos-distro.cavecreek.net
* addons: centos-distro.cavecreek.net
* extras: mirror.voxitas.com
Setting up Update Process
Could not find update match for python
No Packages marked for Update
 
Old 09-10-2008, 11:27 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Most likely the mirrors you are using don't have any python updated packages.

What output do you get with:

yum list python*

Have you also tried a:

yum upgrade python
 
Old 09-10-2008, 11:28 AM   #3
Zeno McDohl
Member
 
Registered: Apr 2005
Location: Saratoga, NY
Distribution: Slackware
Posts: 316

Original Poster
Rep: Reputation: 30
This is the output:

Quote:
[root@vps ~]# yum list python*
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* base: mirrors.combinetworks.com
* updates: centos-distro.cavecreek.net
* addons: centos-distro.cavecreek.net
* extras: mirror.voxitas.com
Installed Packages
python.i386 2.4.3-21.el5 installed
python-elementtree.i386 1.2.6-5 installed
python-iniparse.noarch 0.2.3-4.el5 installed
python-sqlite.i386 1.1.7-1.2.1 installed
python-urlgrabber.noarch 3.1.0-2 installed
Available Packages
python-devel.i386 2.4.3-21.el5 base
python-docs.noarch 2.4.3-1.1 base
python-exo.i386 0.3.4-1.el5.centos extras
python-imaging.i386 1.1.5-5.el5 base
python-imaging-devel.i386 1.1.5-5.el5 base
python-lcms.i386 1.15-1.2.2 base
python-ldap.i386 2.2.0-2.1 base
python-numeric.i386 23.7-2.2.2 base
python-pyblock.i386 0.26-1.el5 base
python-setuptools.noarch 0.6c5-2.el5 base
python-tools.i386 2.4.3-21.el5 base
python-virtinst.noarch 0.300.2-8.el5 base
[root@vps ~]# yum upgrade python
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* base: mirrors.combinetworks.com
* updates: centos-distro.cavecreek.net
* addons: centos-distro.cavecreek.net
* extras: mirror.voxitas.com
Setting up Upgrade Process
Could not find update match for python
No Packages marked for Update
 
Old 09-11-2008, 11:17 AM   #4
Zeno McDohl
Member
 
Registered: Apr 2005
Location: Saratoga, NY
Distribution: Slackware
Posts: 316

Original Poster
Rep: Reputation: 30
Any thoughts?
 
Old 09-11-2008, 12:20 PM   #5
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Quote:
Originally Posted by Zeno McDohl View Post
Any thoughts?
Find another mirror that has the updated version of Python you want or need.
 
Old 09-11-2008, 02:26 PM   #6
Zeno McDohl
Member
 
Registered: Apr 2005
Location: Saratoga, NY
Distribution: Slackware
Posts: 316

Original Poster
Rep: Reputation: 30
How do I change mirrors? The man mentions nothing about mirrors.

Tried Google but didn't come up with much help.
http://fedoraforum.org/forum/archive.../t-167699.html
Doesn't make much sense to me (ctrl+C in the shell?)
 
Old 09-11-2008, 03:43 PM   #7
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
I doubt that EL5 has python 2.5. I installed centOS 5.2 last month and it didn't have 2.5 either. If you really need it, you'll have to install it manually.
 
Old 09-11-2008, 04:04 PM   #8
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Quote:
Originally Posted by jay73 View Post
I doubt that EL5 has python 2.5. I installed centOS 5.2 last month and it didn't have 2.5 either. If you really need it, you'll have to install it manually.
Hmm. Yeah, I checked some random repositories and none had 2.5.x available. Strange, even Fedora Core 8 that I'm on now has 2.5.x available.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
yum - cElementTree - Python WhatsOnYourBrain Fedora 17 03-24-2011 10:32 AM
yum question: How to update from backed up yum cache? Arodef Linux - Software 2 02-03-2010 12:42 AM
python: can you update the current shell from python? BrianK Programming 4 01-31-2008 01:18 AM
Yum on FC6. 'yum update' error. mufy Fedora 8 06-14-2007 03:03 AM
Query re: order of yum update and yum install jajtiii Linux - General 0 12-12-2005 01:48 PM


All times are GMT -5. The time now is 08:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration