Score:0

mysql server is both running and not running

cn flag

There is a MySQL server running, but we failed in our attempts to stop it. Stop it yourself and try again! dpkg: error processing archive /var/cache/apt/archives/mysql-server-8.0_8.0.25-0ubuntu0.20.10.1_amd64.deb (--unpack): new mysql-server-8.0 package pre-installation script subprocess returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/mysql-server-8.0_8.0.25-0ubuntu0.20.10.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

but when I try to stop it I get this

sudo service mysql stop

Failed to stop mysql.service: Unit mysql.service not loaded.

I can't install anything mysql related nor uninstall anything with apt.

in flag
When you check for running processes, is there a MySQL instance running under a user account?
Tom Riddle avatar
cn flag
no I can't see any mysql services running when i enter sudo ps -aux
nobody avatar
gh flag
`dpkg -l | grep mysql` please add this to your question. also `dpkg -l | egrep -v '^ii|rc'`
mangohost

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.