首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Cobbler reposync失败,错误为404

Cobbler reposync失败,错误为404
EN

Stack Overflow用户
提问于 2017-09-03 08:11:57
回答 1查看 245关注 0票数 1

所以我在这一点上有点卡住了,并且已经尝试了Reposync的两个独立镜像。

知名人士:

我正在尝试通过cobbler reposync下载Debian 9.1 (stretch)。

SElinux处于允许模式。

没有防火墙阻止流量。

Wget on files in the repo成功。

错误消息:

代码语言:javascript
复制
cobbler reposync
task started: 2017-09-02_183335_reposync
task started (id=Reposync, time=Sat Sep  2 18:33:35 2017)
hello, reposync
run, reposync, run!
running: /usr/bin/debmirror --nocleanup --verbose --ignore-release-gpg --method=http --host=ftp.us.debian.org --root=/debian/dists/stretch --dist=stretch,stretch-updates,stretch-security --section=main,universe /var/www/cobbler/repo_mirror/Debian_9.1-xen-x86_64 --nosource -a amd64
received on stdout: Mirroring to /var/www/cobbler/repo_mirror/Debian_9.1-xen-x86_64 from http://ftp.us.debian.org/debian/dists/stretch/
Arches: amd64
Dists: stretch,stretch-updates,stretch-security
Sections: main,main/debian-installer,contrib,non-free,main,universe
Pdiff mode: use
Will NOT clean up.
Attempting to get lock ...
Updating remote trace files (using rsync) ...

receiving incremental file list
./

sent 124 bytes  received 76 bytes  400.00 bytes/sec
total size is 0  speedup is 0.00
Getting meta files ...
[  0%] Getting: dists/stretch/Release... [  0%] Getting: dists/stretch-updates/Release... [  0%] Getting: dists/stretch-security/Release... Errors:
 Download of dists/stretch/Release failed: 404 Not Found
 Download of dists/stretch-updates/Release failed: 404 Not Found
 Download of dists/stretch-security/Release failed: 404 Not Found

received on stderr: failed 404 Not Found
failed 404 Not Found
failed 404 Not Found
Failed to download some Release or Release.gpg files!
releasing 1 pending lock... at /usr/share/perl5/vendor_perl/LockFile/Simple.pm line 206.

Exception occured: <class 'cobbler.cexceptions.CX'>
Exception value: 'cobbler reposync failed'
Exception Info:
  File "/usr/lib/python2.7/site-packages/cobbler/utils.py", line 106, in die
    raise CX(msg)

Exception occured: <class 'cobbler.cexceptions.CX'>
Exception value: 'cobbler reposync failed'
Exception Info:
  File "/usr/lib/python2.7/site-packages/cobbler/action_reposync.py", line 119, in run
    self.sync(repo)
   File "/usr/lib/python2.7/site-packages/cobbler/action_reposync.py", line 165, in sync
    return self.apt_sync(repo)
   File "/usr/lib/python2.7/site-packages/cobbler/action_reposync.py", line 537, in apt_sync
    utils.die(self.logger,"cobbler reposync failed")
   File "/usr/lib/python2.7/site-packages/cobbler/utils.py", line 114, in die
    raise CX(msg)

reposync failed, tries left: 0

我可能在这里遗漏了一些东西,但它确实看起来请求的结构(文件夹层次结构)与我尝试重新同步的镜像的结构不匹配。

我不知道在哪里寻找具体的,任何建议的指针是感激的。谢谢。

EN

回答 1

Stack Overflow用户

发布于 2017-09-27 22:58:19

在我看来,这是Cobbler之外的一个问题。将您的日志中的debmirror命令剪切/粘贴到终端窗口中,以交互方式运行该命令,并查看运行情况。一旦你得到了debmirros命令的工作,你可以再次尝试Cobbler reposync。

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

https://stackoverflow.com/questions/46019252

复制
相关文章

相似问题

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