Detection of Platform Module failed: 没有检测到有效的 Platform ID

问题描述:Detection of Platform Module failed: 没有检测到有效的 Platform ID

华为欧拉系统搭建本地yum源,执行dnf makecache后,报错”Detection of Platform Module failed: 没有检测到有效的 Platform ID“

这个问题通常出现在尝试使用YUM进行软件包管理时,特别是在华为的欧拉(EulerOS)操作系统上。

解决途径:

在/etc/yum.conf追加设置默认platform id

module_platform_id=platform:f30

再次执行dnf makecache不再报错”没有检测到有效的 Platform ID“。

posted @ 2024-05-22 09:37  巴州夜雨  阅读(139)  评论(0编辑  收藏  举报