安装 curl 失败

huiems 2016-11-04 01:28:13
我安装时报缺少依赖,不知道该怎么弄,请帮帮我,谢谢。
root@vagrant-ubuntu-trusty-64:~# apt-get install curl libcurl3 libcurl3-dev php5-curl
The following packages have unmet dependencies:
libcurl4-openssl-dev : Depends: libcurl3 (= 7.35.0-1ubuntu2) but 7.35.0-1ubuntu2.9 is to be installed
Depends: libidn11-dev but it is not going to be installed
Depends: libkrb5-dev but it is not going to be installed
Depends: libldap2-dev but it is not going to be installed
Depends: librtmp-dev but it is not going to be installed
Depends: libssl-dev but it is not going to be installed
php5-curl : Depends: php5-common (= 5.5.9+dfsg-1ubuntu4) but 5.5.9+dfsg-1ubuntu4.20 is to be installed
E: Unable to correct problems, you have held broken packages.
...全文
602 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
傲雪星枫 2016-11-06
  • 打赏
  • 举报
回复
php5-curl : Depends: php5-common 先按装缺少的依赖。 sudo apt-get install php5-common

21,886

社区成员

发帖
与我相关
我的任务
社区描述
从PHP安装配置,PHP入门,PHP基础到PHP应用
社区管理员
  • 基础编程社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧