Articles in this section

How to update CentOS 7 repositories after its End of Life (EOF)

Applicable to:

  • SolusVM
  • SolusVM 2

Question

How to update CentOS 7 repositories after OS EOL ?

Answer

Create repos backup and run the following commands which will replace the broken links:

# sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/CentOS-*
# sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/CentOS-*
# sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/CentOS-*

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.