CentOS 6.5 64位安装cvuqdisk-1.0.7-1.rpm 报错

oracle 11g 安装中,在安装gird/rpm下的cvuqdisk-1.0.7-1.rpm报错:

[root@rac2 rpm]# rpm -ivh cvuqdisk-1.0.7-1.rpm 
error: Failed dependencies:
        libc.so.6 is needed by cvuqdisk-1.0.7-1.i386
        libc.so.6(GLIBC_2.0) is needed by cvuqdisk-1.0.7-1.i386


原因原文地址:

http://stackoverflow.com/questions/21143855/how-to-find-packages-corresponding-to-particular-library-versions


In Red Hat Enterprise Linux 5, if a package was available for both the main and the compatibility architectures, both architectures of the package were installed by default.
In Red Hat Enterprise Linux 6, only the package for the primary architecture is installed by default.
To avoid problems during the backup-archive client and API installation on a 64-bit machine, be sure to install libstdc++ and compat-libstdc++.


大意是说,从Red Hat Enterprise Linux 6开始,默认只安装主架构所需要的包,而不安装兼容架构的包,也就是说,64位系统默认只安装64位的软件包。为避免这种问题,在64位系统中,要同时安装64位的包和32位的兼容包。


解决:

单独安装32位的包

[root@rac1 rpm]# rpm -aq|grep libXp
libXp-1.0.2-2.1.el6.x86_64
[root@rac1 rpm]# 
[root@rac1 rpm]# 
[root@rac1 rpm]# 
[root@rac1 rpm]# 
[root@rac1 rpm]# yum list glibc*
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
base                                                                                                                   | 3.7 kB     00:00     
extras                                                                                                                 | 3.4 kB     00:00     
updates                                                                                                                | 3.4 kB     00:00     
Installed Packages
glibc.x86_64                                                           2.12-1.192.el6                                                    @base
glibc-common.x86_64                                                    2.12-1.192.el6                                                    @base
glibc-devel.x86_64                                                     2.12-1.192.el6                                                    @base
glibc-headers.x86_64                                                   2.12-1.192.el6                                                    @base
Available Packages
glibc.i686                                                             2.12-1.192.el6                                                    base 
glibc-devel.i686                                                       2.12-1.192.el6                                                    base 
glibc-static.i686                                                      2.12-1.192.el6                                                    base 
glibc-static.x86_64                                                    2.12-1.192.el6                                                    base 
glibc-utils.x86_64                                                     2.12-1.192.el6                                                    base 
[root@rac1 rpm]# yum install glibc.i686
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package glibc.i686 0:2.12-1.192.el6 will be installed
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.192.el6.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.192.el6.i686
--> Running transaction check
---> Package nss-softokn-freebl.x86_64 0:3.14.3-9.el6 will be updated
---> Package nss-softokn-freebl.i686 0:3.14.3-23.el6_7 will be installed
---> Package nss-softokn-freebl.x86_64 0:3.14.3-23.el6_7 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================
 Package                                  Arch                         Version                               Repository                  Size
==============================================================================================================================================
Installing:
 glibc                                    i686                         2.12-1.192.el6                        base                       4.4 M
Installing for dependencies:
 nss-softokn-freebl                       i686                         3.14.3-23.el6_7                       base                       157 k
Updating for dependencies:
 nss-softokn-freebl                       x86_64                       3.14.3-23.el6_7                       base                       167 k

Transaction Summary
==============================================================================================================================================
Install       2 Package(s)
Upgrade       1 Package(s)

Total download size: 4.7 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): glibc-2.12-1.192.el6.i686.rpm                                                                                   | 4.4 MB     00:05     
(2/3): nss-softokn-freebl-3.14.3-23.el6_7.i686.rpm                                                                     | 157 kB     00:00     
(3/3): nss-softokn-freebl-3.14.3-23.el6_7.x86_64.rpm                                                                   | 167 kB     00:00     
----------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                         822 kB/s | 4.7 MB     00:05     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : glibc-2.12-1.192.el6.i686                                                                                                                                                           1/4 
  Installing : nss-softokn-freebl-3.14.3-23.el6_7.i686                                                                                                                                             2/4 
  Updating   : nss-softokn-freebl-3.14.3-23.el6_7.x86_64                                                                                                                                           3/4 
  Cleanup    : nss-softokn-freebl-3.14.3-9.el6.x86_64                                                                                                                                              4/4 
  Verifying  : nss-softokn-freebl-3.14.3-23.el6_7.i686                                                                                                                                             1/4 
  Verifying  : glibc-2.12-1.192.el6.i686                                                                                                                                                           2/4 
  Verifying  : nss-softokn-freebl-3.14.3-23.el6_7.x86_64                                                                                                                                           3/4 
  Verifying  : nss-softokn-freebl-3.14.3-9.el6.x86_64                                                                                                                                              4/4 

Installed:
  glibc.i686 0:2.12-1.192.el6                                                                                                                                                                          

Dependency Installed:
  nss-softokn-freebl.i686 0:3.14.3-23.el6_7                                                                                                                                                            

Dependency Updated:
  nss-softokn-freebl.x86_64 0:3.14.3-23.el6_7                                                                                                                                                          

Complete!
[root@rac1 rpm]# rpm -ivh cvuqdisk-1.0.7-1.rpm 
Preparing...                ########################################### [100%]
Using default group oinstall to install package
   1:cvuqdisk               ########################################### [100%]
[root@rac1 rpm]# 



安装成功!!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值