Skip to content

Instantly share code, notes, and snippets.

@dev-gwang
Last active September 27, 2021 06:24
Show Gist options
  • Save dev-gwang/6290648925d69a58d0638966ad91c26e to your computer and use it in GitHub Desktop.
Save dev-gwang/6290648925d69a58d0638966ad91c26e to your computer and use it in GitHub Desktop.
centos6 yum repo fix
### yum mirrorlist patch command
echo "https://vault.centos.org/6.10/os/x86_64/" > /var/cache/yum/x86_64/6/base/mirrorlist.txt
echo "https://vault.centos.org/6.10/extras/x86_64/" > /var/cache/yum/x86_64/6/extras/mirrorlist.txt
echo "https://vault.centos.org/6.10/updates/x86_64/" > /var/cache/yum/x86_64/6/updates/mirrorlist.txt
echo "https://vault.centos.org/6.10/centos-sclo-rh/x86_64/" > /var/cache/yum/x86_64/6/centos-sclo-rh/mirrorlist.txt
echo "https://vault.centos.org/6.10/sclo/x86_64/rh/" > /var/cache/yum/x86_64/6/centos-sclo-sclo/mirrorlist.txt
@aguaiyoung
Copy link

echo "https://vault.centos.org/6.10/centos-sclo-sclo/x86_64/" > /var/cache/yum/x86_64/6/centos-sclo-sclo/mirrorlist.txt
maybe wirte
echo https://vault.centos.org/6.10/sclo/x86_64/rh/" > /var/cache/yum/x86_64/6/centos-sclo-sclo/mirrorlist.txt

@dev-gwang
Copy link
Author

echo "https://vault.centos.org/6.10/centos-sclo-sclo/x86_64/" > /var/cache/yum/x86_64/6/centos-sclo-sclo/mirrorlist.txt
maybe wirte
echo https://vault.centos.org/6.10/sclo/x86_64/rh/" > /var/cache/yum/x86_64/6/centos-sclo-sclo/mirrorlist.txt

thank you for telling me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment