华为云安装报错:Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

尝试了网上说的更新OpenEuler.repo文件无果。最后发现绑定弹性公网IP即可。

1、购买弹性公网IP。

若已购买。直接跳到第2步即可。下图为我为了实验作业的配置。

2、绑定弹性公网IP(未绑定的话是显示绑定弹性公网IP)

在弹出的框中选择购买的IP。

如果接下来不会经常使用,可以释放IP,下次使用在购买,毕竟还是要钱的。

猜你喜欢

转载自blog.csdn.net/lianqi2003/article/details/143317364