0

Shows this error:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mysql-cluster-community-client : Depends: libncurses5 (>= 6) but it is not installable
                                  
Depends: libtinfo5 (>= 6) but it is not installable
                                  
Depends: mysql-cluster-community-client-core (= 8.0.24-1ubuntu18.04) but it is not going to be installed
 mysql-cluster-community-server-core : Depends: libaio1 (>= 0.3.93) but it is not installable
                                       
Depends: libmecab2 but it is not installable
                                       
Recommends: mecab-ipadic-utf8 but it is not installable

E: Unable to correct problems, you have held broken packages.
matigo
  • 20,403
  • 7
  • 43
  • 70
Nasir Khan
  • 11
  • 2
  • Do you want MySQL Server, or MySQL Cluster Server? – matigo May 03 '21 at 08:13
  • What command are you running ? Did you run `sudo apt update` first ? – Soren A May 03 '21 at 08:34
  • 1
    Does this answer your question? [Unable to correct problems, you have held broken packages](https://askubuntu.com/questions/223237/unable-to-correct-problems-you-have-held-broken-packages) – karel May 03 '21 at 16:30

1 Answers1

0

I had a similar problem though not identical. Purging and reinstalling mysql worked for me. Steps: https://linuxscriptshub.com/uninstall-completely-remove-mysql-ubuntu-16-04/