【问题标题】:Unable to install required package (rabbitmq-server) before Travis CI build在 Travis CI 构建之前无法安装所需的包(rabbitmq-server)
【发布时间】:2017-12-03 02:02:48
【问题描述】:

从今天开始,我在使用 Travis CI 时遇到以下问题:.travis.ymlbefore_install 部分中指定的所需包:

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq rabbitmq-server

无法安装,破坏了构建。

Travis 控制台日志显示的响应:

$ sudo apt-get update -qq
W: http://ppa.launchpad.net/couchdb/stable/ubuntu/dists/trusty/Release.gpg: Signature by key 15866BAFD9BCC4F3C1E0DFC7D69548E1C17EAB57 uses weak digest algorithm (SHA1)
$ sudo apt-get install -qq rabbitmq-server
E: Unable to correct problems, you have held broken packages.
The command "sudo apt-get install -qq rabbitmq-server" failed and exited with 100 during .
Your build has been stopped.

我将如何克服这个问题?我已尝试在本地复制该问题,但似乎无法重现。

【问题讨论】:

    标签: rabbitmq continuous-integration travis-ci sha


    【解决方案1】:

    我用这个搜索字符串搜索了谷歌 - "failed and exited with 100" apt install - 这是第一次点击:

    https://github.com/travis-ci/travis-ci/issues/7998

    【讨论】:

    • 你认为我无法谷歌吗?另外,请阅读stackoverflow.com/help/how-to-answer
    • 您的问题没有提供有关您尝试解决此问题的任何信息,所以是的,我的第一个想法是您没有搜索错误消息。我可以很容易地链接到这个 - stackoverflow.com/help/asking。 travis-ci repo 中的那个问题链接到其他几个问题,其中一个可能是您遇到的问题。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-06-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多