You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何解决RHEL 8.7安装buildah、podman时的‘Unable to find a match’错误

RHEL 8.7 安装 buildah、podman 找不到包的解决办法
  • 首先启用CodeReady Builder仓库,buildah和podman默认存储在这个订阅仓库中:
    subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms
    若你的系统是其他架构(如ARM),将命令中的x86_64替换为对应架构标识(如aarch64)。

  • 清理并刷新DNF仓库元数据:
    dnf clean all && dnf makecache

  • 重新执行安装命令:
    dnf install buildah podman -y

  • 如果问题仍存在,检查系统订阅状态,确保RHEL已激活有效订阅:
    subscription-manager status
    若未订阅,先完成注册激活:
    subscription-manager register
    按照提示输入红帽账号的用户名和密码即可完成订阅绑定。

  • 额外检查:部分版本中podman也在AppStream仓库,可确保该仓库已启用:
    subscription-manager repos --enable rhel-8-for-x86_64-appstream-rpms

内容的提问来源于stack exchange,提问作者Lanaya O

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.20 13:12:04