Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Use this command line script to pin Rocky repository urls to 8.4

sudo sed -e 's|^mirrorlist=|#mirrorlist=|g' \
         -e 's|^#baseurl=http://dl.rockylinux.org/$contentdir/$releasever|baseurl=https://dl.rockylinux.org/vault/rocky/8.4|g' \
         -i.bak \
         /etc/yum.repos.d/Rocky-AppStream.repo \
         /etc/yum.repos.d/Rocky-BaseOS.repo \
         /etc/yum.repos.d/Rocky-Devel.repo \
         /etc/yum.repos.d/Rocky-Extras.repo \
         /etc/yum.repos.d/Rocky-HighAvailability.repo \
         /etc/yum.repos.d/Rocky-Media.repo \
         /etc/yum.repos.d/Rocky-Plus.repo \
         /etc/yum.repos.d/Rocky-PowerTools.repo \
         /etc/yum.repos.d/Rocky-RT.repo \
         /etc/yum.repos.d/Rocky-Sources.repo
  • No labels