Created
January 17, 2023 01:56
-
-
Save wonderbeyond/90b1b9dd4bc5e0ca64e0afe04075a1d7 to your computer and use it in GitHub Desktop.
Replace apt source mirror using sed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sed -i 's/deb.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See also https://gist.github.com/yusufhm/b9b1790609431105a408290832b677ca