内核升级和 Oracle 先决条件错误

内核升级和 Oracle 先决条件错误

我正在使用 Amazon AMI 将内核(Red Hat)从 6.7 升级到 6.9,并且当我通过 puppet 安装 Oracle 时出现此先决条件错误。

Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install gcc-c++' returned 1: Error: Package: glibc-2.12-1.107.el6_4.2.i686 (Repo)
           Requires: glibc-common = 2.12-1.107.el6_4.2
           Installed: glibc-common-2.12-1.209.el6_9.2.x86_64 (installed)
               glibc-common = 2.12-1.209.el6_9.2
           Available: glibc-common-2.12-1.107.el6_4.2.x86_64 (Repo)
               glibc-common = 2.12-1.107.el6_4.2
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Error: /Stage[main]/Oracledb::Prereq/Package[gcc-c++]/ensure: change from purged to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install gcc-c++' returned 1: Error: Package: glibc-2.12-1.107.el6_4.2.i686 (Repo)
           Requires: glibc-common = 2.12-1.107.el6_4.2
           Installed: glibc-common-2.12-1.209.el6_9.2.x86_64 (installed)
               glibc-common = 2.12-1.209.el6_9.2
           Available: glibc-common-2.12-1.107.el6_4.2.x86_64 (Repo_New)
               glibc-common = 2.12-1.107.el6_4.2
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install elfutils-libelf-devel.x86_64' returned 1: Error: Package: elfutils-libelf-devel-0.152-1.el6.x86_64 (Repo
           Requires: elfutils-libelf(x86-64) = 0.152-1.el6
           Installed: elfutils-libelf-0.164-2.el6.x86_64 (installed)
               elfutils-libelf(x86-64) = 0.164-2.el6
           Available: elfutils-libelf-0.152-1.el6.x86_64 (Repo)
               elfutils-libelf(x86-64) = 0.152-1.el6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Error: /Stage[main]/Oracledb::Prereq/Package[elfutils-libelf-devel.x86_64]/ensure: change from purged to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install elfutils-libelf-devel.x86_64' returned 1: Error: Package: elfutils-libelf-devel-0.152-1.el6.x86_64 (Repo)
           Requires: elfutils-libelf(x86-64) = 0.152-1.el6
           Installed: elfutils-libelf-0.164-2.el6.x86_64 (installed)
               elfutils-libelf(x86-64) = 0.164-2.el6
           Available: elfutils-libelf-0.152-1.el6.x86_64 (Repo)
               elfutils-libelf(x86-64) = 0.152-1.el6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

答案1

您已在此系统上安装了两个(或许更多?)自定义 yum 存储库,名为“Repo”和“Repo_New”。这些存储库似乎已锁定到 EL 6.4 版本。您应该删除这些自定义存储库并用原始存储库替换它们,或者修复它们。

相关内容