Potrzebujesz pomocy w instalacji curl na Xubuntu 16.04


9

Po wejściu

sudo apt-get install curl

Dostaję wiadomość

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.

Nie mam pojęcia, co to znaczy ani jak to naprawić, więc każda pomoc byłaby mile widziana.


3
Czy pobiegłeś sudo apt-get updatepierwszy?
steeldriver

@steeldriver. To nie pomaga
Green

Odpowiedzi:


12

Możesz zainstalować określoną wersję libcurl za pomocą:

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

a następnie zainstaluj curl

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

To zadziałało dla mnie.
ksl

Wielkie dzięki!! Byłeś świetny!!
Sergio Abreu
Korzystając z naszej strony potwierdzasz, że przeczytałeś(-aś) i rozumiesz nasze zasady używania plików cookie i zasady ochrony prywatności.
Licensed under cc by-sa 3.0 with attribution required.