Skip to content

Instantly share code, notes, and snippets.

@gastonfeng
Last active December 5, 2023 08:42
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save gastonfeng/eb9f08d9abc62604538ca264eb95f830 to your computer and use it in GitHub Desktop.
Save gastonfeng/eb9f08d9abc62604538ca264eb95f830 to your computer and use it in GitHub Desktop.
PPA 镜像加速
PPA 镜像加速
2018年7月26日 BY : TATERLI
这里有USTC的反向代理.
https://lug.ustc.edu.cn/wiki/mirrors/help/revproxy
只要一句话,全替换成USTC加速的PPA.再也不担心了.
1
sudo find /etc/apt/sources.list.d/ -type f -name "*.list" -exec  sed  -i.bak -r  's#deb(-src)?\s*http(s)?://ppa.launchpad.net#deb\1 http\2://launchpad.proxy.ustclug.org#ig' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment