Page 1 of 1

Any ideas how to avoid conflict of libcurl4 and libcurl3 ?

Posted: Tue Jan 22, 2019 1:41 pm
by Messiah
Hi!
I'm using Debian 9 and Debian 10 is coming. Some apps already require libcurl4 (I know, it's stupid to work with some specific version instead of support of any installed version of libcurl, but I'm not a developer of that apps). When I'm installing libcurl4 APT removes libcurl3, after the reboot vesta service crashes because it requires exactly libcurl3. The same happens with another apps if I instal 3dr version. Also, trying to install both gives an error:
The following packages have unmet dependencies:
libcurl4 : Conflicts: libcurl3 but 7.52.1-5+deb9u8 is to be installed
E: Unable to correct problems, you have held broken packages.
Any ideas?

Re: Any ideas how to avoid conflict of libcurl4 and libcurl3 ?

Posted: Sun Sep 29, 2019 2:55 pm
by blockmarc
Hi,
I have already upgraded my Debian installation from 9 to 10... And now I am having the issue discribed above.
vesta.service doesn't work with libcurl4 and it's not really possible to downgrade libcurl4 to libcurl3.
Have you any idea how to solve it?
Any ETA for the new update of VestaCP?
Best

Re: Any ideas how to avoid conflict of libcurl4 and libcurl3 ?

Posted: Mon Oct 07, 2019 9:56 pm
by royalpublishing
I've been dealing with this libcurl3/4 incompatibility issue for a while now and I finally figured out today that this problem doesn't exist on a fresh install of Ubuntu 18.04 and that this is a result of a problem only on systems that were upgraded from Ubuntu 16.xx to 18.xx. This was causing the vesta service not to start returning an error of "version `CURL_OPENSSL_3' not found" and preventing the main vesta UI from coming up.

When I checked "/usr/local/vesta/php/sbin/vesta-php", the size of the files were different. After more investigation, I found that "/etc/apt/sources.list.d/vesta.list" had been disabled on the distribution upgrade and also contained the old release of Ubuntu.

To fix, change /etc/apt/sources.list.d/vesta.list to

Code: Select all

deb http://apt.vestacp.com/bionic/ bionic vesta
and run

Code: Select all

apt-get update && apt-get --reinstall install vesta-nginx vesta-php

Re: Any ideas how to avoid conflict of libcurl4 and libcurl3 ?

Posted: Sun Oct 20, 2019 9:21 am
by blockmarc
@royalpublishing,
Thank you, it even works with Debian 10 !