What to do with --force?

Multi tool use
I'm trying to do sudo apt upgrade
and I get:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Then do sudo dpkg --configure -a
and I get:
Setting up mysql-server-5.7 (5.7.25-0ubuntu0.18.04.2) ...
Checking if update is needed.
This installation of MySQL is already upgraded to 5.7.25, use --force if you still need to run mysql_upgrade
that stays there for a long time. I have never used --force
nor encounter a problem of upgrading mysql so I do not know what to do. Help please
UPDATE: using sudo dpkg -C
I get:
The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
mysql-server-5.7 MySQL database server binaries and system database setup
So, something is wrong with mysql, but I don't know why because I have used it normally before...
18.04 upgrade dpkg mysql gnome-terminal
|
show 6 more comments
I'm trying to do sudo apt upgrade
and I get:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Then do sudo dpkg --configure -a
and I get:
Setting up mysql-server-5.7 (5.7.25-0ubuntu0.18.04.2) ...
Checking if update is needed.
This installation of MySQL is already upgraded to 5.7.25, use --force if you still need to run mysql_upgrade
that stays there for a long time. I have never used --force
nor encounter a problem of upgrading mysql so I do not know what to do. Help please
UPDATE: using sudo dpkg -C
I get:
The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
mysql-server-5.7 MySQL database server binaries and system database setup
So, something is wrong with mysql, but I don't know why because I have used it normally before...
18.04 upgrade dpkg mysql gnome-terminal
And if you then runsudo apt upgrade
again, does the same error appear? Otherwise you're done.
– Jos
Feb 12 at 16:05
Please execute the commandsudo dpkg -C
and append the results of that into your question.
– Charles Green
Feb 12 at 16:21
@Jos Yes, the same error appears anyway
– maria
Feb 17 at 15:07
@CharlesGreen I added the result of that :)
– maria
Feb 17 at 15:10
Does this look like your situation: askubuntu.com/questions/773287/… ?
– Jos
Feb 17 at 15:27
|
show 6 more comments
I'm trying to do sudo apt upgrade
and I get:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Then do sudo dpkg --configure -a
and I get:
Setting up mysql-server-5.7 (5.7.25-0ubuntu0.18.04.2) ...
Checking if update is needed.
This installation of MySQL is already upgraded to 5.7.25, use --force if you still need to run mysql_upgrade
that stays there for a long time. I have never used --force
nor encounter a problem of upgrading mysql so I do not know what to do. Help please
UPDATE: using sudo dpkg -C
I get:
The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
mysql-server-5.7 MySQL database server binaries and system database setup
So, something is wrong with mysql, but I don't know why because I have used it normally before...
18.04 upgrade dpkg mysql gnome-terminal
I'm trying to do sudo apt upgrade
and I get:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Then do sudo dpkg --configure -a
and I get:
Setting up mysql-server-5.7 (5.7.25-0ubuntu0.18.04.2) ...
Checking if update is needed.
This installation of MySQL is already upgraded to 5.7.25, use --force if you still need to run mysql_upgrade
that stays there for a long time. I have never used --force
nor encounter a problem of upgrading mysql so I do not know what to do. Help please
UPDATE: using sudo dpkg -C
I get:
The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
mysql-server-5.7 MySQL database server binaries and system database setup
So, something is wrong with mysql, but I don't know why because I have used it normally before...
18.04 upgrade dpkg mysql gnome-terminal
18.04 upgrade dpkg mysql gnome-terminal
edited Feb 17 at 15:09
maria
asked Feb 12 at 15:44


mariamaria
141213
141213
And if you then runsudo apt upgrade
again, does the same error appear? Otherwise you're done.
– Jos
Feb 12 at 16:05
Please execute the commandsudo dpkg -C
and append the results of that into your question.
– Charles Green
Feb 12 at 16:21
@Jos Yes, the same error appears anyway
– maria
Feb 17 at 15:07
@CharlesGreen I added the result of that :)
– maria
Feb 17 at 15:10
Does this look like your situation: askubuntu.com/questions/773287/… ?
– Jos
Feb 17 at 15:27
|
show 6 more comments
And if you then runsudo apt upgrade
again, does the same error appear? Otherwise you're done.
– Jos
Feb 12 at 16:05
Please execute the commandsudo dpkg -C
and append the results of that into your question.
– Charles Green
Feb 12 at 16:21
@Jos Yes, the same error appears anyway
– maria
Feb 17 at 15:07
@CharlesGreen I added the result of that :)
– maria
Feb 17 at 15:10
Does this look like your situation: askubuntu.com/questions/773287/… ?
– Jos
Feb 17 at 15:27
And if you then run
sudo apt upgrade
again, does the same error appear? Otherwise you're done.– Jos
Feb 12 at 16:05
And if you then run
sudo apt upgrade
again, does the same error appear? Otherwise you're done.– Jos
Feb 12 at 16:05
Please execute the command
sudo dpkg -C
and append the results of that into your question.– Charles Green
Feb 12 at 16:21
Please execute the command
sudo dpkg -C
and append the results of that into your question.– Charles Green
Feb 12 at 16:21
@Jos Yes, the same error appears anyway
– maria
Feb 17 at 15:07
@Jos Yes, the same error appears anyway
– maria
Feb 17 at 15:07
@CharlesGreen I added the result of that :)
– maria
Feb 17 at 15:10
@CharlesGreen I added the result of that :)
– maria
Feb 17 at 15:10
Does this look like your situation: askubuntu.com/questions/773287/… ?
– Jos
Feb 17 at 15:27
Does this look like your situation: askubuntu.com/questions/773287/… ?
– Jos
Feb 17 at 15:27
|
show 6 more comments
0
active
oldest
votes
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
});
}
});
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%2f1117696%2fwhat-to-do-with-force%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f1117696%2fwhat-to-do-with-force%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
76R lv U06UNVbLcLl s v LyVG,exhfvGKvo4 9GzQvmjLenCN4SQX
And if you then run
sudo apt upgrade
again, does the same error appear? Otherwise you're done.– Jos
Feb 12 at 16:05
Please execute the command
sudo dpkg -C
and append the results of that into your question.– Charles Green
Feb 12 at 16:21
@Jos Yes, the same error appears anyway
– maria
Feb 17 at 15:07
@CharlesGreen I added the result of that :)
– maria
Feb 17 at 15:10
Does this look like your situation: askubuntu.com/questions/773287/… ?
– Jos
Feb 17 at 15:27