开发者社区> 问答> 正文

同步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 12639 0
来自:镜像站
6 条回答
写回答
取消 提交回答
  • 来看一看

    2022-06-23 08:58:24
    赞同 展开评论 打赏
  • 这个好像和网络有关系,具体不太懂,当时我好像是换Https的就可以了

    2022-06-20 09:29:19
    赞同 展开评论 打赏
  • 亲,镜像站目前不支持rsync呢

    2022-04-26 16:18:38
    赞同 展开评论 打赏
  • 地址错误?

    2022-04-21 21:03:49
    赞同 展开评论 打赏
滑动查看更多
问答分类:
问答地址:
来源圈子
更多
收录在圈子:
+ 订阅
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载