Packages have unmet dependencies: curl : Depends: libcurl4

On the apt invocation that fails.


From the build log, the culprit is libcurl3 that you’re installing. It conflicts with libcurl4 that’s required by curl.