首页 > 其他分享 >Detection of Platform Module failed: 没有检测到有效的 Platform ID

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

时间:2024-05-22 09:41:29浏览次数:12  
标签:failed platform Module Detection 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“。

标签:failed,platform,Module,Detection,Platform,ID
From: https://www.cnblogs.com/liusingbon/p/18205527

相关文章