首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法在Ubuntu14.04上安装cURL和PHP的cURL库

无法在Ubuntu14.04上安装cURL和PHP的cURL库
EN

Stack Overflow用户
提问于 2016-06-09 04:17:01
回答 1查看 460关注 0票数 0

我尝试在Ubuntu 14.04服务器上安装curl和php5-curl,但得到以下错误:

代码语言:javascript
复制
sudo apt-get install libcurl3 php5-curl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libcurl3 is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libapparmor-perl : Depends: perl-base (>= 5.18.2-2ubuntu1) but 5.14.2-6ubuntu2.5 is to be installed
                    Depends: perlapi-5.18.2
 libcgi-fast-perl : Depends: libfcgi-perl but it is not going to be installed
 libdbd-mysql-perl : Depends: perlapi-5.18.1
 libdbi-perl : Depends: perlapi-5.18.1
 liblocale-gettext-perl : PreDepends: perl-base (>= 5.18.1-4) but 5.14.2-6ubuntu2.5 is to be installed
                          PreDepends: perlapi-5.18.1
 libperl5.18 : Depends: perl-base (= 5.18.2-2ubuntu1.1) but 5.14.2-6ubuntu2.5 is to be installed
 libsub-name-perl : Depends: perlapi-5.18.1
 libterm-readkey-perl : Depends: perlapi-5.18.1
 libtext-charwidth-perl : Depends: perl-base (>= 5.18.1-4) but 5.14.2-6ubuntu2.5 is to be installed
                          Depends: perlapi-5.18.1
 libtext-iconv-perl : Depends: perl-base (>= 5.18.1-4) but 5.14.2-6ubuntu2.5 is to be installed
                      Depends: perlapi-5.18.1
 libtext-soundex-perl : Depends: perlapi-5.18.1
 perl : Depends: perl-base (= 5.18.2-2ubuntu1.1) but 5.14.2-6ubuntu2.5 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
EN

回答 1

Stack Overflow用户

发布于 2016-06-10 04:48:49

运行apt-get -f install,并修复了这些问题。我没有理解-f install,我想我需要用它的软件包来运行它。它最终更新了所有东西,甚至还安装了我想要安装的其他软件包。

谢谢你的帮助。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/37712111

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档