RHEL 5.9 Python2.7.8 installation missin libffi

Asked by dreampuf

{code}
$ sudo yum install python27-virtualenv.noarch
Loaded plugins: changelog, downloadonly, kmod, protectbase, security, versionlock
0 packages excluded due to repository protections
Reading version lock configuration
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package python27-virtualenv.noarch 0:1.11.6-2.ius.el5 set to be updated
--> Processing Dependency: python27-setuptools for package: python27-virtualenv
--> Processing Dependency: python27-devel for package: python27-virtualenv
--> Processing Dependency: /usr/bin/python2.7 for package: python27-virtualenv
--> Running transaction check
---> Package python27.x86_64 0:2.7.8-1.ius.el5 set to be updated
--> Processing Dependency: python27-libs = 2.7.8-1.ius.el5 for package: python27
--> Processing Dependency: expat2 for package: python27
--> Processing Dependency: libpython2.7.so.1.0()(64bit) for package: python27
---> Package python27-devel.x86_64 0:2.7.8-1.ius.el5 set to be updated
---> Package python27-setuptools.noarch 0:6.0.2-1.ius.el5 set to be updated
--> Processing Dependency: python27-backports-ssl_match_hostname for package: python27-setuptools
--> Running transaction check
---> Package expat2.x86_64 0:2.0.1-1.ius.el5 set to be updated
---> Package python27-backports-ssl_match_hostname.noarch 0:3.4.0.2-2.ius.el5 set to be updated
--> Processing Dependency: python27-backports for package: python27-backports-ssl_match_hostname
---> Package python27-libs.x86_64 0:2.7.8-1.ius.el5 set to be updated
--> Processing Dependency: libffi.so.5()(64bit) for package: python27-libs
--> Running transaction check
---> Package python27-backports.x86_64 0:1.0-2.ius.el5 set to be updated
---> Package python27-libs.x86_64 0:2.7.8-1.ius.el5 set to be updated
--> Processing Dependency: libffi.so.5()(64bit) for package: python27-libs
--> Finished Dependency Resolution
python27-libs-2.7.8-1.ius.el5.x86_64 from ius has depsolving problems
  --> Missing Dependency: libffi.so.5()(64bit) is needed by package python27-libs-2.7.8-1.ius.el5.x86_64 (ius)
Error: Missing Dependency: libffi.so.5()(64bit) is needed by package python27-libs-2.7.8-1.ius.el5.x86_64 (ius)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest

$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.9 (Tikanga)
{code}

Question information

Language:
English Edit question
Status:
Answered
For:
IUS Community Project Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
bharper (bharper) said :
#1

Hello dreampuf,

Thanks for taking the time to report this issue. IUS only support the base release, which is currently 5.11. On a new 5.11 server, I am unable to reproduce this issues:

***
# cat /etc/issue
CentOS release 5.11 (Final)

# yum install python27-virtualenv
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * ius: ord.mirror.rackspace.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package python27-virtualenv.noarch 0:1.11.6-2.ius.centos5 set to be updated
--> Processing Dependency: python27-setuptools for package: python27-virtualenv
--> Processing Dependency: python27-devel for package: python27-virtualenv
--> Processing Dependency: /usr/bin/python2.7 for package: python27-virtualenv
--> Running transaction check
---> Package python27.x86_64 0:2.7.8-1.ius.centos5 set to be updated
--> Processing Dependency: python27-libs = 2.7.8-1.ius.centos5 for package: python27
--> Processing Dependency: expat2 for package: python27
--> Processing Dependency: libpython2.7.so.1.0()(64bit) for package: python27
---> Package python27-devel.x86_64 0:2.7.8-1.ius.centos5 set to be updated
--> Processing Dependency: pkgconfig for package: python27-devel
---> Package python27-setuptools.noarch 0:6.0.2-1.ius.centos5 set to be updated
--> Processing Dependency: python27-backports-ssl_match_hostname for package: python27-setuptools
--> Running transaction check
---> Package expat2.x86_64 0:2.0.1-1.ius.centos5 set to be updated
---> Package pkgconfig.x86_64 1:0.21-2.el5 set to be updated
---> Package python27-backports-ssl_match_hostname.noarch 0:3.4.0.2-2.ius.centos5 set to be updated
--> Processing Dependency: python27-backports for package: python27-backports-ssl_match_hostname
---> Package python27-libs.x86_64 0:2.7.8-1.ius.centos5 set to be updated
--> Processing Dependency: libffi.so.5()(64bit) for package: python27-libs
--> Running transaction check
---> Package libffi.x86_64 0:3.0.5-1.el5 set to be updated
---> Package python27-backports.x86_64 0:1.0-2.ius.centos5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================================================
 Package Arch Version Repository Size
=======================================================================================================================
Installing:
 python27-virtualenv noarch 1.11.6-2.ius.centos5 ius 1.6 M
Installing for dependencies:
 expat2 x86_64 2.0.1-1.ius.centos5 ius 78 k
 libffi x86_64 3.0.5-1.el5 epel 24 k
 pkgconfig x86_64 1:0.21-2.el5 base 61 k
 python27 x86_64 2.7.8-1.ius.centos5 ius 80 k
 python27-backports x86_64 1.0-2.ius.centos5 ius 4.2 k
 python27-backports-ssl_match_hostname noarch 3.4.0.2-2.ius.centos5 ius 11 k
 python27-devel x86_64 2.7.8-1.ius.centos5 ius 504 k
 python27-libs x86_64 2.7.8-1.ius.centos5 ius 7.4 M
 python27-setuptools noarch 6.0.2-1.ius.centos5 ius 582 k

Transaction Summary
=======================================================================================================================
Install 10 Package(s)
Upgrade 0 Package(s)

Total download size: 10 M
Is this ok [y/N]: y
Downloading Packages:
(1/10): python27-backports-1.0-2.ius.centos5.x86_64.rpm | 4.2 kB 00:00
(2/10): python27-backports-ssl_match_hostname-3.4.0.2-2.ius.centos5.noarch.rpm | 11 kB 00:00
(3/10): libffi-3.0.5-1.el5.x86_64.rpm | 24 kB 00:00
(4/10): pkgconfig-0.21-2.el5.x86_64.rpm | 61 kB 00:00
(5/10): expat2-2.0.1-1.ius.centos5.x86_64.rpm | 78 kB 00:00
(6/10): python27-2.7.8-1.ius.centos5.x86_64.rpm | 80 kB 00:00
(7/10): python27-devel-2.7.8-1.ius.centos5.x86_64.rpm | 504 kB 00:00
(8/10): python27-setuptools-6.0.2-1.ius.centos5.noarch.rpm | 582 kB 00:00
(9/10): python27-virtualenv-1.11.6-2.ius.centos5.noarch.rpm | 1.6 MB 00:00
(10/10): python27-libs-2.7.8-1.ius.centos5.x86_64.rpm | 7.4 MB 00:00
-----------------------------------------------------------------------------------------------------------------------
Total 13 MB/s | 10 MB 00:00
warning: rpmts_HdrFromFdno: Header V4 DSA signature: NOKEY, key ID 9cd4953f
ius/gpgkey | 1.3 kB 00:00
Importing GPG key 0x9CD4953F "IUS Community Project <email address hidden>" from /etc/pki/rpm-gpg/IUS-COMMUNITY-GPG-KEY
Is this ok [y/N]: y
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 217521f6
epel/gpgkey | 1.7 kB 00:00
Importing GPG key 0x217521F6 "Fedora EPEL <email address hidden>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : expat2 1/10
  Installing : pkgconfig 2/10
  Installing : libffi 3/10
  Installing : python27-libs 4/10
  Installing : python27 5/10
  Installing : python27-devel 6/10
  Installing : python27-backports 7/10
  Installing : python27-backports-ssl_match_hostname 8/10
  Installing : python27-setuptools 9/10
  Installing : python27-virtualenv 10/10

Installed:
  python27-virtualenv.noarch 0:1.11.6-2.ius.centos5

Dependency Installed:
  expat2.x86_64 0:2.0.1-1.ius.centos5
  libffi.x86_64 0:3.0.5-1.el5
  pkgconfig.x86_64 1:0.21-2.el5
  python27.x86_64 0:2.7.8-1.ius.centos5
  python27-backports.x86_64 0:1.0-2.ius.centos5
  python27-backports-ssl_match_hostname.noarch 0:3.4.0.2-2.ius.centos5
  python27-devel.x86_64 0:2.7.8-1.ius.centos5
  python27-libs.x86_64 0:2.7.8-1.ius.centos5
  python27-setuptools.noarch 0:6.0.2-1.ius.centos5

Complete!
***

Unless you have extended support from Red Hat, 5.9 is EOL.

You will either need to upgrade the OS or install an older version of python27 from the archive repos.

-Ben

Can you help with this problem?

Provide an answer of your own, or ask dreampuf for more information if necessary.

To post a message you must log in.