Something really messed up happened to my pi2 after the latest update (no idea when it was).
It has replace libcurl3 with libcurl4 and now a php5.6 server that i was running with lighttpd isnt working properly anymore.
I have a pretty old php script for accounting and i was hosting it on pi because it was convinient since it was running 24/7. Mostly i need CURL running which isnt anymore.
The following packages have unmet dependencies:
php5-curl : Depends: libcurl3 (>= 7.18.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Trying to install it via aptitude gives:
Need to get 259 kB of archives. After unpacking 562 kB will be used.
The following packages have unmet dependencies:
libcurl4 : Conflicts: libcurl3 but 7.38.0-4+deb8u16 is to be installed
The following actions will resolve these dependencies:
Remove the following packages:
1) apache2-bin [2.4.38-3+deb10u4 (now, stable)]
2) armv7-network-osmc [1.7.9 (<NULL>, now)]
3) armv7-transmission-app-osmc [2.9.4-5 (<NULL>, now)]
4) curl [7.64.0-4+deb10u1 (now, stable)]
5) libapache2-mod-php7.0 [7.0.33-0+deb9u10 (now)]
6) libapache2-mod-php7.3 [7.3.19-1~deb10u1 (now, stable)]
7) libcurl4 [7.64.0-4+deb10u1 (now, stable)]
8) php [2:7.3+69 (now, stable)]
9) php-curl [2:7.3+69 (now, stable)]
10) php7.3 [7.3.19-1~deb10u1 (now, stable)]
11) php7.3-curl [7.3.19-1~deb10u1 (now, stable)]
12) rbp2-device-osmc [1.5.4 (<NULL>, now)]
13) rbp2-mediacenter-osmc [18.8.0-3 (<NULL>, now)]
which grabs osmc as well which is a no no.
Is there a way i can keep both libraries ? Or does anyone know what to do in this situation ?
Thanks