0

I need php7.2-curl. But on Debian 10 apt says that it cannot be installed due to a dependency with libcurl3. But libcurl3 cannot be installed (it gives me no reason).

Must I rollback to Debian 9.9?

I already tried to switch to PHP 7.3, but even php7.3-curl depends on libcurl3!

2

If you want to install PHP 7.2, you’ll probably have to revert to Debian 9, yes. The libcurl transition is a rather complex one and it’s impossible to mix and match libcurl3 and libcurl4-based packages; since Debian 10 uses libcurl4, you need to use packages depending on that. (Ondrej may well provide Debian 10-compatible PHP 7.2 packages at some point, I don’t know what the plans are.)

On Debian 10, you should be able to install PHP 7.3, php7.3-curl depends on libcurl4. If you can’t, you’ve probably got conflicting repositories in your configuration; make sure you only attempt to install PHP packages from Debian itself.

  • Sorry to say that even php7.3 depends on libcurl3... But thanks, I rollbacked to debian 9.9 – realtebo Jul 12 at 14:53
  • 1
    Did you follow the link? php7.3 in Debian 10 most definitely does not depend on libcurl3. I have it installed on Debian 10 with no external repositories and it works fine. – Stephen Kitt Jul 12 at 14:56
  • I don not know why. My php7.3-curl needs libcurl3. I just downloaded official iso and retried on a clean vm. Sorry to says that. I read that for Debian the php7.x packages have been rebuild to allow both libcurl3 and 4. But i cannot see this relaxed config in the package – realtebo Jul 13 at 17:05
  • You installed from a Debian 10 ISO, then without configuring any extra repositories, you installed php7.3-curl, and it failed because it couldn’t find libcurl3? – Stephen Kitt Jul 13 at 17:16
  • Could you edit your question to show the output of apt policy php7.3-curl? – Stephen Kitt Jul 13 at 17:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.