进入后
sudo apt-get install curl
Run Code Online (Sandbox Code Playgroud)
我收到消息
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:
curl : Depends: libcurl3-gnutls (= 7.47.0-1ubuntu2) but 7.47.0-1ubuntu2.1 is to be installed
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)
我不知道这意味着什么或如何解决它,所以任何帮助将不胜感激。
小智 14
您可以使用以下命令安装指定的 libcurl 版本:
sudo apt-get install libcurl3-gnutls=7.47.0-1ubuntu2
Run Code Online (Sandbox Code Playgroud)
然后安装 curl
sudo apt-get update && sudo apt-get install curl
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
7058 次 |
| 最近记录: |