Error during installation MySQL 8.0 on Debian 10

Solution 1:

  1. Check the attached repositories with the apt policy command. Remove old repositories or actualize the release name.
  2. Clean the packages cache (apt clean).
  3. Update the packages lists (apt update).
  4. Check the current state of packages with the apt-get check.
  5. Search the suitable packages (apt search mysql-server).
  6. Check the policy for your packages (apt policy mysql-server and apt policy mysql-community-server).
  7. Likely issue is caused by some forgotten record somewhere in the sources lists.