oracle linux配置yum 启动开发人员repo

Download and copy the appropriate yum configuration file in place, by running the following commands as root:

Oracle Linux 7

# cd/etc/yum.repos.d

wget http://public-yum.oracle.com/public-yum-ol7.repo

Oracle Linux 6

# cd/etc/yum.repos.d

# wget http://public-yum.oracle.com/public-yum-ol6.repo

Oracle Linux 5

# cd/etc/yum.repos.d

# wget http://public-yum.oracle.com/public-yum-el5.repo

Oracle Linux 4, Update 6 or Newer

# cd/etc/yum.repos.d

# mv Oracle-Base.repo Oracle-Base.repo.disabled

# wget http://public-yum.oracle.com/public-yum-el4.repo

Oracle OpenStack for Oracle Linux 2.0

# cd/etc/yum.repos.d

# wget http://public-yum.oracle.com/public-yum-ol7.repo

# yum install yum-plugin-priorities

Note: Make sure to enableol7_optional_latest repository before installing yum-plugin-priorities on yoursystem

Oracle OpenStack for Oracle Linux 1.0

# cd/etc/yum.repos.d

# wget http://public-yum.oracle.com/public-yum-openstack-ol6.repo

Oracle VM 2

# cd/etc/yum.repos.d

# wget http://public-yum.oracle.com/public-yum-ovm2.repo

Oracle Linux Server 7.9如何解决yum安装docker-ce-20.10.5时的依赖问题?

我有操作系统

# cat /etc/os-release
NAME="Oracle Linux Server"
VERSION="7.9"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.9"
PRETTY_NAME="Oracle Linux Server 7.9"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:7:9:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://bugzilla.oracle.com/"

ORACLE_BUGZILLA_PRODUCT="Oracle Linux 7"
ORACLE_BUGZILLA_PRODUCT_VERSION=7.9
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=7.9

复制

尝试安装docker-ce-20.10.5

# yum install docker-ce-20.10.5 docker-ce-cli-20.10.5    containerd.io -y

返回的错误

--> Finished Dependency Resolution
Error: Package: docker-ce-rootless-extras-20.10.7-3.el7.x86_64 (docker-ce-stable)
           Requires: fuse-overlayfs >= 0.7
Error: Package: docker-ce-rootless-extras-20.10.7-3.el7.x86_64 (docker-ce-stable)
           Requires: slirp4netns >= 0.4

如何解决这个问题?

 

 

要解决此问题,应启用Oracle Linux开发人员存储库。在Oracle云的当前Oracle Linux版本中,可以通过编辑/etc/yum.repos.d/oraclelinux-developer-ol7.repo来完成此操作,在块中,[ol7_developer]enabled应设置为1

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值