php7.4-dev : Depends: libssl-dev but it is not going to be installed

apt -s install libssl-dev
The following packages have unmet dependencies:
libssl-dev : Depends: libssl1.1 (= 1.1.1-1ubuntu2.1~18.04.9) but 1.1.1d-1+ubuntu18.04.1+deb.sury.org+2 is to be installed
E: Unable to correct problems, you have held broken packages.

apt-cache policy apt-cache libssl1.1
apt install libssl1.1=1.1.1-1ubuntu2.1~18.04.9

2 thoughts on “php7.4-dev : Depends: libssl-dev but it is not going to be installed

  1. Tanvir

    sudo apt install php7.4-dev after that command following error shows

    The following packages have unmet dependencies:
    php7.4-dev : Depends: libssl-dev but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *