Applicable to:
- SolusVM
Symptoms
Attempt to upgrade SolusVM to a new version with PHP 7.3 support using this article fails on CentOS 6 node:
CONFIG_TEXT: 2021-01-02 01:11:37 (10.6 MB/s) - `/usr/local/solusvm/tmp/updatemirrorlist.txt' saved [162/162]
Something went wrong, check /var/log/yum.log
The following errors in /tmp/update.log
file
CONFIG_TEXT: Error: Cannot find a valid baseurl for repo: base
Cause
CentOS 6 reached its End-Of-Life and standard baseurls/mirrors are no longer available, as a result it causes issues with yum package manager
Resolution
Update repository settings and use CentOS Vault Repository
- Connect to CentOS 6 node via SSH
- Create a backup of the original file:
# mv /etc/yum.repos.d/CentOS-Base.repo /root/
- Repalce CentOS-Base.repo file with Vault repository configured:
# curl https://raw.githubusercontent.com/solusvm-support/svm_patches/master/CentOS-Base.repo --output /etc/yum.repos.d/CentOS-Base.repo
- Apply theses settings on all CentOS 6 nodes. After that continue with upgrade further.
Comments
0 commentsPlease sign in to leave a comment.