RHELにlibffi-develをインストールしようとしていますが、試してみると次のメッセージが表示されます。
Transaction Check Error:
package libffi-3.0.5-1.el5.6.z.x86_64 (which is newer than libffi-3.0.5-1.el5.i386) is already installed
私はこのコマンドを実行しています:
Sudo yum install -y libffi-devel
そして、ここにコマンドの完全な出力があります:
Loaded plugins: downloadonly, rhnplugin, security
This system is receiving updates from RHN Classic or RHN Satellite.
Excluding Packages in global exclude list
Finished
Excluding Packages from Rackspace - RHEL (v. 5 for 64-bit x86_64) - Common
Finished
Excluding Packages from Rackspace - RHEL (v. 5 for 64-bit x86_64) - MySQL 5.1
Finished
Excluding Packages from Rackspace - RHEL (v. 5 for 64-bit x86_64) - PHP 5.2
Finished
Excluding Packages from Red Hat Enterprise Linux (v. 5 for 64-bit x86_64)
Finished
Excluding Packages from Red Hat Network Tools for RHEL Server (v.5 64-bit x86_64)
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package libffi-devel.x86_64 0:3.0.5-1.el5 set to be updated
--> Processing Dependency: libffi = 3.0.5-1.el5 for package: libffi-devel
--> Running transaction check
---> Package libffi.i386 0:3.0.5-1.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================================================================================================================================================================================================================
Package Arch Version Repository Size
================================================================================================================================================================================================================================================================================
Installing:
libffi-devel x86_64 3.0.5-1.el5 epel 16 k
Installing for dependencies:
libffi i386 3.0.5-1.el5 epel 21 k
Transaction Summary
================================================================================================================================================================================================================================================================================
Install 2 Package(s)
Upgrade 0 Package(s)
Total size: 37 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Check Error:
package libffi-3.0.5-1.el5.6.z.x86_64 (which is newer than libffi-3.0.5-1.el5.i386) is already installed
Error Summary
-------------
システムにlibffi-3.0.5-1.el5.6.z.x86_64
のバージョンがすでにインストールされているようです。コマンドで確認し、最初にrpmを削除します。
rpm -qa | grep libffi
rpm -e <rpm from the above>
次に、以下を使用してインストールを試みます。
Sudo yum install -y libffi libffi-devel
以下のようにlibffiをインストールできます-
rpm -ivv ftp://195.220.108.108/linux/centos/6.7/os/x86_64/Packages/libffi-devel-3.0.5-3.2.el6.x86_64.rpm