mysql installation error on Ubuntu 22.04

cc flag

After I installed MySQL-server I got the error:

The following packages have unmet dependencies:
MySQL-cluster-community-client-core : Depends: mysql-cluster-community-client-plugins (= 8.0.32-1ubuntu22.04) but it is not going to be installed
    E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

I tried to delete the package and reinstall it again, I tried to install the unmet dependency. Also rebooting the system doesn't work. I also checked is there any ongoing process but there isn't.

I tried all of these commands, but I am getting the error.

sudo apt --fix-broken install 
sudo apt reinstall
sudo dpkg --configure --force-overwrite -a
sudo apt-get clean
sudo dpkg --configure -a
sudo apt purge mysql-server
sudo apt purge libmysqlclient21 
sudo dpkg-i ~/Downloads/mysql-apt-config_0.8.16-1_all.deb 
sudo dpkg -i mysql-{common,community-client,client,community-server,server)_*.deb
sudo apt-get autoremove
sudo apt-get install mysql-server
David avatar
cn flag
What errors or info did you get when you did the apt --fix-broken install ?
Marco avatar
br flag
As Ubuntus mysql-server package has no dependency to "mysql-cluster-community-client-plugins", I assume you are not using the package from Ubuntu repository.
Rudy99 avatar
cc flag
Here is the error `E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root? `
Rudy99 avatar
cc flag
Here is the error after I type sudo: `dpkg: error processing archive /var/cache/apt/archives/mysql-community-server-co re_8.0.32-1ubuntu22.04_amd64.deb (--unpack): trying to overwrite '/usr/bin/ibd2sdi', which is also in package mysql-cluster- community-server-core 8.0.32-1ubuntu22.04 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/mysql-community-server-core_8.0.32-1ubuntu22.04_amd64.d eb `
I sit in a Tesla and translated this thread with Ai:


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.