2

Apache2 and Apache2-bin seem to depend on libcurl3. How can I get them to install now that I upgraded to libcurl4?

sudo apt-get install apache2-bin
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 apache2-bin : Depends: libcurl3 (>= 7.28.0) but it is not installable
E: Unable to correct problems, you have held broken packages.
user1413341
  • 163
  • 5
  • Upgraded to libcurl4 how exactly? Which software distribution (Debian based?) and what version? – John Mahowald Dec 23 '20 at 18:51
  • Debian 10. I don't recall how I upgraded to libcurl4. – user1413341 Dec 23 '20 at 19:02
  • 1
    What are your apt sources? – Michael Hampton Dec 23 '20 at 21:44
  • deb http://deb.debian.org/debian/ buster main deb-src http://deb.debian.org/debian/ buster main deb http://security.debian.org/ buster/updates main deb-src http://security.debian.org/ buster/updates main deb http://deb.debian.org/debian/ buster-updates main deb-src http://deb.debian.org/debian/ buster-updates main – user1413341 Dec 23 '20 at 23:05
  • The version of `apache2-bin` shipped with Debian 10 (version 2.4.38-3+deb10u4) requires `libcurl4 (>= 7.16.2)`. An `apache2-bin` dependent on `libcurl3` does not appear in any official Debian version. Check also if you don't have any additional sources in `/etc/apt/sources.list.d` and perform an `apt update`. – Piotr P. Karwasz Dec 23 '20 at 23:05
  • In `/etc/apt/sources.list.d/apache2.list`, it has `deb https://packages.sury.org/apache2/ stretch main` Should I change `strecth` to `buster`? Is there a way to automatically change all of these files to `buster`? – user1413341 Dec 24 '20 at 00:02

0 Answers0