LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 09-07-2015, 06:51 PM   #1
Arty Ziff
Member
 
Registered: May 2008
Location: Tacoma, WA
Distribution: CentOS and RHEL
Posts: 124

Rep: Reputation: 15
Problem updating Python


Having problem updating python-devel...

Quote:
[something@localhost ~]# yum update
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Update Process
Loading mirror speeds from cached hostfile
* base: centos.sonn.com
* epel: mirrors.cat.pdx.edu
* extras: centos.sonn.com
* nux-dextop: mirror.li.nux.ro
* updates: centos.sonn.com
Resolving Dependencies
--> Running transaction check
---> Package python-devel.i686 0:2.6.6-52.el6 will be updated
---> Package python-devel.i686 0:2.6.6-64.el6 will be an update
--> Processing Conflict: python-devel-2.6.6-64.el6.i686 conflicts python < 2.6.6-64.el6
--> Finished Dependency Resolution
Error: python-devel conflicts with python-2.6.6-52.el6.i686
You could try using --skip-broken to work around the problem
Any ideas?
 
Old 09-08-2015, 01:22 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,516

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
# yum update
An easy fix : # yum remove python-devel

The removed packages can be installed after the update :
Please take notes / save the removal result >>>
>>> some other packages may depend on python-devel.
 
Old 09-08-2015, 01:25 PM   #3
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
Looks like two different builds of python 2.6.6-52 and 2.6.6-64
Quote:
---> Package python-devel.i686 0:2.6.6-52.el6 will be updated
---> Package python-devel.i686 0:2.6.6-64.el6 will be an update
You could try
Code:
yum clean metadata
yum check-update
to see if you can tap a consistent repository or just wait to do the update until your selected repository is brought fully up to date.
 
Old 09-08-2015, 01:48 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
also be VERY !!! careful !!! with python!!!!!!!!
the version in the CENT!!!! update is the one that MUST BE USED !!!

the third party "nux" repo might be incompatible !!!


yum DEPENDS!!! ON !!! - MUST USE the version in the updates repo

if that version is NOT used you can break yum and your ability to install software
 
Old 09-08-2015, 04:05 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,516

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #3, @RockDoctor.
Quote:
---> Package python-devel.i686 0:2.6.6-52.el6 will be updated
---> Package python-devel.i686 0:2.6.6-64.el6 will be an update
It's OK. The build version "52" is CentOS 6.6 which the OP is updating :
To the next build version = "64" >>> CentOS 6.7 .


All the build versions, starting with CentOS 6.0 :
Code:
python-2.6.5-3.el6.src.rpm	10907 KB 	08/17/2010 	12:00:00 AM
python-2.6.5-3.el6_0.2.src.rpm	10910 KB 	02/17/2011 	12:00:00 AM
python-2.6.6-20.el6.src.rpm	10921 KB 	04/21/2011 	12:00:00 AM
python-2.6.6-29.el6.src.rpm	10937 KB 	10/24/2011 	12:00:00 AM
python-2.6.6-29.el6_2.2.src.rpm	10953 KB 	05/30/2012 	12:00:00 AM
python-2.6.6-29.el6_3.3.src.rpm	10954 KB 	09/05/2012 	12:00:00 AM
python-2.6.6-36.el6.src.rpm	10952 KB 	01/14/2013 	12:00:00 AM
python-2.6.6-37.el6_4.src.rpm	10953 KB 	07/09/2013 	12:00:00 AM
python-2.6.6-51.el6.src.rpm	10980 KB 	10/03/2013 	12:00:00 AM
python-2.6.6-52.el6.src.rpm	10980 KB 	01/20/2014 	12:00:00 AM
python-2.6.6-64.el6.src.rpm	11007 KB 	06/23/2015 	02:29:00 PM
Ref. ftp://ftp.redhat.com/redhat/linux/en...r/en/os/SRPMS/


-
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum broken when updating python -Scientific Linux Lidilis Linux - Software 3 03-26-2015 04:52 AM
[SOLVED] Updating python broke Yum & RPM steve_s Linux - Software 4 07-31-2014 04:17 PM
Updating python on Fedora 7 topnotchtom Linux - Newbie 14 11-12-2009 02:55 PM
Updating version for the python thangappan Linux - Newbie 4 09-08-2009 12:46 AM
python problem - compiled from source - python -V still showing old version txm123 Linux - Newbie 1 02-15-2006 11:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 01:38 PM.

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
Open Source Consulting | Domain Registration