【问题标题】:Trouble installing libzmq3-dev on GitHub Actions Ubuntu runners在 GitHub Actions Ubuntu runners 上安装 libzmq3-dev 时遇到问题
【发布时间】:2021-05-07 18:08:51
【问题描述】:

我在 GitHub Actions 上的 Ubuntu 16.04 上安装 libzmq3-dev 时遇到问题。 这可能是我的用户错误,因为我在本地 Ubuntu 机器上安装它时没有遇到错误。我希望得到故障排除建议,例如我应该在 libzmq3-dev 之前在 GHA 机器上安装的库。

我向https://github.com/wlandau/libzmq-reprex/runs/2521101152 发布了一个最小的可重现示例。 相关:Cannot install libzmq3-dev on ubuntu 19.04.

Run sudo apt-get install libzmq3-dev
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libzmq3-dev : Depends: libzmq5 (= 4.1.4-7ubuntu0.1) but 4.3.1-5+ubuntu16.04.1+deb.sury.org+1 is to be installed
E: Unable to correct problems, you have held broken packages.
Error: Process completed with exit code 100.

【问题讨论】:

标签: ubuntu zeromq github-actions failed-installation


【解决方案1】:

我在 Azure Pipelines 中遇到了同样的问题。我的解决方法是从OpenSUSE repository 安装libzmq3-dev。

【讨论】:

    猜你喜欢
    • 2012-08-27
    • 2015-07-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-12-24
    相关资源
    最近更新 更多