You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello i'm on centros 8 and try to update on centros 8,5;
So I try the mirror code, but it don't works, i guess i have to change this part : /etc/yum.repos.d/CentOS-Linux-BaseOS.repo
But not sure, i case i'm right , where can i have the right file name on my centros serveur ?
This link "mirrorlist.centos.org" is a exemple link? because he looks to be broke..
Thank's for your help
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello i'm on centros 8 and try to update on centros 8,5;
So I try the mirror code, but it don't works, i guess i have to change this part : /etc/yum.repos.d/CentOS-Linux-BaseOS.repo
But not sure, i case i'm right , where can i have the right file name on my centros serveur ?
This link "mirrorlist.centos.org" is a exemple link? because he looks to be broke..
Thank's for your help
sudo sed -i -e '/mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=/ s/^#/#/' -e '/baseurl=http://mirror.centos.org/$contentdir/$releasever// s/^#/#/' -e '/^[baseos]/a baseurl=https://mirror.rackspace.com/centos-vault/8.5.2111/BaseOS/$basearch/os' /etc/yum.repos.d/CentOS-Linux-BaseOS.repo
sudo sed -i -e '/mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=/ s/^#/#/' -e '/baseurl=http://mirror.centos.org/$contentdir/$releasever// s/^#/#/' -e '/^[appstream]/a baseurl=https://mirror.rackspace.com/centos-vault/8.5.2111/AppStream/$basearch/os' /etc/yum.repos.d/CentOS-Linux-AppStream.repo
sudo sed -i -e '/mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=/ s/^#/#/' -e '/baseurl=http://mirror.centos.org/$contentdir/$releasever// s/^#/#/' -e '/^[cr]/a baseurl=https://mirror.rackspace.com/centos-vault/8.5.2111/ContinuousRelease/$basearch/os' /etc/yum.repos.d/CentOS-Linux-ContinuousRelease.repo
sudo sed -i -e '/mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=/ s/^#/#/' -e '/baseurl=http://mirror.centos.org/$contentdir/$releasever// s/^#/#/' -e '/^[devel]/a baseurl=https://mirror.rackspace.com/centos-vault/8.5.2111/Devel/$basearch/os' /etc/yum.repos.d/CentOS-Linux-Devel.repo
sudo sed -i -e '/mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=/ s/^#/#/' -e '/baseurl=http://mirror.centos.org/$contentdir/$releasever// s/^#/#/' -e '/^[extras]/a baseurl=https://mirror.rackspace.com/centos-vault/8.5.2111/extras/$basearch/os' /etc/yum.repos.d/CentOS-Linux-Extras.repo
sudo sed -i -e '/mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=/ s/^#/#/' -e '/baseurl=http://mirror.centos.org/$contentdir/$releasever// s/^#/#/' -e '/^[fasttrack]/a baseurl=https://mirror.rackspace.com/centos-vault/8.5.2111/fasttrack/$basearch/os' /etc/yum.repos.d/CentOS-Linux-FastTrack.repo
sudo sed -i -e '/mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=/ s/^#/#/' -e '/baseurl=http://mirror.centos.org/$contentdir/$releasever// s/^#/#/' -e '/^[ha]/a baseurl=https://mirror.rackspace.com/centos-vault/8.5.2111/HighAvailability/$basearch/os' /etc/yum.repos.d/CentOS-Linux-HighAvailability.repo
sudo sed -i -e '/mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=/ s/^#/#/' -e '/baseurl=http://mirror.centos.org/$contentdir/$releasever// s/^#/#/' -e '/^[plus]/a baseurl=https://mirror.rackspace.com/centos-vault/8.5.2111/centosplus/$basearch/os' /etc/yum.repos.d/CentOS-Linux-Plus.repo
sudo sed -i -e '/mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=/ s/^#/#/' -e '/baseurl=http://mirror.centos.org/$contentdir/$releasever// s/^#/#/' -e '/^[powertools]/a baseurl=https://mirror.rackspace.com/centos-vault/8.5.2111/PowerTools/$basearch/os' /etc/yum.repos.d/CentOS-Linux-PowerTools.repo
Beta Was this translation helpful? Give feedback.
All reactions