开发者社区 问答 正文

同步epel不成功

同步epel不成功,

使用https地址时提示如下

ssh: Could not resolve hostname https: Name or service not known rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: unexplained error (code 255) at io.c(226) [Receiver=3.1.2]

使用rsync地址是脚本无反应,中止脚本后提示如下 rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(638) [Receiver=3.1.2]

需要配置端口吗

命令如下: /usr/bin/rsync -avrt --delete --exclude=debug/ --exclude=isos/ --exclude=SRPMS/ --exclude=ppc/ --delete-excluded --ignore-errors --include=6/x86_64 --include=6.2017-11-07/x86_64 rsync://mirrors.aliyun.com/epel-archive/ /yum_kms/epel-archive/

展开
收起
游客palv3nhwrkzoq 2022-04-21 16:34:31 12676 分享
分享
版权
来自: 镜像站 举报
6 条回答
写回答
取消 提交回答
  • 来看一看

    2022-06-23 08:58:24 举报
    赞同 评论

    评论

    全部评论 (0)

    登录后可评论
  • 这个好像和网络有关系,具体不太懂,当时我好像是换Https的就可以了

    2022-06-20 09:29:19 举报
    赞同 评论

    评论

    全部评论 (0)

    登录后可评论
  • 亲,镜像站目前不支持rsync呢

    2022-04-26 16:18:38 举报
    赞同 评论

    评论

    全部评论 (0)

    登录后可评论
  • 地址错误?

    2022-04-21 21:03:49 举报
    赞同 展开评论

    评论

滑动查看更多
问答分类:
问答地址: