首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >设置本地镜像

设置本地镜像
EN

Server Fault用户
提问于 2019-11-08 14:12:10
回答 1查看 926关注 0票数 1

特别是对于Wheezy,是否有人知道一些现有的镜像脚本是否仍然有效,或者可以为我指出正确的开始方向?

例如,Deb镜像将与archive.debian.org?https://help.ubuntu.com/community/Debmirror一起工作吗?

我已经在我的Ubuntu 16“镜像服务器”(我的工作的本地Ubuntu 16镜像,并希望它也可以是本地Wheezy镜像)上安装了最新的反镜像。

我想它是在做某种“http上的rsync”。错误输出的一小部分:

代码语言:javascript
运行
复制
+ debmirror -a i386 --no-source -s main,restricted,universe,multiverse -h archive.debian.org -d wheezy,wheezy-security,wheezy-updates -r /debian --progress --method=http /[REMOVED]/DebianMirror
Mirroring to /array0/DebianMirror from http://archive.debian.org/debian/
Arches: i386
Dists: wheezy,wheezy-security,wheezy-updates
Sections: main,restricted,universe,multiverse
Pdiff mode: use
Will clean up after mirroring.
Attempting to get lock ...
Updating remote trace files (using rsync) ...
rsync: failed to connect to archive.debian.org (217.196.149.234): Connection refused (111)
...
rsync error: error in socket IO (code 10) at clientserver.c(128) [Receiver=3.1.1]
Warning: failed to use rsync to download extra files.
Getting meta files ...
[  0%] Getting: dists/wheezy/Release...          #** GET http://archive.debian.org/debian/dists/wheezy/Release ==> 500 Status read failed: Connection reset by peer (1s)
failed 500 Status read failed: Connection reset by peer
...
failed 500 Status read failed: Connection reset by peer
Errors:
 Download of dists/wheezy/Release failed: 500 Status read failed: Connection reset by peer
...
Failed to download some Release, Release.gpg or InRelease files!
WARNING: releasing 1 pending lock...
EN

回答 1

Server Fault用户

发布于 2019-11-10 13:03:29

apt镜像看起来很好:https://blog.programster.org/create-your-own-debian-7-mirror

我被一个网络问题抛弃了,但它似乎在archive.debian.org上运行得很好。

票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/991092

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档