Установка curl в Ubuntu 18.04 удалить libcurl3

Попытка установить curl на мою Ubuntu 18.04 требует от меня удаления некоторых вещей, которые должны запускать другие программы в моей системе.

Чтобы установить curl из apt install curl, мне нужно было сделать следующее:

aptitude install curl
The following NEW packages will be installed:
  curl libcurl4{ab}
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 373 kB of archives. After unpacking 1,036 kB will be used.
The following packages have unmet dependencies:
 libcurl3 : Conflicts: libcurl4 but 7.58.0-2ubuntu3.7 is to be installed
 libcurl4 : Conflicts: libcurl3 but 7.58.0-2ubuntu2 is installed
The following actions will resolve these dependencies:

     Remove the following packages:
1)     libcurl-openssl1.0-dev [7.58.0-2ubuntu2 (bionic, now)]
2)     libcurl3 [7.58.0-2ubuntu2 (bionic, now)]



Accept this solution? [Y/n/q/?] Y
The following NEW packages will be installed:
  curl libcurl4{a}
The following packages will be REMOVED:
  libcurl-openssl1.0-dev{a} libcurl3{a} libssl1.0-dev{u}
0 packages upgraded, 2 newly installed, 3 to remove and 0 not upgraded.
Need to get 373 kB of archives. After unpacking 8,252 kB will be freed.
Do you want to continue? [Y/n/?] Y

Чтобы восстановить приложение php, мне нужно сделать:

apt install libcurl3 libcurl-openssl1.0-dev

Как я могу найти способ иметь оба в моей системе?

0
задан 30 May 2019 в 04:21

1 ответ

Бинарный файл curl связан только с новейшей библиотекой libcurl4. Вам нужно:

apt install libcurl4 libcurl4-openssl-dev curl 

, чтобы иметь все самое новое. Я предлагаю скомпилировать curl вручную, если вы хотите, чтобы вас связывали с "libcurl3 libcurl-openssl1.0-dev"

0
ответ дан 30 May 2019 в 04:21

Другие вопросы по тегам:

Похожие вопросы: