我们需要在所有机器上运行 yum clean all,但有些机器有 repo - pgdg94,有些则没有
所以当我们运行这个时:
yum clean all --disablerepo=pgdg94
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Error getting repository data for pgdg94, repository not found
当 repo - pgdg94 不存在时,我们收到错误
当 repo 不存在时是否可以告诉 yum 忽略?