Chaque fois que j'essaie d'installer quoi que ce soit, il installe toujours mysql-server-5.7.
J'ai essayé, sudo apt-get install php-mbstring
mais il a d'abord essayé d'installer mysql-server-5.7. Je ne sais pas ce qui ne va pas.
Je reçois des erreurs suivantes
Reading package lists... Done
Building dependency tree
Reading state information... Done
php-mbstring is already the newest version (1:7.0+35ubuntu6).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? \[Y/n\] y
Setting up mysql-server-5.7 (5.7.13-0ubuntu0.16.04.2) ...
Renaming removed key_buffer and myisam-recover options (if present)
dpkg: error processing package mysql-server-5.7 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.7; however:
Package mysql-server-5.7 is not configured yet.
dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
mysql-server-5.7
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)]
apt
tente de terminer l’installation précédente. D'après vos messages postés, je vois que cela est causé par un problème de dépendance. L'utilisationsudo apt-get -f install
devrait vous sortir du problème. Si ce n'est pas le cas, modifiez la question pour inclure ce qui ne va pas.