I am trying to install python-devel with yum using:
sudo yum install python-devel
and getting the following:
Resolving Dependencies
--> Running transaction check
---> Package python-devel.x86_64 0:2.7.5-76.el7 will be installed
--> Processing Dependency: python(x86-64) = 2.7.5-76.el7 for package: python-devel-2.7.5-76.el7.x86_64
--> Finished Dependency Resolution
Error: Package: python-devel-2.7.5-76.el7.x86_64 (base)
Requires: python(x86-64) = 2.7.5-76.el7
Installed: python-2.7.5-80.el7_6.x86_64 (@updates)
python(x86-64) = 2.7.5-80.el7_6
Available: python-2.7.5-68.el7.x86_64 (base)
python(x86-64) = 2.7.5-68.el7
Available: python-2.7.5-69.el7_5.x86_64 (updates)
python(x86-64) = 2.7.5-69.el7_5
Available: python-2.7.5-76.el7.x86_64 (base)
python(x86-64) = 2.7.5-76.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
My understand is it requires this specific version of python: python-2.7.5-76.el7.x86_64 and thus I tried:
sudo yum install python-2.7.5-76.el7.x86_64
However it output:
Package matching python-2.7.5-76.el7.x86_64 already installed. Checking for update.
Nothing to do
What should I do?
If I ran: sudo yum info python, it gave me:
Installed Packages
Name : python
Arch : x86_64
Version : 2.7.5
Release : 80.el7_6
Size : 79 k
Repo : installed
From repo : updates
Summary : An interpreted, interactive, object-oriented programming language
URL : http://www.python.org/
License : Python
Description : Python is an interpreted, interactive, object-oriented programming
: language often compared to Tcl, Perl, Scheme or Java. Python includes
: modules, classes, exceptions, very high level dynamic data types and
: dynamic typing. Python supports interfaces to many system calls and
: libraries, as well as to various windowing systems (X11, Motif, Tk,
: Mac and MFC).
:
: Programmers can write new built-in modules for Python in C or C++.
: Python can be used as an extension language for applications that need
: a programmable interface.
:
: Note that documentation for Python is provided in the python-docs
: package.
:
: This package provides the "python" executable; most of the actual
: implementation is within the "python-libs" package.
sudo yum downgrade <package_name>-<version_info>might help. More info here : shellhacks.com/yum-install-specific-version-of-packagepython-libs(x86-64) = 2.7.5-76.el7