ubuntu - 在 GitHub Actions Ubuntu runners 上安装 libzmq3-dev 时遇到问题
问题描述
我libzmq3-dev
在 GitHub Actions 上的 Ubuntu 16.04 上安装时遇到问题。这可能是我的用户错误,因为我在本地 Ubuntu 机器上安装它时没有遇到错误。我将不胜感激故障排除建议,例如我应该libzmq3-dev
在 GHA 机器上安装之前专门安装的库。
我向https://github.com/wlandau/libzmq-reprex/runs/2521101152发布了一个最小的可重现示例。相关:无法在 ubuntu 19.04 上安装 libzmq3-dev。
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.
解决方案
我在 Azure Pipelines 中遇到了同样的问题。我的解决方法是libzmq3-dev
从OpenSUSE 存储库安装。
推荐阅读
- pyhf - pyhf:使用公式的 POI 应用程序
- redux - 在 React Navigation 5 中的 redux 状态更改后,导航器不会重新渲染
- kotlin - Gradle 和 IDEA 不同意 Kotlin 源文件的去向
- python - 从标题和类标签中抓取文本
- interface - 制作一个从其他共享库“重新导出”符号的共享库
- python-3.x - 如何操作张量数组,“张量”对象不支持项目分配
- javascript - ChartJS 自定义条形图
- javascript - 如何使用 AJAX POST 到 PHP?
- javascript - 当从 mapStateToProps 返回整个流对象时,为什么流标题不呈现?
- python - 如何比较元组列表之间的元素?