[Bug 1805017] Re: package mysql-server-5.7 5.7.24-0ubuntu0.18.04.1 failed to install/upgrade: installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1
Andreas Hasenack
andreas at canonical.com
Thu Nov 29 16:54:57 UTC 2018
Thanks for filing this bug in Ubuntu.
This is the error:
Paramétrage de mysql-server-5.7 (5.7.24-0ubuntu0.18.04.1) ...
update-alternatives: utilisation de « /etc/mysql/mysql.cnf » pour fournir « /etc/mysql/my.cnf » (my.cnf) en mode automatique
Renaming removed key_buffer and myisam-recover options (if present)
ERROR: Unable to start MySQL server:
mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2 - No such file or directory)
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
Please take a look at https://wiki.debian.org/Teams/MySQL/FAQ for tips on fixing common upgrade issues.
Once the problem is resolved, run apt-get --fix-broken install to retry.
[1mdpkg:[0m erreur de traitement du paquet mysql-server-5.7 (--configure) :
installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1
and
Préparation du dépaquetage de .../mysql-server-5.7_5.7.24-0ubuntu0.18.04.1_amd64.deb ...
grep: /etc/mysql/: Aucun fichier ou dossier de ce type
Looks like your mysql removal broke some dependencies, because /etc/mysql/conf.d/ is provided by mysql-common which is definitely a dependency.
I suggest you make sure mysql-common is installed, or reinstalled, and then run "sudo apt -f install".
** Changed in: mysql-5.7 (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to mysql-5.7 in Ubuntu.
Matching subscriptions: main
https://bugs.launchpad.net/bugs/1805017
Title:
package mysql-server-5.7 5.7.24-0ubuntu0.18.04.1 failed to
install/upgrade: installed mysql-server-5.7 package post-installation
script subprocess returned error exit status 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1805017/+subscriptions
More information about the Ubuntu-server-bugs
mailing list