需要帮助在 Xubuntu 16.04 上安装 curl

需要帮助在 Xubuntu 16.04 上安装 curl

进入后

sudo apt-get install curl

我明白了

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.

我不知道这意味着什么或如何去解决它,所以任何帮助都将不胜感激。

答案1

您可以使用以下命令安装指定的 libcurl 版本:

sudo apt-get install libcurl3-gnutls=7.47.0-1ubuntu2

然后安装 curl

sudo apt-get update && sudo apt-get install curl

相关内容