记一次安装oracle的坑

在解决oracle11g的依赖时候,发现有几个依赖是没装的,尝试用

yum –y install compat-libstdc++-33 elfutils-libelf-devel elfutils-libelf-devel-static libaio-devel libstdc++-static numactl-devel

发现用yum –y install xxx 死活装不上去,而且没有任何反应

[root@hostname ~]# yum –y install elfutils-libelf-devel
[root@hostname ~]# yum –y install compat-libstdc++-33 elfutils-libelf-devel elfutils-libelf-devel-static libaio-devel libstdc++-static numactl-devel
[root@hostname ~]# yum –y install elfutils-libelf-devel-static
[root@hostname ~]# yum –y install libaio-devel
[root@hostname ~]# yum –y install libstdc++-static

如上,真的没有任何提示跟反应哦 ,但rpm -q xxx 查询的时候 确实是没装的

想着是不是yum源的问题,关闭yum插件、重装都不行

最后用一个yum  install compat-libstdc++-33 elfutils-libelf-devel elfutils-libelf-devel-static libaio-devel libstdc++-static numactl-devel

直接装上去了

晕死。。。  有谁能帮忙解释下这个现象吗  linux小白

[root@hostname ~]# yum –y install compat-libstdc++-33 elfutils-libelf-devel elfutils-libelf-devel-static libaio-devel libstdc++-static numactl-devel
Loaded plugins: fastestmirror, langpacks
[root@hostname ~]# yum install compat-libstdc++-33 elfutils-libelf-devel elfutils-libelf-devel-static libaio-devel libstdc++-static numactl-devel
Loaded plugins: fastestmirror, langpacks
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository epel is listed more than once in the configuration
Repository epel-debuginfo is listed more than once in the configuration
Repository epel-source is listed more than once in the configuration
Loading mirror speeds from cached hostfile
base | 3.6 kB 00:00:00
epel | 4.7 kB 00:00:00
extras | 3.4 kB 00:00:00
updates | 3.4 kB 00:00:00
Package compat-libstdc++-33-3.2.3-72.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package elfutils-libelf-devel.x86_64 0:0.172-2.el7 will be installed
---> Package elfutils-libelf-devel-static.x86_64 0:0.172-2.el7 will be installed
---> Package libaio-devel.x86_64 0:0.3.109-13.el7 will be installed
---> Package libstdc++-static.x86_64 0:4.8.5-36.el7_6.1 will be installed
---> Package numactl-devel.x86_64 0:2.0.9-7.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================
Installing:
elfutils-libelf-devel x86_64 0.172-2.el7 base 39 k
elfutils-libelf-devel-static x86_64 0.172-2.el7 base 75 k
libaio-devel x86_64 0.3.109-13.el7 base 13 k
libstdc++-static x86_64 4.8.5-36.el7_6.1 updates 411 k
numactl-devel x86_64 2.0.9-7.el7 base 23 k

Transaction Summary
=====================================================================================================================
Install 5 Packages

Total download size: 560 k
Installed size: 3.5 M
Is this ok [y/d/N]: y
Downloading packages:
(1/5): elfutils-libelf-devel-0.172-2.el7.x86_64.rpm | 39 kB 00:00:03
(2/5): libaio-devel-0.3.109-13.el7.x86_64.rpm | 13 kB 00:00:03
(3/5): elfutils-libelf-devel-static-0.172-2.el7.x86_64.rpm | 75 kB 00:00:06
(4/5): numactl-devel-2.0.9-7.el7.x86_64.rpm | 23 kB 00:00:03
(5/5): libstdc++-static-4.8.5-36.el7_6.1.x86_64.rpm | 411 kB 00:00:07
---------------------------------------------------------------------------------------------------------------------
Total 52 kB/s | 560 kB 00:00:10
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : elfutils-libelf-devel-0.172-2.el7.x86_64 1/5
Installing : elfutils-libelf-devel-static-0.172-2.el7.x86_64 2/5
Installing : numactl-devel-2.0.9-7.el7.x86_64 3/5
Installing : libaio-devel-0.3.109-13.el7.x86_64 4/5
Installing : libstdc++-static-4.8.5-36.el7_6.1.x86_64 5/5
Verifying : elfutils-libelf-devel-0.172-2.el7.x86_64 1/5
Verifying : libstdc++-static-4.8.5-36.el7_6.1.x86_64 2/5
Verifying : elfutils-libelf-devel-static-0.172-2.el7.x86_64 3/5
Verifying : libaio-devel-0.3.109-13.el7.x86_64 4/5
Verifying : numactl-devel-2.0.9-7.el7.x86_64 5/5

Installed:
elfutils-libelf-devel.x86_64 0:0.172-2.el7 elfutils-libelf-devel-static.x86_64 0:0.172-2.el7
libaio-devel.x86_64 0:0.3.109-13.el7 libstdc++-static.x86_64 0:4.8.5-36.el7_6.1
numactl-devel.x86_64 0:2.0.9-7.el7

Complete!

猜你喜欢

转载自www.cnblogs.com/lishuaing/p/10639647.html