Same thing happened to me when upgrading from 19.04 to 19.10. The
upgrader froze, after about an hour I rebooted and had to manually fix
the upgrade process. Removing mysql-server completely (also mysql-
server-8.0 and dependencies) and install again gives this:

ERROR: Unable to start MySQL server:
mysqld: Can't read dir of '/etc/mysql/conf.d/' (OS errno 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.
dpkg: error processing package mysql-server-8.0 (--configure):
 installed mysql-server-8.0 package post-installation script subprocess 
returned error exit status 1

I tried to have apparmor ignore mysql like the last comment here:
https://askubuntu.com/questions/1091803/unable-to-install-mysql-with-
cant-read-dir-of-etc-mysql-conf-d-error but that doen't change anything.

Might or might not be a Ubuntu issue, but before the upgrade I had mysql
running (for years) and now I can't install it.

Any help is welcome, TIA!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848662

Title:
  package mysql-server-8.0 8.0.17-0ubuntu2 failed to install/upgrade:
  installed mysql-server-8.0 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-8.0/+bug/1848662/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to