CentOS 6.5 64位安装cvuqdisk-1.0.7-1.rpm 报错
2016-07-02 21:27
826 查看
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]#
安装成功!!
[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]#
安装成功!!
相关文章推荐
- 基于 Red Hat 的发行版 Oracle Linux 正式发布Oracle Linux 7.1
- Oracle Containers for J2EE远程安全漏洞(CVE-2014-0413)
- Oracle 10g R2不能使用EM的问题
- 表空间操作
- PreparedStatement中in子句的处理
- VMware下RedHat4.8_64位安装Oracle 10g RAC--简略脚本
- oracle sql日期比较
- 基于 Red Hat 的发行版 Oracle Linux 正式发布Oracle Linux 7.1
- OS block size和Oracle block size,查找OS Blocksize的方法
- oracle中创建数据库和表空间的几点总结
- 数据库自动备份脚本
- oracle的nvl函数的使用介绍
- 解决oracle用户连接失败的解决方法
- oracle的一些tips技巧
- Oracle 下的开发日积月累
- Oracle存储过程之数据库中获取数据实例
- Windows下ORACLE 10g完全卸载的方法分析
- Oracle 函数大全[字符串函数,数学函数,日期函数]第1/4页
- ORACLE LATERAL-SQL-INJECTION 个人见解