You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

CentOS 7 YUM仓库完全恢复求助

CentOS 7 YUM仓库完全恢复求助

我已经谷歌过所有能找到的解决方案,还是搞不定。之前有个管理员安装mssql包的时候加了个仓库,结果把yum搞崩了,之后他试了各种办法修复,我也跟着试了,但都没用。

我把所有仓库都删掉了,想从头再来。Stack上的一些方案建议我试这些命令:

  • rpm -Uvh --force http://mirror.centos.org/centos-7/7/os/x86_64/Packages/centos-release-7.3.10.1160.88.1.el7.centos.x86_64.rpm

    返回错误:curl: (22) The requested URL returned error: 404 Not Found

  • rpm -Uvh --force http://mirror.centos.org/centos-7/7/os/x86_64/Packages/centos-release-7.3.10.1160.88.1.el7.centos.x86_64.rpm

    同样返回404错误

  • rpm -iv --replacepkgs http://vault.centos.org/7.3.10/BaseOS/x86_64/os/Packages/centos-release-7.3.10.1160.88.1.el7.centos.x86_64.rpm

    还是404 Not Found

我还从另一台CentOS 7机器上复制了yum.repos.d目录,但那台机器的版本是3.10.0-1062.18.1.el7.x86_64,而我这台是3.10.0-1160.88.1,也没起作用。

我现在快被逼疯了,根据目前查到的信息,我需要一个叫centos-release-7.3.10.1160.88.1.el7.centos.x86_64.rpm的包来正确恢复仓库,但就是找不到。有没有人能帮帮我?

备注:内容来源于stack exchange,提问作者jerryrig

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.21 16:28:06