Cant purge mysql-server-5.7“debconf: DbDriver ”config“: config.dat is locked by another process: Resource temporarily unavailable” while installing packagesapt-get broken + dependencies issue + many software uninstalledcannot upgrade kernel and mysql-server after dist upgrademysql doesn't ask for root password when installingErrors configuring mysql 7 after upgrade to ubuntu 16.04mysql-server-5.5 ErrorHow to delete mysql-clientError While removing corrupted mysqlAccidentally Removed mysql-server-core-5.7mysql-server-5.7 package post-installation script subprocess returned error exit status 127MySQL 5.7 server can't be reinstalled
What will happen if my luggage gets delayed?
Why does this boat have a landing pad? (SpaceX's GO Searcher) Any plans for propulsive capsule landings?
Why restrict private health insurance?
How should I solve this integral with changing parameters?
How to write a chaotic neutral protagonist and prevent my readers from thinking they are evil?
Is this Paypal Github SDK reference really a dangerous site?
How to copy the rest of lines of a file to another file
Either of .... (Plural/Singular)
Use Mercury as quenching liquid for swords?
How to install round brake pads
Difference between `nmap local-IP-address` and `nmap localhost`
Can one live in the U.S. and not use a credit card?
How to educate team mate to take screenshots for bugs with out unwanted stuff
Is divide-by-zero a security vulnerability?
What was so special about The Piano that Ada was willing to do anything to have it?
Logistic regression BIC: what's the right N?
Can the Witch Sight warlock invocation see through the Mirror Image spell?
Has a sovereign Communist government ever run, and conceded loss, on a fair election?
Which country has more?
Was it really inappropriate to write a pull request for the company I interviewed with?
Computation logic of Partway in TikZ
-1 to the power of a irrational number
What to do if my university does not offer any advanced math courses?
Insult for someone who "doesn't know anything"
Cant purge mysql-server-5.7
“debconf: DbDriver ”config“: config.dat is locked by another process: Resource temporarily unavailable” while installing packagesapt-get broken + dependencies issue + many software uninstalledcannot upgrade kernel and mysql-server after dist upgrademysql doesn't ask for root password when installingErrors configuring mysql 7 after upgrade to ubuntu 16.04mysql-server-5.5 ErrorHow to delete mysql-clientError While removing corrupted mysqlAccidentally Removed mysql-server-core-5.7mysql-server-5.7 package post-installation script subprocess returned error exit status 127MySQL 5.7 server can't be reinstalled
Im trying to purge mysql and reinstall it using this command sudo apt purge mysql-client-5.7 mysql-client-core-5.7 mysql-common mysql-server-5.7 mysql-server-core-5.7 mysql-server and this is what i get
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'mysql-client-5.7' is not installed, so not removed
Package 'mysql-server' is not installed, so not removed
The following packages were automatically installed and are no longer required:
libaio1 libevent-core-2.1-6
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
mysql-client-core-5.7* mysql-common* mysql-server-5.7* mysql-server-core-5.7*
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 126 MB disk space will be freed.
Do you want to continue? [Y/n] y
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
(Reading database ... 177854 files and directories currently installed.)
Removing mysql-server-5.7 (5.7.25-0ubuntu0.18.04.2) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package mysql-server-5.7 (--remove):
installed mysql-server-5.7 package pre-removal script subprocess returned error exit status 1
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error while cleaning up:
installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1
Removing mysql-client-core-5.7 (5.7.25-0ubuntu0.18.04.2) ...
dpkg: mysql-server-core-5.7: dependency problems, but removing anyway as you requested:
mysql-server-5.7 depends on mysql-server-core-5.7 (= 5.7.25-0ubuntu0.18.04.2); however:
Package mysql-server-core-5.7 is to be removed.
Removing mysql-server-core-5.7 (5.7.25-0ubuntu0.18.04.2) ...
Errors were encountered while processing:
mysql-server-5.7
E: Sub-process /usr/bin/dpkg returned an error code (1)
then i notice this line
Errors were encountered while processing:
mysql-server-5.7
My question is, How can i completely remove mysql and reinstall it again?
My thought maybe because mysql-server-5.7 cannot be deleted by purge, thats why i get this result
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
mysql-server-5.7 : PreDepends: mysql-common (>= 5.5) but it is not going to be installed
Depends: mysql-client-5.7 (>= 5.7.25-0ubuntu0.18.04.2) but it is not going to be installed
Depends: mysql-common (>= 5.8+1.0.4~) but it is not going to be installed
Depends: mysql-server-core-5.7 (= 5.7.25-0ubuntu0.18.04.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
by running this sudo apt install mysql-server command.
apt server apache2 mysql
New contributor
Lesther is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Im trying to purge mysql and reinstall it using this command sudo apt purge mysql-client-5.7 mysql-client-core-5.7 mysql-common mysql-server-5.7 mysql-server-core-5.7 mysql-server and this is what i get
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'mysql-client-5.7' is not installed, so not removed
Package 'mysql-server' is not installed, so not removed
The following packages were automatically installed and are no longer required:
libaio1 libevent-core-2.1-6
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
mysql-client-core-5.7* mysql-common* mysql-server-5.7* mysql-server-core-5.7*
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 126 MB disk space will be freed.
Do you want to continue? [Y/n] y
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
(Reading database ... 177854 files and directories currently installed.)
Removing mysql-server-5.7 (5.7.25-0ubuntu0.18.04.2) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package mysql-server-5.7 (--remove):
installed mysql-server-5.7 package pre-removal script subprocess returned error exit status 1
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error while cleaning up:
installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1
Removing mysql-client-core-5.7 (5.7.25-0ubuntu0.18.04.2) ...
dpkg: mysql-server-core-5.7: dependency problems, but removing anyway as you requested:
mysql-server-5.7 depends on mysql-server-core-5.7 (= 5.7.25-0ubuntu0.18.04.2); however:
Package mysql-server-core-5.7 is to be removed.
Removing mysql-server-core-5.7 (5.7.25-0ubuntu0.18.04.2) ...
Errors were encountered while processing:
mysql-server-5.7
E: Sub-process /usr/bin/dpkg returned an error code (1)
then i notice this line
Errors were encountered while processing:
mysql-server-5.7
My question is, How can i completely remove mysql and reinstall it again?
My thought maybe because mysql-server-5.7 cannot be deleted by purge, thats why i get this result
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
mysql-server-5.7 : PreDepends: mysql-common (>= 5.5) but it is not going to be installed
Depends: mysql-client-5.7 (>= 5.7.25-0ubuntu0.18.04.2) but it is not going to be installed
Depends: mysql-common (>= 5.8+1.0.4~) but it is not going to be installed
Depends: mysql-server-core-5.7 (= 5.7.25-0ubuntu0.18.04.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
by running this sudo apt install mysql-server command.
apt server apache2 mysql
New contributor
Lesther is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Possibly related: “debconf: DbDriver ”config“: config.dat is locked by another process: Resource temporarily unavailable” while installing packages
– steeldriver
5 hours ago
add a comment |
Im trying to purge mysql and reinstall it using this command sudo apt purge mysql-client-5.7 mysql-client-core-5.7 mysql-common mysql-server-5.7 mysql-server-core-5.7 mysql-server and this is what i get
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'mysql-client-5.7' is not installed, so not removed
Package 'mysql-server' is not installed, so not removed
The following packages were automatically installed and are no longer required:
libaio1 libevent-core-2.1-6
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
mysql-client-core-5.7* mysql-common* mysql-server-5.7* mysql-server-core-5.7*
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 126 MB disk space will be freed.
Do you want to continue? [Y/n] y
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
(Reading database ... 177854 files and directories currently installed.)
Removing mysql-server-5.7 (5.7.25-0ubuntu0.18.04.2) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package mysql-server-5.7 (--remove):
installed mysql-server-5.7 package pre-removal script subprocess returned error exit status 1
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error while cleaning up:
installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1
Removing mysql-client-core-5.7 (5.7.25-0ubuntu0.18.04.2) ...
dpkg: mysql-server-core-5.7: dependency problems, but removing anyway as you requested:
mysql-server-5.7 depends on mysql-server-core-5.7 (= 5.7.25-0ubuntu0.18.04.2); however:
Package mysql-server-core-5.7 is to be removed.
Removing mysql-server-core-5.7 (5.7.25-0ubuntu0.18.04.2) ...
Errors were encountered while processing:
mysql-server-5.7
E: Sub-process /usr/bin/dpkg returned an error code (1)
then i notice this line
Errors were encountered while processing:
mysql-server-5.7
My question is, How can i completely remove mysql and reinstall it again?
My thought maybe because mysql-server-5.7 cannot be deleted by purge, thats why i get this result
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
mysql-server-5.7 : PreDepends: mysql-common (>= 5.5) but it is not going to be installed
Depends: mysql-client-5.7 (>= 5.7.25-0ubuntu0.18.04.2) but it is not going to be installed
Depends: mysql-common (>= 5.8+1.0.4~) but it is not going to be installed
Depends: mysql-server-core-5.7 (= 5.7.25-0ubuntu0.18.04.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
by running this sudo apt install mysql-server command.
apt server apache2 mysql
New contributor
Lesther is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Im trying to purge mysql and reinstall it using this command sudo apt purge mysql-client-5.7 mysql-client-core-5.7 mysql-common mysql-server-5.7 mysql-server-core-5.7 mysql-server and this is what i get
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'mysql-client-5.7' is not installed, so not removed
Package 'mysql-server' is not installed, so not removed
The following packages were automatically installed and are no longer required:
libaio1 libevent-core-2.1-6
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
mysql-client-core-5.7* mysql-common* mysql-server-5.7* mysql-server-core-5.7*
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 126 MB disk space will be freed.
Do you want to continue? [Y/n] y
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
(Reading database ... 177854 files and directories currently installed.)
Removing mysql-server-5.7 (5.7.25-0ubuntu0.18.04.2) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package mysql-server-5.7 (--remove):
installed mysql-server-5.7 package pre-removal script subprocess returned error exit status 1
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error while cleaning up:
installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1
Removing mysql-client-core-5.7 (5.7.25-0ubuntu0.18.04.2) ...
dpkg: mysql-server-core-5.7: dependency problems, but removing anyway as you requested:
mysql-server-5.7 depends on mysql-server-core-5.7 (= 5.7.25-0ubuntu0.18.04.2); however:
Package mysql-server-core-5.7 is to be removed.
Removing mysql-server-core-5.7 (5.7.25-0ubuntu0.18.04.2) ...
Errors were encountered while processing:
mysql-server-5.7
E: Sub-process /usr/bin/dpkg returned an error code (1)
then i notice this line
Errors were encountered while processing:
mysql-server-5.7
My question is, How can i completely remove mysql and reinstall it again?
My thought maybe because mysql-server-5.7 cannot be deleted by purge, thats why i get this result
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
mysql-server-5.7 : PreDepends: mysql-common (>= 5.5) but it is not going to be installed
Depends: mysql-client-5.7 (>= 5.7.25-0ubuntu0.18.04.2) but it is not going to be installed
Depends: mysql-common (>= 5.8+1.0.4~) but it is not going to be installed
Depends: mysql-server-core-5.7 (= 5.7.25-0ubuntu0.18.04.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
by running this sudo apt install mysql-server command.
apt server apache2 mysql
apt server apache2 mysql
New contributor
Lesther is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Lesther is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Lesther is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 6 hours ago
LestherLesther
61
61
New contributor
Lesther is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Lesther is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Lesther is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Possibly related: “debconf: DbDriver ”config“: config.dat is locked by another process: Resource temporarily unavailable” while installing packages
– steeldriver
5 hours ago
add a comment |
Possibly related: “debconf: DbDriver ”config“: config.dat is locked by another process: Resource temporarily unavailable” while installing packages
– steeldriver
5 hours ago
Possibly related: “debconf: DbDriver ”config“: config.dat is locked by another process: Resource temporarily unavailable” while installing packages
– steeldriver
5 hours ago
Possibly related: “debconf: DbDriver ”config“: config.dat is locked by another process: Resource temporarily unavailable” while installing packages
– steeldriver
5 hours ago
add a comment |
1 Answer
1
active
oldest
votes
It tells you what to do (although you need to be a bit experienced to know that):
The following packages have unmet dependencies:
mysql-server-5.7 : PreDepends: mysql-common (>= 5.5) but it is not going to be installed
Depends: mysql-client-5.7 (>= 5.7.25-0ubuntu0.18.04.2) but it is not going to be installed
Depends: mysql-common (>= 5.8+1.0.4~) but it is not going to be installed
Depends: mysql-server-core-5.7 (= 5.7.25-0ubuntu0.18.04.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Thus, I'd try and purge everything except mysql-server-5.7 and then in a separate step purge mysql-server-5.7.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Lesther is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124371%2fcant-purge-mysql-server-5-7%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
It tells you what to do (although you need to be a bit experienced to know that):
The following packages have unmet dependencies:
mysql-server-5.7 : PreDepends: mysql-common (>= 5.5) but it is not going to be installed
Depends: mysql-client-5.7 (>= 5.7.25-0ubuntu0.18.04.2) but it is not going to be installed
Depends: mysql-common (>= 5.8+1.0.4~) but it is not going to be installed
Depends: mysql-server-core-5.7 (= 5.7.25-0ubuntu0.18.04.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Thus, I'd try and purge everything except mysql-server-5.7 and then in a separate step purge mysql-server-5.7.
add a comment |
It tells you what to do (although you need to be a bit experienced to know that):
The following packages have unmet dependencies:
mysql-server-5.7 : PreDepends: mysql-common (>= 5.5) but it is not going to be installed
Depends: mysql-client-5.7 (>= 5.7.25-0ubuntu0.18.04.2) but it is not going to be installed
Depends: mysql-common (>= 5.8+1.0.4~) but it is not going to be installed
Depends: mysql-server-core-5.7 (= 5.7.25-0ubuntu0.18.04.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Thus, I'd try and purge everything except mysql-server-5.7 and then in a separate step purge mysql-server-5.7.
add a comment |
It tells you what to do (although you need to be a bit experienced to know that):
The following packages have unmet dependencies:
mysql-server-5.7 : PreDepends: mysql-common (>= 5.5) but it is not going to be installed
Depends: mysql-client-5.7 (>= 5.7.25-0ubuntu0.18.04.2) but it is not going to be installed
Depends: mysql-common (>= 5.8+1.0.4~) but it is not going to be installed
Depends: mysql-server-core-5.7 (= 5.7.25-0ubuntu0.18.04.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Thus, I'd try and purge everything except mysql-server-5.7 and then in a separate step purge mysql-server-5.7.
It tells you what to do (although you need to be a bit experienced to know that):
The following packages have unmet dependencies:
mysql-server-5.7 : PreDepends: mysql-common (>= 5.5) but it is not going to be installed
Depends: mysql-client-5.7 (>= 5.7.25-0ubuntu0.18.04.2) but it is not going to be installed
Depends: mysql-common (>= 5.8+1.0.4~) but it is not going to be installed
Depends: mysql-server-core-5.7 (= 5.7.25-0ubuntu0.18.04.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Thus, I'd try and purge everything except mysql-server-5.7 and then in a separate step purge mysql-server-5.7.
answered 5 hours ago
RonJohnRonJohn
385210
385210
add a comment |
add a comment |
Lesther is a new contributor. Be nice, and check out our Code of Conduct.
Lesther is a new contributor. Be nice, and check out our Code of Conduct.
Lesther is a new contributor. Be nice, and check out our Code of Conduct.
Lesther is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124371%2fcant-purge-mysql-server-5-7%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Possibly related: “debconf: DbDriver ”config“: config.dat is locked by another process: Resource temporarily unavailable” while installing packages
– steeldriver
5 hours ago