New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[New] 能否镜像 ppa 仓库里的软件? #43
Comments
每个 PPA 都是个独立的仓库,无法统一的镜像,过于零散,也不好操作。 |
好吧=。= |
也可以考虑通过反向代理的形式? |
可以考虑反向代理 |
这个反向代理的后端不对,应该是 给一个测试路径(git-core): |
问题可以复现 |
http://launchpad.proxy.ustclug.org 这个要如何使用呢? |
把ppa仓库中的ppa.launchpad.net换成那个就行了 |
@abcfy2 请问在哪呢,我看 /etc/apt/sources.list 里没有 |
找到了 /etc/apt/sources.list.d |
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' {} \;
# 或者强制HTTPS
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 https://launchpad.proxy.ustclug.org#ig' {} \; 现在虽然ppa官方仓库没有https(但是USTC有)以后PPA官方支持了HTTPS以后上面的替换正则依然适用 另外赞一下USTC |
@ihipop 已更新 |
多谢! |
使用ustc镜像后apt-get update正常执行,然后通过apt-get安装nvidia驱动失败 |
dig命令显示ppa.launchpad.net是解析到英国,可以考虑看一下LUG在DO新加坡服务器的是不是绕路了。建议 迁移/新增 到AMS2区,回国ping 200ms左右。 另外我确实也经常觉得launchpad的反代速度提升不大。现在换Arch Linux了,AUR大法好(逃 |
最近是不是挂掉了?修改后apt-get update会Ign掉 |
@ihipop brilliant |
great! |
好人呐~~~~内流满面。。。 |
http已被墙,请换用https,解决connection failed问题。 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 https\2://launchpad.proxy.ustclug.org#ig' {} \; 已经修改的,手动到 |
Mirror http://launchpad.proxy.ustclug.org/ is not working!!! (Feb 17 2023) |
@danielhu19 See ustclug/discussions#325 (comment) |
使用 apt 软件的时候,需要一些额外的软件,但是这些软件在科大的镜像站上没有,需要添加 ppa 源,但是直接下载 ppa 的软件特别慢,能否将 ppa 仓库里的软件做个镜像?
The text was updated successfully, but these errors were encountered: