oracle安裝包遇到Error: Package: gcc-4.8.5-11.el7.x86_64 (base)問題
yum -y install gcc compat-gcc-34 elfutils-libelf-devel compat-libstdc++-33 elfutils-libelf gcc-c++ glibc-headers libaio libaio-devel libgcc libstdc++libstdc++-devel make ksh sysstat unixODBC compat-libcap1 libXp
大部分安裝成功,4個包安裝失敗,如下
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
No package compat-gcc-34 available.
Package compat-libstdc++-33-3.2.3-72.el7.x86_64 already installed and latest version
Package matching elfutils-libelf-0.166-2.el7.x86_64 already installed. Checking for update.
No package gcc-c++glibc-headers available.
Package libaio-0.3.109-13.el7.x86_64 already installed and latest version
Package libaio-devel-0.3.109-13.el7.x86_64 already installed and latest version
Package matching libgcc-4.8.5-11.el7.x86_64 already installed. Checking for update.
No package libstdc++libstdc++-devel available.
Package matching 1:make-3.82-23.el7.x86_64 already installed. Checking for update.
Package ksh-20120801-26.el7.x86_64 already installed and latest version
Package matching sysstat-10.1.5-11.el7.x86_64 already installed. Checking for update.
Package compat-libcap1-1.10-7.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package elfutils-libelf-devel.x86_64 0:0.166-2.el7 will be installed
--> Processing Dependency: elfutils-libelf(x86-64) = 0.166-2.el7 for package: elfutils-libelf-devel-0.166-2.el7.x86_64
---> Package gcc.x86_64 0:4.8.5-11.el7 will be installed
--> Processing Dependency: libgomp = 4.8.5-11.el7 for package: gcc-4.8.5-11.el7.x86_64
--> Processing Dependency: cpp = 4.8.5-11.el7 for package: gcc-4.8.5-11.el7.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-11.el7.x86_64
---> Package libXp.x86_64 0:1.0.2-2.1.el7 will be installed
--> Processing Dependency: libXext.so.6()(64bit) for package: libXp-1.0.2-2.1.el7.x86_64
--> Processing Dependency: libX11.so.6()(64bit) for package: libXp-1.0.2-2.1.el7.x86_64
---> Package unixODBC.x86_64 0:2.3.1-11.el7 will be installed
--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.3.1-11.el7.x86_64
--> Running transaction check
---> Package elfutils-libelf-devel.x86_64 0:0.166-2.el7 will be installed
--> Processing Dependency: elfutils-libelf(x86-64) = 0.166-2.el7 for package: elfutils-libelf-devel-0.166-2.el7.x86_64
---> Package gcc.x86_64 0:4.8.5-11.el7 will be installed
--> Processing Dependency: cpp = 4.8.5-11.el7 for package: gcc-4.8.5-11.el7.x86_64
---> Package glibc-devel.x86_64 0:2.17-157.el7_3.5 will be installed
--> Processing Dependency: glibc-headers = 2.17-157.el7_3.5 for package: glibc-devel-2.17-157.el7_3.5.x86_64
--> Processing Dependency: glibc = 2.17-157.el7_3.5 for package: glibc-devel-2.17-157.el7_3.5.x86_64
---> Package libX11.x86_64 0:1.6.3-3.el7 will be installed
---> Package libXext.x86_64 0:1.3.3-3.el7 will be installed
---> Package libgomp.i686 0:4.8.5-11.el7 will be installed
---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed
--> Finished Dependency Resolution
Error: Package: elfutils-libelf-devel-0.166-2.el7.x86_64 (base)
Requires: elfutils-libelf(x86-64) = 0.166-2.el7
Installed: elfutils-libelf-0.176-2.el7.x86_64 (@base)
elfutils-libelf(x86-64) = 0.176-2.el7
Available: elfutils-libelf-0.166-2.el7.x86_64 (base)
elfutils-libelf(x86-64) = 0.166-2.el7
Error: Package: glibc-devel-2.17-157.el7_3.5.x86_64 (update)
Requires: glibc = 2.17-157.el7_3.5
Installed: glibc-2.17-292.el7.i686 (@base)
glibc = 2.17-292.el7
Available: glibc-2.17-157.el7.i686 (base)
glibc = 2.17-157.el7
Available: glibc-2.17-157.el7_3.1.i686 (update)
glibc = 2.17-157.el7_3.1
Available: glibc-2.17-157.el7_3.2.i686 (update)
glibc = 2.17-157.el7_3.2
Available: glibc-2.17-157.el7_3.4.i686 (update)
glibc = 2.17-157.el7_3.4
Available: glibc-2.17-157.el7_3.5.i686 (update)
glibc = 2.17-157.el7_3.5
Error: Package: glibc-devel-2.17-157.el7_3.5.x86_64 (update)
Requires: glibc-headers = 2.17-157.el7_3.5
Installed: glibc-headers-2.17-292.el7.x86_64 (@base)
glibc-headers = 2.17-292.el7
Available: glibc-headers-2.17-157.el7.x86_64 (base)
glibc-headers = 2.17-157.el7
Available: glibc-headers-2.17-157.el7_3.1.x86_64 (update)
glibc-headers = 2.17-157.el7_3.1
Available: glibc-headers-2.17-157.el7_3.2.x86_64 (update)
glibc-headers = 2.17-157.el7_3.2
Available: glibc-headers-2.17-157.el7_3.4.x86_64 (update)
glibc-headers = 2.17-157.el7_3.4
Available: glibc-headers-2.17-157.el7_3.5.x86_64 (update)
glibc-headers = 2.17-157.el7_3.5
Error: Package: gcc-4.8.5-11.el7.x86_64 (base)
Requires: cpp = 4.8.5-11.el7
Installed: cpp-4.8.5-39.el7.x86_64 (@base)
cpp = 4.8.2-16.el7
cpp = 4.8.5-39.el7
Available: cpp-4.8.5-11.el7.x86_64 (base)
cpp = 4.8.5-11.el7
cpp = 4.8.2-16.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@host-10-17-11-14 dbaops]#
----
無論如何進行不下去了,找系統室的人,說核心版本安裝的高,需求的低,這個矛盾導致的,總之回應就是無法解決,
附屬:由於之前存貯掛EMC磁碟,遇到核心版本需要升級,重做OS系統解決存貯掛盤問題,oracle軟體重新安裝,結果安裝遇到這個問題,真是方便他人,為難自己
解決辦法一,下載centos 7.7,從源頭解決問題,但遇到問題是,上傳限制4G以內,光碟大小達到4.3G,又用7zip切割上傳,上傳無緣無故丟失檔案,上傳慢等問題,總之命途多舛;
忽然問了一個DBA兄弟,這個問題有沒有其他辦法解決,發了他以下內容
yum -y install gcc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.8.5-11.el7 will be installed
--> Processing Dependency: libgomp = 4.8.5-11.el7 for package: gcc-4.8.5-11.el7.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-11.el7.x86_64
--> Running transaction check
---> Package glibc-devel.x86_64 0:2.17-157.el7_3.5 will be installed
--> Processing Dependency: glibc-headers = 2.17-157.el7_3.5 for package: glibc-devel-2.17-157.el7_3.5.x86_64
--> Processing Dependency: glibc = 2.17-157.el7_3.5 for package: glibc-devel-2.17-157.el7_3.5.x86_64
---> Package libgomp.i686 0:4.8.5-11.el7 will be installed
--> Finished Dependency Resolution
Error: Package: glibc-devel-2.17-157.el7_3.5.x86_64 (update)
Requires: glibc = 2.17-157.el7_3.5
Installed: glibc-2.17-292.el7.i686 (@base)
glibc = 2.17-292.el7
Available: glibc-2.17-157.el7.i686 (base)
glibc = 2.17-157.el7
Available: glibc-2.17-157.el7_3.1.i686 (update)
glibc = 2.17-157.el7_3.1
Available: glibc-2.17-157.el7_3.2.i686 (update)
glibc = 2.17-157.el7_3.2
Available: glibc-2.17-157.el7_3.4.i686 (update)
glibc = 2.17-157.el7_3.4
Available: glibc-2.17-157.el7_3.5.i686 (update)
glibc = 2.17-157.el7_3.5
Error: Package: glibc-devel-2.17-157.el7_3.5.x86_64 (update)
Requires: glibc-headers = 2.17-157.el7_3.5
Installed: glibc-headers-2.17-292.el7.x86_64 (@base)
glibc-headers = 2.17-292.el7
Available: glibc-headers-2.17-157.el7.x86_64 (base)
glibc-headers = 2.17-157.el7
Available: glibc-headers-2.17-157.el7_3.1.x86_64 (update)
glibc-headers = 2.17-157.el7_3.1
Available: glibc-headers-2.17-157.el7_3.2.x86_64 (update)
glibc-headers =
忙其他的,過了半晌,兄弟發來一個連結,眼前一亮
https://blog.csdn.net/plaugle/article/details/126867028
內容就是透過yum downgrade 包名解決已經安裝的核心版本高的問題
安裝GCC編譯器
yum install -y gcc
1
報錯:
Error: Package: glibc-headers-2.17-317.el7.x86_64 (base)
Requires: glibc = 2.17-317.el7
Installed: glibc-2.17-322.el7_9.i686 (@c6-update)
glibc = 2.17-322.el7_9
Available: glibc-2.17-317.el7.i686 (base)
glibc = 2.17-317.el7
Error: Package: glibc-devel-2.17-317.el7.x86_64 (base)
Requires: glibc = 2.17-317.el7
Installed: glibc-2.17-322.el7_9.i686 (@c6-update)
glibc = 2.17-322.el7_9
Available: glibc-2.17-317.el7.i686 (base)
glibc = 2.17-317.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
顯示一裝版本高於需求版本
透過降級解決:
yum downgrade glibc glibc-devel glibc-common glibc-headers
1
安裝成功!
Installed:
gcc.x86_64 0:4.8.5-44.el7
Dependency Installed:
cpp.x86_64 0:4.8.5-44.el7 glibc-devel.x86_64 0:2.17-317.el7 glibc-headers.x86_64 0:2.17-317.el7 kernel-headers.x86_64 0:3.10.0-1160.el7 libmpc.x86_64 0:1.0.1-3.el7
mpfr.x86_64 0:3.1.1-4.el7
Complete!
以上內容,和我遇到類似,趕緊模仿解決
1 執行所有的包安裝命令
[root@host-10-17-11-14 backup]# rpm -qa |grep glibc
glibc-common-2.17-157.el7_3.5.x86_64
glibc-2.17-157.el7_3.5.x86_64
glibc-2.17-157.el7_3.5.i686
glibc-headers-2.17-157.el7_3.5.x86_64
[root@host-10-17-11-14 backup]#
[root@host-10-17-11-14 backup]#
[root@host-10-17-11-14 backup]#
[root@host-10-17-11-14 backup]#
[root@host-10-17-11-14 backup]#
[root@host-10-17-11-14 backup]# yum -y install gcc compat-gcc-34 elfutils-libelf-devel compat-libstdc++-33 elfutils-libelf gcc-c++glibc-headers libaio libaio-devel libgcc libstdc++libstdc++-devel make ksh sysstat unixODBC compat-libcap1 libXp
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
No package compat-gcc-34 available.
Package compat-libstdc++-33-3.2.3-72.el7.x86_64 already installed and latest version
Package matching elfutils-libelf-0.166-2.el7.x86_64 already installed. Checking for update.
No package gcc-c++glibc-headers available.
Package libaio-0.3.109-13.el7.x86_64 already installed and latest version
Package libaio-devel-0.3.109-13.el7.x86_64 already installed and latest version
Package matching libgcc-4.8.5-11.el7.x86_64 already installed. Checking for update.
No package libstdc++libstdc++-devel available.
Package matching 1:make-3.82-23.el7.x86_64 already installed. Checking for update.
Package ksh-20120801-26.el7.x86_64 already installed and latest version
Package matching sysstat-10.1.5-11.el7.x86_64 already installed. Checking for update.
Package compat-libcap1-1.10-7.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package elfutils-libelf-devel.x86_64 0:0.166-2.el7 will be installed
--> Processing Dependency: elfutils-libelf(x86-64) = 0.166-2.el7 for package: elfutils-libelf-devel-0.166-2.el7.x86_64
---> Package gcc.x86_64 0:4.8.5-11.el7 will be installed
--> Processing Dependency: libgomp = 4.8.5-11.el7 for package: gcc-4.8.5-11.el7.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-11.el7.x86_64
---> Package libXp.x86_64 0:1.0.2-2.1.el7 will be installed
---> Package unixODBC.x86_64 0:2.3.1-11.el7 will be installed
--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.3.1-11.el7.x86_64
--> Running transaction check
---> Package elfutils-libelf-devel.x86_64 0:0.166-2.el7 will be installed
--> Processing Dependency: elfutils-libelf(x86-64) = 0.166-2.el7 for package: elfutils-libelf-devel-0.166-2.el7.x86_64
---> Package glibc-devel.x86_64 0:2.17-157.el7_3.5 will be installed
---> Package libgomp.i686 0:4.8.5-11.el7 will be installed
---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed
--> Finished Dependency Resolution
Error: Package: elfutils-libelf-devel-0.166-2.el7.x86_64 (base)
Requires: elfutils-libelf(x86-64) = 0.166-2.el7
Installed: elfutils-libelf-0.176-2.el7.x86_64 (@base)
elfutils-libelf(x86-64) = 0.176-2.el7
Available: elfutils-libelf-0.166-2.el7.x86_64 (base)
elfutils-libelf(x86-64) = 0.166-2.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@host-10-17-11-14 backup]# yum downgrade elfutils-libelf-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
No Match for available package: elfutils-libelf-devel-0.166-2.el7.i686
No Match for available package: elfutils-libelf-devel-0.166-2.el7.x86_64
Nothing to do
[root@host-10-17-11-14 backup]# yum downgrade elfutils-libelf
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package elfutils-libelf.i686 0:0.166-2.el7 will be a downgrade
---> Package elfutils-libelf.x86_64 0:0.166-2.el7 will be a downgrade
---> Package elfutils-libelf.i686 0:0.176-2.el7 will be erased
---> Package elfutils-libelf.x86_64 0:0.176-2.el7 will be erased
--> Finished Dependency Resolution
Error: Package: elfutils-libs-0.176-2.el7.i686 (@base)
Requires: elfutils-libelf(x86-32) = 0.176-2.el7
Removing: elfutils-libelf-0.176-2.el7.i686 (@base)
elfutils-libelf(x86-32) = 0.176-2.el7
Downgraded By: elfutils-libelf-0.166-2.el7.i686 (base)
elfutils-libelf(x86-32) = 0.166-2.el7
Error: Package: elfutils-0.176-2.el7.x86_64 (@base)
Requires: elfutils-libelf(x86-64) = 0.176-2.el7
Removing: elfutils-libelf-0.176-2.el7.x86_64 (@base)
elfutils-libelf(x86-64) = 0.176-2.el7
Downgraded By: elfutils-libelf-0.166-2.el7.x86_64 (base)
elfutils-libelf(x86-64) = 0.166-2.el7
Error: Package: elfutils-libs-0.176-2.el7.x86_64 (@base)
Requires: elfutils-libelf(x86-64) = 0.176-2.el7
Removing: elfutils-libelf-0.176-2.el7.x86_64 (@base)
elfutils-libelf(x86-64) = 0.176-2.el7
Downgraded By: elfutils-libelf-0.166-2.el7.x86_64 (base)
elfutils-libelf(x86-64) = 0.166-2.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@host-10-17-11-14 backup]# yum install compat-libstdc++-33 elfutils-libelf-devel elfutils-libelf-devel-static libaio-devel libstdc++-static numactl-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package compat-libstdc++-33-3.2.3-72.el7.x86_64 already installed and latest version
Package libaio-devel-0.3.109-13.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package elfutils-libelf-devel.x86_64 0:0.166-2.el7 will be installed
--> Processing Dependency: elfutils-libelf(x86-64) = 0.166-2.el7 for package: elfutils-libelf-devel-0.166-2.el7.x86_64
---> Package elfutils-libelf-devel-static.x86_64 0:0.166-2.el7 will be installed
---> Package libstdc++-static.x86_64 0:4.8.5-11.el7 will be installed
--> Processing Dependency: libstdc++-devel = 4.8.5-11.el7 for package: libstdc++-static-4.8.5-11.el7.x86_64
---> Package numactl-devel.x86_64 0:2.0.9-6.el7_2 will be installed
--> Processing Dependency: numactl-libs = 2.0.9-6.el7_2 for package: numactl-devel-2.0.9-6.el7_2.x86_64
--> Running transaction check
---> Package elfutils-libelf-devel.x86_64 0:0.166-2.el7 will be installed
--> Processing Dependency: elfutils-libelf(x86-64) = 0.166-2.el7 for package: elfutils-libelf-devel-0.166-2.el7.x86_64
---> Package libstdc++-devel.i686 0:4.8.5-11.el7 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.8.5-11.el7 for package: libstdc++-devel-4.8.5-11.el7.i686
---> Package numactl-libs.i686 0:2.0.9-6.el7_2 will be installed
--> Finished Dependency Resolution
Error: Package: elfutils-libelf-devel-0.166-2.el7.x86_64 (base)
Requires: elfutils-libelf(x86-64) = 0.166-2.el7
Installed: elfutils-libelf-0.176-2.el7.x86_64 (@base)
elfutils-libelf(x86-64) = 0.176-2.el7
Available: elfutils-libelf-0.166-2.el7.x86_64 (base)
elfutils-libelf(x86-64) = 0.166-2.el7
Error: Package: libstdc++-devel-4.8.5-11.el7.i686 (base)
Requires: libstdc++(x86-32) = 4.8.5-11.el7
Installed: libstdc++-4.8.5-39.el7.i686 (@base)
libstdc++(x86-32) = 4.8.5-39.el7
Available: libstdc++-4.8.5-11.el7.i686 (base)
libstdc++(x86-32) = 4.8.5-11.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@host-10-17-11-14 backup]#
yum downgrade elfutils-libelf elfutils-libelf-devel[root@host-10-17-11-14 backup]# yum downgrade elfutils-libelf elfutils-libelf-devel^C
[root@host-10-17-11-14 backup]#
yum downgrade elfutils-libelf elfutils-libelf-devel[root@host-10-17-11-14 backup]# yum downgrade elfutils-libelf elfutils-libelf-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
No Match for available package: elfutils-libelf-devel-0.166-2.el7.i686
No Match for available package: elfutils-libelf-devel-0.166-2.el7.x86_64
Resolving Dependencies
--> Running transaction check
---> Package elfutils-libelf.i686 0:0.166-2.el7 will be a downgrade
---> Package elfutils-libelf.x86_64 0:0.166-2.el7 will be a downgrade
---> Package elfutils-libelf.i686 0:0.176-2.el7 will be erased
---> Package elfutils-libelf.x86_64 0:0.176-2.el7 will be erased
--> Finished Dependency Resolution
Error: Package: elfutils-libs-0.176-2.el7.i686 (@base)
Requires: elfutils-libelf(x86-32) = 0.176-2.el7
Removing: elfutils-libelf-0.176-2.el7.i686 (@base)
elfutils-libelf(x86-32) = 0.176-2.el7
Downgraded By: elfutils-libelf-0.166-2.el7.i686 (base)
elfutils-libelf(x86-32) = 0.166-2.el7
Error: Package: elfutils-0.176-2.el7.x86_64 (@base)
Requires: elfutils-libelf(x86-64) = 0.176-2.el7
Removing: elfutils-libelf-0.176-2.el7.x86_64 (@base)
elfutils-libelf(x86-64) = 0.176-2.el7
Downgraded By: elfutils-libelf-0.166-2.el7.x86_64 (base)
elfutils-libelf(x86-64) = 0.166-2.el7
Error: Package: elfutils-libs-0.176-2.el7.x86_64 (@base)
Requires: elfutils-libelf(x86-64) = 0.176-2.el7
Removing: elfutils-libelf-0.176-2.el7.x86_64 (@base)
elfutils-libelf(x86-64) = 0.176-2.el7
Downgraded By: elfutils-libelf-0.166-2.el7.x86_64 (base)
elfutils-libelf(x86-64) = 0.166-2.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@host-10-17-11-14 backup]# yum downgrade elfutils-libs elfutils elfutils-libelf elfutils-libelf-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
No Match for available package: elfutils-libelf-devel-0.166-2.el7.i686
No Match for available package: elfutils-libelf-devel-0.166-2.el7.x86_64
Resolving Dependencies
--> Running transaction check
---> Package elfutils.x86_64 0:0.166-2.el7 will be a downgrade
---> Package elfutils.x86_64 0:0.176-2.el7 will be erased
---> Package elfutils-libelf.i686 0:0.166-2.el7 will be a downgrade
---> Package elfutils-libelf.x86_64 0:0.166-2.el7 will be a downgrade
---> Package elfutils-libelf.i686 0:0.176-2.el7 will be erased
---> Package elfutils-libelf.x86_64 0:0.176-2.el7 will be erased
---> Package elfutils-libs.i686 0:0.166-2.el7 will be a downgrade
---> Package elfutils-libs.x86_64 0:0.166-2.el7 will be a downgrade
---> Package elfutils-libs.i686 0:0.176-2.el7 will be erased
---> Package elfutils-libs.x86_64 0:0.176-2.el7 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
============================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================
Downgrading:
elfutils x86_64 0.166-2.el7 base 280 k
elfutils-libelf i686 0.166-2.el7 base 212 k
elfutils-libelf x86_64 0.166-2.el7 base 208 k
elfutils-libs i686 0.166-2.el7 base 282 k
elfutils-libs x86_64 0.166-2.el7 base 262 k
Transaction Summary
============================================================================================================================================================
Downgrade 5 Packages
Total download size: 1.2 M
Is this ok [y/d/N]: y
Downloading packages:
(1/5): elfutils-0.166-2.el7.x86_64.rpm | 280 kB 00:00:00
(2/5): elfutils-libelf-0.166-2.el7.i686.rpm | 212 kB 00:00:00
(3/5): elfutils-libelf-0.166-2.el7.x86_64.rpm | 208 kB 00:00:00
(4/5): elfutils-libs-0.166-2.el7.x86_64.rpm | 262 kB 00:00:00
(5/5): elfutils-libs-0.166-2.el7.i686.rpm | 282 kB 00:00:00
------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 4.5 MB/s | 1.2 MB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : elfutils-libelf-0.166-2.el7.x86_64 1/10
Installing : elfutils-libs-0.166-2.el7.x86_64 2/10
Installing : elfutils-libelf-0.166-2.el7.i686 3/10
Installing : elfutils-0.166-2.el7.x86_64 4/10
Installing : elfutils-libs-0.166-2.el7.i686 5/10
Cleanup : elfutils-0.176-2.el7.x86_64 6/10
Cleanup : elfutils-libs-0.176-2.el7 7/10
Cleanup : elfutils-libs-0.176-2.el7 8/10
Cleanup : elfutils-libelf-0.176-2.el7 9/10
Cleanup : elfutils-libelf-0.176-2.el7 10/10
Verifying : elfutils-libelf-0.166-2.el7.i686 1/10
Verifying : elfutils-libs-0.166-2.el7.x86_64 2/10
Verifying : elfutils-0.166-2.el7.x86_64 3/10
Verifying : elfutils-libs-0.166-2.el7.i686 4/10
Verifying : elfutils-libelf-0.166-2.el7.x86_64 5/10
Verifying : elfutils-libelf-0.176-2.el7.i686 6/10
Verifying : elfutils-0.176-2.el7.x86_64 7/10
Verifying : elfutils-libs-0.176-2.el7.i686 8/10
Verifying : elfutils-libs-0.176-2.el7.x86_64 9/10
Verifying : elfutils-libelf-0.176-2.el7.x86_64 10/10
Removed:
elfutils.x86_64 0:0.176-2.el7 elfutils-libelf.i686 0:0.176-2.el7 elfutils-libelf.x86_64 0:0.176-2.el7 elfutils-libs.i686 0:0.176-2.el7
elfutils-libs.x86_64 0:0.176-2.el7
Installed:
elfutils.x86_64 0:0.166-2.el7 elfutils-libelf.i686 0:0.166-2.el7 elfutils-libelf.x86_64 0:0.166-2.el7 elfutils-libs.i686 0:0.166-2.el7
elfutils-libs.x86_64 0:0.166-2.el7
Complete!
[root@host-10-17-11-14 backup]# yum downgrade elfutils-libs elfutils elfutils-libelf elfutils-libelf-devel^C
[root@host-10-17-11-14 backup]#
[root@host-10-17-11-14 backup]#
[root@host-10-17-11-14 backup]#
[root@host-10-17-11-14 backup]#
[root@host-10-17-11-14 backup]# yum -y install gcc compat-gcc-34 elfutils-libelf-devel compat-libstdc++-33 elfutils-libelf gcc-c++glibc-headers libaio libaio-devel libgcc libstdc++libstdc++-devel make ksh sysstat unixODBC compat-libcap1 libXp
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
No package compat-gcc-34 available.
Package compat-libstdc++-33-3.2.3-72.el7.x86_64 already installed and latest version
Package elfutils-libelf-0.166-2.el7.x86_64 already installed and latest version
No package gcc-c++glibc-headers available.
Package libaio-0.3.109-13.el7.x86_64 already installed and latest version
Package libaio-devel-0.3.109-13.el7.x86_64 already installed and latest version
Package matching libgcc-4.8.5-11.el7.x86_64 already installed. Checking for update.
No package libstdc++libstdc++-devel available.
Package matching 1:make-3.82-23.el7.x86_64 already installed. Checking for update.
Package ksh-20120801-26.el7.x86_64 already installed and latest version
Package matching sysstat-10.1.5-11.el7.x86_64 already installed. Checking for update.
Package compat-libcap1-1.10-7.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package elfutils-libelf-devel.x86_64 0:0.166-2.el7 will be installed
---> Package gcc.x86_64 0:4.8.5-11.el7 will be installed
--> Processing Dependency: libgomp = 4.8.5-11.el7 for package: gcc-4.8.5-11.el7.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-11.el7.x86_64
---> Package libXp.x86_64 0:1.0.2-2.1.el7 will be installed
---> Package unixODBC.x86_64 0:2.3.1-11.el7 will be installed
--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.3.1-11.el7.x86_64
--> Running transaction check
---> Package glibc-devel.x86_64 0:2.17-157.el7_3.5 will be installed
---> Package libgomp.i686 0:4.8.5-11.el7 will be installed
---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed
--> Finished Dependency Resolution
Error: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:
1. You have an upgrade for libgomp which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of libgomp of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude libgomp.otherarch ... this should give you an error
message showing the root cause of the problem.
2. You have multiple architectures of libgomp installed, but
yum can only see an upgrade for one of those architectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.
3. You have duplicate versions of libgomp installed already.
You can use "yum check" to get yum show these errors.
...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).
Protected multilib versions: libgomp-4.8.5-11.el7.i686 != libgomp-4.8.5-39.el7.x86_64
[root@host-10-17-11-14 backup]# rpm -qa |grep libgomp
libgomp-4.8.5-39.el7.x86_64
[root@host-10-17-11-14 backup]# yum downgrade libgomp
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package libgomp.x86_64 0:4.8.5-11.el7 will be a downgrade
---> Package libgomp.x86_64 0:4.8.5-39.el7 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
============================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================
Downgrading:
libgomp x86_64 4.8.5-11.el7 base 152 k
Transaction Summary
============================================================================================================================================================
Downgrade 1 Package
Total download size: 152 k
Is this ok [y/d/N]: y
Downloading packages:
libgomp-4.8.5-11.el7.x86_64.rpm | 152 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : libgomp-4.8.5-11.el7.x86_64 1/2
Cleanup : libgomp-4.8.5-39.el7.x86_64 2/2
Verifying : libgomp-4.8.5-11.el7.x86_64 1/2
Verifying : libgomp-4.8.5-39.el7.x86_64 2/2
Removed:
libgomp.x86_64 0:4.8.5-39.el7
Installed:
libgomp.x86_64 0:4.8.5-11.el7
Complete!
[root@host-10-17-11-14 backup]# rpm -qa |grep libgomp
libgomp-4.8.5-11.el7.x86_64
[root@host-10-17-11-14 backup]# yum -y install gcc compat-gcc-34 elfutils-libelf-devel compat-libstdc++-33 elfutils-libelf gcc-c++glibc-headers libaio libaio-devel libgcc libstdc++libstdc++-devel make ksh sysstat unixODBC compat-libcap1 libXp
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
No package compat-gcc-34 available.
Package compat-libstdc++-33-3.2.3-72.el7.x86_64 already installed and latest version
Package elfutils-libelf-0.166-2.el7.x86_64 already installed and latest version
No package gcc-c++glibc-headers available.
Package libaio-0.3.109-13.el7.x86_64 already installed and latest version
Package libaio-devel-0.3.109-13.el7.x86_64 already installed and latest version
Package matching libgcc-4.8.5-11.el7.x86_64 already installed. Checking for update.
No package libstdc++libstdc++-devel available.
Package matching 1:make-3.82-23.el7.x86_64 already installed. Checking for update.
Package ksh-20120801-26.el7.x86_64 already installed and latest version
Package matching sysstat-10.1.5-11.el7.x86_64 already installed. Checking for update.
Package compat-libcap1-1.10-7.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package elfutils-libelf-devel.x86_64 0:0.166-2.el7 will be installed
---> Package gcc.x86_64 0:4.8.5-11.el7 will be installed
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-11.el7.x86_64
---> Package libXp.x86_64 0:1.0.2-2.1.el7 will be installed
---> Package unixODBC.x86_64 0:2.3.1-11.el7 will be installed
--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.3.1-11.el7.x86_64
--> Running transaction check
---> Package glibc-devel.x86_64 0:2.17-157.el7_3.5 will be installed
---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
============================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================
Installing:
elfutils-libelf-devel x86_64 0.166-2.el7 base 37 k
gcc x86_64 4.8.5-11.el7 base 16 M
libXp x86_64 1.0.2-2.1.el7 base 30 k
unixODBC x86_64 2.3.1-11.el7 base 413 k
Installing for dependencies:
glibc-devel x86_64 2.17-157.el7_3.5 update 1.1 M
libtool-ltdl x86_64 2.4.2-22.el7_3 update 49 k
Transaction Summary
============================================================================================================================================================
Install 4 Packages (+2 Dependent packages)
Total download size: 18 M
Installed size: 40 M
Downloading packages:
(1/6): elfutils-libelf-devel-0.166-2.el7.x86_64.rpm | 37 kB 00:00:00
(2/6): libXp-1.0.2-2.1.el7.x86_64.rpm | 30 kB 00:00:00
(3/6): libtool-ltdl-2.4.2-22.el7_3.x86_64.rpm | 49 kB 00:00:00
(4/6): unixODBC-2.3.1-11.el7.x86_64.rpm | 413 kB 00:00:00
(5/6): glibc-devel-2.17-157.el7_3.5.x86_64.rpm | 1.1 MB 00:00:00
(6/6): gcc-4.8.5-11.el7.x86_64.rpm | 16 MB 00:00:00
------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 18 MB/s | 18 MB 00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : libtool-ltdl-2.4.2-22.el7_3.x86_64 1/6
Installing : glibc-devel-2.17-157.el7_3.5.x86_64 2/6
Installing : gcc-4.8.5-11.el7.x86_64 3/6
Installing : unixODBC-2.3.1-11.el7.x86_64 4/6
Installing : elfutils-libelf-devel-0.166-2.el7.x86_64 5/6
Installing : libXp-1.0.2-2.1.el7.x86_64 6/6
Verifying : libXp-1.0.2-2.1.el7.x86_64 1/6
Verifying : glibc-devel-2.17-157.el7_3.5.x86_64 2/6
Verifying : elfutils-libelf-devel-0.166-2.el7.x86_64 3/6
Verifying : unixODBC-2.3.1-11.el7.x86_64 4/6
Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 5/6
Verifying : gcc-4.8.5-11.el7.x86_64 6/6
Installed:
elfutils-libelf-devel.x86_64 0:0.166-2.el7 gcc.x86_64 0:4.8.5-11.el7 libXp.x86_64 0:1.0.2-2.1.el7 unixODBC.x86_64 0:2.3.1-11.el7
Dependency Installed:
glibc-devel.x86_64 0:2.17-157.el7_3.5 libtool-ltdl.x86_64 0:2.4.2-22.el7_3
Complete!
--------------------
yum install -y gcc-c++ glibc-headers
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package glibc-headers-2.17-157.el7_3.5.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package gcc-c++.x86_64 0:4.8.5-11.el7 will be installed
--> Processing Dependency: libstdc++-devel = 4.8.5-11.el7 for package: gcc-c++-4.8.5-11.el7.x86_64
--> Processing Dependency: libstdc++ = 4.8.5-11.el7 for package: gcc-c++-4.8.5-11.el7.x86_64
--> Running transaction check
---> Package gcc-c++.x86_64 0:4.8.5-11.el7 will be installed
--> Processing Dependency: libstdc++ = 4.8.5-11.el7 for package: gcc-c++-4.8.5-11.el7.x86_64
---> Package libstdc++-devel.i686 0:4.8.5-11.el7 will be installed
--> Processing Dependency: libstdc++(x86-32) = 4.8.5-11.el7 for package: libstdc++-devel-4.8.5-11.el7.i686
--> Finished Dependency Resolution
Error: Package: libstdc++-devel-4.8.5-11.el7.i686 (base)
Requires: libstdc++(x86-32) = 4.8.5-11.el7
Installed: libstdc++-4.8.5-39.el7.i686 (@base)
libstdc++(x86-32) = 4.8.5-39.el7
Available: libstdc++-4.8.5-11.el7.i686 (base)
libstdc++(x86-32) = 4.8.5-11.el7
Error: Package: gcc-c++-4.8.5-11.el7.x86_64 (base)
Requires: libstdc++ = 4.8.5-11.el7
Installed: libstdc++-4.8.5-39.el7.i686 (@base)
libstdc++ = 4.8.2-16.el7
libstdc++ = 4.8.5-39.el7
Available: libstdc++-4.8.5-11.el7.i686 (base)
libstdc++ = 4.8.5-11.el7
libstdc++ = 4.8.2-16.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@host-10-17-11-14 backup]# rmp -qa |grep gcc-c++
bash: rmp: command not found
[root@host-10-17-11-14 backup]# rpm -qa |grep gcc-c++
[root@host-10-17-11-14 backup]#
yum downgrade libstdc libstdc++-devel
yum downgrade libstdc libstdc++-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
No package libstdc available.
Resolving Dependencies
--> Running transaction check
---> Package libstdc++-devel.x86_64 0:4.8.5-11.el7 will be a downgrade
--> Processing Dependency: libstdc++(x86-64) = 4.8.5-11.el7 for package: libstdc++-devel-4.8.5-11.el7.x86_64
---> Package libstdc++-devel.x86_64 0:4.8.5-39.el7 will be erased
--> Finished Dependency Resolution
Error: Package: libstdc++-devel-4.8.5-11.el7.x86_64 (base)
Requires: libstdc++(x86-64) = 4.8.5-11.el7
Installed: libstdc++-4.8.5-39.el7.x86_64 (@base)
libstdc++(x86-64) = 4.8.5-39.el7
Available: libstdc++-4.8.5-11.el7.x86_64 (base)
libstdc++(x86-64) = 4.8.5-11.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@host-10-17-11-14 backup]# yum downgrade libstdc libstdc++-devel libstdc++
解決
yum downgrade libstdc libstdc++-devel libstdc++
安裝過程中
---------------
無軟體包也能透過 compat-libstdc++-33-3.2.3-72.el7.x86_64
安裝的過程中有報錯
vi /u01/oracle/product/11.2.0/db_1/sysman/lib/ins_emagent.mk
(MK_EMAGENT_NMECTL) 更改為(MK_EMAGENT_NMECTL) -lnnz11
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/25846553/viewspace-2932130/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Python安裝cx_Oracle模組遇到的問題PythonOracle
- Laravel 安裝遇到的問題Laravel
- 安裝kylin遇到的問題
- PaddleOCR 安裝使用遇到的問題
- 安裝部署hzero遇到的問題
- appium 安裝 apk 包問題APPAPK
- lumen安裝orangehill/iseed遇到的問題
- Windows安裝Filebeat遇到問題總結Windows
- 安裝 Laravel Mix 中遇到的問題Laravel
- Flutter-安裝步驟及安裝遇到的問題Flutter
- NPM 安裝包遇到的坑!NPM
- conda安裝r-base時PackagesNotFoundError問題解決PackageError
- windows2003 的安裝以及安裝時遇到的問題Windows
- PYTORCH安裝過程以及遇到的問題PyTorch
- mac11.2安裝air遇到的問題MacAI
- python中安裝qtdesigner、pyuic遇到的問題PythonQTUI
- 【Redis】redis-cluster 安裝遇到的問題Redis
- Centos7安裝greenplum遇到的問題CentOS
- Vue專案升級webpack4.x和遇到的那些安裝包ErrorVueWebError
- Session 'app': Error Launching activity(安裝包安裝失敗)SessionAPPError
- UBUNTU安裝kaldi遇到關於not install OpenFst errorUbuntuNFSError
- npm安裝全域性包的問題NPM
- 解決macbook安裝burp suite遇到的問題MacUI
- 關於ubuntu安裝中過程遇到問題Ubuntu
- macbook 下安裝Goglang 以及安裝svn外掛所遇到的問題MacGo
- CentOS7安裝Docker遇到的問題筆記CentOSDocker筆記
- vue2.x工程安裝遇到的問題解答Vue
- RIDE匯入AutoItLibrary的安裝以及遇到的問題IDE
- 在騰訊雲上安裝mysql遇到的問題MySql
- Linux 安裝mysql 5.7.21 可能遇到的問題歸類LinuxMySql
- mysql登入遇到ERROR 1045問題解決方法MySqlError
- 【ROS教程】安裝ROS全流程及可能遇到的問題ROS
- SharePoint or Office 打補丁或產品安裝遇到問題
- laravel 8 分別安裝Vue和tailwindcss遇到的問題LaravelVueAICSS
- 在 Debian 64 位上安裝 wkhtmltopdf 時遇到的問題HTML
- 安裝gcc過程中遇到相互依賴的問題GC
- 原始碼安裝apache(附遇到的問題及解決)原始碼Apache
- pip安裝時遇到的問題集錦,持續更新!