oitsuki wrote:Code: Select all
Les paquets suivants contiennent des dépendances non satisfaites :
php7.3-curl : Dépend: php7.3-common (= 7.3.11-1~deb10u1) mais 7.3.11-1+0~20191026.48+debian9~1.gbpf71ca0 devra être installé
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état »
dilberts_left_nut wrote:The already installed dependency has a higher version number so will need to be removed first, or specify the version explicitly, or just let aptitude sort it out for you.
"dilberts" explained the error well and he also described the correction that you will need to make. Steve's explanation is correct too. What their answers lack is a detailed explanation of how to perform that correction.
You need to remove the packages that you installed from Sury's repository. In this case, Sury's
php7.3-common is not compatible with Debian's
php7.3-curl.
Code: Select all
apt-get remove php7.3-common
apt-get install php7.3-curl
That solution looks simple. The reality might be a tangled mess.
You may have to remove and re-install a lot of packages. If so, just be patient. Have no fear. Remember that you can replace any package that your remove.
Continue removing the incompatible packages until you are able to install
php7.3-curl.
To get a list of PHP packages with their installation status and version number, run:
That list will be long. For a concise list of the installed PHP packages, run:
Code: Select all
dpkg -l *php* | grep ^ii | awk '{print $2}'
You might have to remove all of those packages. If so, remember that you can replace any package that your remove.
I hope this post helps you understand what you need to do.
Be patient. Have no fear. And keep us posted.
Good luck!
- Soul