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

来源:互联网 发布:大数据的未来前景 编辑:程序博客网 时间:2024/04/27 06:56

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 libXplibXp-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, securityLoading mirror speeds from cached hostfile * base: mirrors.aliyun.com * extras: mirrors.aliyun.com * updates: mirrors.aliyun.combase                                                                                                                   | 3.7 kB     00:00     extras                                                                                                                 | 3.4 kB     00:00     updates                                                                                                                | 3.4 kB     00:00     Installed Packagesglibc.x86_64                                                           2.12-1.192.el6                                                    @baseglibc-common.x86_64                                                    2.12-1.192.el6                                                    @baseglibc-devel.x86_64                                                     2.12-1.192.el6                                                    @baseglibc-headers.x86_64                                                   2.12-1.192.el6                                                    @baseAvailable Packagesglibc.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.i686Loaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfile * base: mirrors.aliyun.com * extras: mirrors.aliyun.com * updates: mirrors.aliyun.comSetting up Install ProcessResolving 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 ResolutionDependencies Resolved============================================================================================================================================== Package                                  Arch                         Version                               Repository                  Size==============================================================================================================================================Installing: glibc                                    i686                         2.12-1.192.el6                        base                       4.4 MInstalling for dependencies: nss-softokn-freebl                       i686                         3.14.3-23.el6_7                       base                       157 kUpdating for dependencies: nss-softokn-freebl                       x86_64                       3.14.3-23.el6_7                       base                       167 kTransaction Summary==============================================================================================================================================Install       2 Package(s)Upgrade       1 Package(s)Total download size: 4.7 MIs this ok [y/N]: yDownloading 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_debugRunning Transaction TestTransaction Test SucceededRunning 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
原创粉丝点击