Hi,

Could you try the steps suggested by cpaelzer one again, but with the
first command replaced by:

  sudo apt remove --purge mysql-server-core-8.0 mysql-common

Before running the 'apt install' command you could also check that all
the mysql packages are actually fully gone by running:

  dpkg -l | grep mysql

If you see any package in "rc" state, e.g.:

rc  mysql-common                     5.8+1.0.4

purge it with:

  apt purge <pacakgename>

After the cleanup please try running

  apt update
  apt full-upgrade

to ensure all the installed packages are in a clean state. Then go ahead
with:

  sudo apt install mysql-server-8.0

Hopefully this will help!

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

Title:
  package mysql-server-8.0 8.0.20-0ubuntu0.20.04.1 failed to
  install/upgrade: package is in a very bad inconsistent state; you
  should  reinstall it before attempting configuration

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1881667/+subscriptions

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

Reply via email to