如何避免 libcurl4 包冲突?

时间:2021-02-23 01:08:47

标签: curl passenger ubuntu-18.04 passenger-apache

我在 ubuntu 18 中遇到包依赖问题。 在ubuntu 18中使用apache和passenger在rails上部署ruby后,我尝试使用curl进行测试

curl localhost

它说

Command 'curl' not found, but can be installed with:
sudo apt install curl

所以我尝试了

sudo apt-get install curl

然后它说

The following packages have unmet dependencies:
 curl : Depends: libcurl4 (= 7.58.0-2ubuntu3.12) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

我安装了 libcurl4,然后成功安装了 curl。 在那位乘客摔倒之后,网站就瘫痪了。

如何避免此类问题? ubuntu 18中curl和passenger有包依赖冲突吗?

0 个答案:

没有答案