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: fastestmirrorLoading mirror speeds from cached hostfileNo package compat-gcc-34 available.Package compat-libstdc++-33-3.2.3-72.el7.x86_64 already installed and latest versionPackage 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 versionPackage libaio-devel-0.3.109-13.el7.x86_64 already installed and latest versionPackage 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 versionPackage 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 versionResolving 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 ResolutionError: 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.el7Error: 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.5Error: 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.5Error: 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 gccLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfileResolving 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 ResolutionError: 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.5Error: 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
oracle安装包遇到Error: Package: gcc-4.8.5-11.el7.x86_64 (base)问题
来源:这里教程网
时间:2026-03-03 18:19:50
作者:
编辑推荐:
下一篇:
相关推荐
-
雷神推出 MIX PRO II 迷你主机:基于 Ultra 200H,玻璃上盖 + ARGB 灯效
2 月 9 日消息,雷神 (THUNDEROBOT) 现已宣布推出基于英
-
制造商 Musnap 推出彩色墨水屏电纸书 Ocean C:支持手写笔、第三方安卓应用
2 月 10 日消息,制造商 Musnap 现已在海外推出一款 Oce
热文推荐
- oracle安装包遇到Error: Package: gcc-4.8.5-11.el7.x86_64 (base)问题
- 收购淘米后,MMV加速走向迪士尼式IP开发之旅
收购淘米后,MMV加速走向迪士尼式IP开发之旅
26-03-03 - 百万国产豪车占坑,比亚迪终于还是忍不住了
百万国产豪车占坑,比亚迪终于还是忍不住了
26-03-03 - 盘点办公中所需的5款电脑软件
盘点办公中所需的5款电脑软件
26-03-03 - oracle 21c创建非OMF文件命名格式的PDB
oracle 21c创建非OMF文件命名格式的PDB
26-03-03 - 【ASK_ORACLE】因process用尽导致的rac重启的解决方法
【ASK_ORACLE】因process用尽导致的rac重启的解决方法
26-03-03 - Oracle函数入坑指南
Oracle函数入坑指南
26-03-03 - LightDB 22.4 新特性之兼容Oracle树形查询
LightDB 22.4 新特性之兼容Oracle树形查询
26-03-03 - ORACLE ASM的SSD磁盘空间回收分析
ORACLE ASM的SSD磁盘空间回收分析
26-03-03 - 推荐6款为你排忧解难的软件
推荐6款为你排忧解难的软件
26-03-03
