# yum update
Loaded plugins: fastestmirror
Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. $releasever is not a valid release or hasnt been released yet/
removing mirrorlist with no valid mirrors: /var/cache/yum/addons/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: addons
I tried to manually install the package:
# wget http://centos.patan.com.ar/5.4/os/x86_64/CentOS/centos-release-5-4.el5.centos.1.x86_64.rpm
# wget http://centos.patan.com.ar/5.4/os/x86_64/CentOS/centos-release-notes-5.4-4.x86_64.rpm
# rpm -Uvh centos-release-5-4.el5.centos.1.x86_64.rpm centos-release-notes-5.4-4.x86_64.rpm --nodeps
and got it fixed.
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步