在Travis CI构建之前无法安装所需的软件包(rabbitmq-server)

时间:2017-11-30 14:05:49

标签: rabbitmq continuous-integration travis-ci sha

从今天起,我遇到了Travis CI的以下问题:before_install .travis.yml部分中指定的必需包:

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.

我如何克服这个问题?我试图在本地复制这个问题,但似乎不可重现。

1 个答案:

答案 0 :(得分:-1)

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

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