执行下面的命令: sudo dnf install redhat-rpm-config 就可以解决你的问题了 转载于:https://www.cnblogs.com/wenhainan/p/7232535.html