I got this message when trying to update nodejs and nodejs-dev (with
--with-new-pkgs option) in Ubuntu 18.04.
The following packages have unmet dependencies:
libssl-dev : Conflicts: libssl1.0-dev but 1.0.2n-1ubuntu5.1 is going to be installed
Recommends: libssl-doc but it is not going to be installed
libssl1.0-dev : Conflicts: libssl-dev but 1.1.0g-2ubuntu4.1 is going to be installed
E: Broken packages