暂无图片
Oracle 21c RPM 安装缺少oracle-database-preinstall-21c
我来答
分享
章芋文
2021-08-14
Oracle 21c RPM 安装缺少oracle-database-preinstall-21c
暂无图片 100M

计划使用RPM方式安装最新的21c数据库,报错缺少oracle-database-preinstall-21c

[root@modb-o tmp]# yum -y localinstall oracle-database-ee-21c-1.0-1.ol8.x86_64.rpm Last metadata expiration check: 2:12:57 ago on Sat 14 Aug 2021 01:36:02 PM CST. Error: Problem: conflicting requests - nothing provides oracle-database-preinstall-21c needed by oracle-database-ee-21c-1.0-1.x86_64 (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
  • 尝试使用19c的preinstall包不行
  • 尝试跳过报错失败
  • 在官方YUM源没找到https://yum.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/index.html
  • 在MOS中也没找到相关脚本

不知道有没有人用RPM安装成功,分享下经验。

我来答
添加附件
收藏
分享
问题补充
4条回答
默认
最新
章芋文
2021-08-16

更新:目前Oracle已经将21c的perinstall RPM包上传到镜像中,可以直接dnf安装。


有同学用rpm -ivh --nodeps --force强制安装成功了:Oracle Database 21c RPM安装体验

另外tim hall给出了一个方法:

dnf -y localinstall oracle-database-ee-21c-1.0-1.ol8.x86_64.rpm

image.png

暂无图片 评论
暂无图片 有用 0
打赏 0
暂无图片
薛晓刚
暂无图片
2021-08-14

刚出来,没人估计比你快。还指望您写呢。

暂无图片 评论
暂无图片 有用 0
打赏 0
Quanwen Zhao
2021-08-18

在https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/index.html 或 https://yum.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/index.html 的页面中 搜索 关键字 preinstall,会直接找到 “19c 21c” 的 preinstall RPM 安装包 (ol7和ol8)。需要首先安装 preinstall 的 RPM 安装包。

暂无图片 评论
暂无图片 有用 0
打赏 0
李辉
2021-11-01

根本原因是这个RPM的检查依赖项目会检查是否是UEK内核。本质解决方法是重庆编译RPM文件,去除依赖项那行即可

暂无图片 评论
暂无图片 有用 0
打赏 0
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏