【问题标题】:use sonatype nexus for macports将 sonatype nexus 用于 macports
【发布时间】:2017-03-14 20:15:57
【问题描述】:

有没有办法使用 macports 代理设置 Sonatype Nexus。我试过了,但我找不到 nexus 支持 rsync。

/opt/local/etc/macports/sources.conf 可以采用http协议,但在我的情况下不起作用

我在 macports.conf 中配置代理

proxy_http proxy.local.dev:80 proxy_https proxy.local.dev:80

但当我尝试安装软件包时出现 403 禁止错误

$sudo port install ack

错误:

0DEBUG: Fetching distfile failed: The requested URL returned error: 403

【问题讨论】:

    标签: macports sonatype


    【解决方案1】:

    目前不支持此功能。您目前最好的选择是尝试使用原始存储库作为代理,但您可能已经尝试过。

    另一个更有趣但更耗时的选择是创建自己的格式!我们的一位社区成员使用 APT 完成了这项工作,您可以在此处查看他们的工作:https://github.com/mpoindexter/nexus-repository-apt

    【讨论】:

      猜你喜欢
      • 2013-01-21
      • 2014-05-20
      • 2017-07-04
      • 2015-02-14
      • 2021-04-11
      • 1970-01-01
      • 1970-01-01
      • 2017-05-18
      • 2016-01-19
      相关资源
      最近更新 更多