Linux

How to fix yum install error on centos | Cannot find a valid baseurl for repo: base/7/x86_64



How to fix yum install error on centos | Cannot find a valid baseurl for repo: base/7/x86_64, CentOS 7 after end of life, update …

[ad_2]

source

Related Articles

6 Comments

  1. [base]

    name=CentOS-$releasever – Base

    baseurl=https://vault.centos.org/7.9.2009/os/$basearch/

    gpgcheck=1

    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

    enabled=1

    [updates]

    name=CentOS-$releasever – Updates

    baseurl=https://vault.centos.org/7.9.2009/updates/$basearch/

    gpgcheck=1

    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

    enabled=1

    [extras]

    name=CentOS-$releasever – Extras

    baseurl=https://vault.centos.org/7.9.2009/extras/$basearch/

    gpgcheck=1

    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

    enabled=1

    [centosplus]

    name=CentOS-$releasever – Plus

    baseurl=https://vault.centos.org/7.9.2009/centosplus/$basearch/

    gpgcheck=1

    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

    enabled=0

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button