Ubuntu 18.04.1, Sub-process dpkg and Apache2
I've been trying hours to sort out this issue, it all started yesterday during a failed install of phpmyadmin when i lost server connection after a lamp stack install that inturn played havoc with mysql,Long story short i had to start the lamp stack install from afresh, cleaned everything up apart from this Apache2 error, it is absolutely persistant and results in fail after fail of re-installing Apache2. I have tried what i believe to be just about every possible solution on Digital Oceans docs as well as similar suggestions found on the internet. Non of them seem to work.
ERROR: Module mpm_event does not exist!
dpkg: error processing package apache2 (--configure): installed apache2
package post-installation script subprocess returned error
exit status 1.
I'm thinking its this in the above block that is causing the problem but I can't figure out from what it says if the subprocess is terminating the install right after the post install script is initiated or whether its a problem with the script itself.
Errors were encountered while processing:
apache2
E: Sub-process /usr/bin/dpkg returned an error code (1)
martin@discord-bots:/tmp$ whereis apache2
apache2: /usr/sbin/apache2 /usr/lib/apache2 /etc/apache2 /usr/share/apache2
/usr
/share/man/man8/apache2.8.gz
martin@discord-bots:/tmp$ sudo rm -rf /usr/sbin/apache2
martin@discord-bots:/tmp$ sudo rm -rf /usr/lib/apache2
martin@discord-bots:/tmp$ sudo rm -rf /etc/apache2
martin@discord-bots:/tmp$ sudo rm -rf /usr/share/apache2
martin@discord-bots:/tmp$ whereis apache2
apache2: /usr/share/man/man8/apache2.8.gz
martin@discord-bots:/tmp$ sudo rm -rf /usr/share/man/man8/apache2.8.gz
martin@discord-bots:/tmp$ whereis apache2
apache2:
martin@discord-bots:/tmp$ sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up apache2 (2.4.29-1ubuntu4.5) ...
ERROR: Module mpm_event does not exist!
dpkg: error processing package apache2 (--configure):
installed apache2 package post-installation script subprocess returned error
ex
it status 1
Errors were encountered while processing:
apache2
E: Sub-process /usr/bin/dpkg returned an error code (1)
martin@discord-bots:/tmp$ Sub-process /usr/bin/dpkg returned an error code (1)
any help would be greatly appreciated
apache2 dpkg uninstall lamp purge
add a comment |
I've been trying hours to sort out this issue, it all started yesterday during a failed install of phpmyadmin when i lost server connection after a lamp stack install that inturn played havoc with mysql,Long story short i had to start the lamp stack install from afresh, cleaned everything up apart from this Apache2 error, it is absolutely persistant and results in fail after fail of re-installing Apache2. I have tried what i believe to be just about every possible solution on Digital Oceans docs as well as similar suggestions found on the internet. Non of them seem to work.
ERROR: Module mpm_event does not exist!
dpkg: error processing package apache2 (--configure): installed apache2
package post-installation script subprocess returned error
exit status 1.
I'm thinking its this in the above block that is causing the problem but I can't figure out from what it says if the subprocess is terminating the install right after the post install script is initiated or whether its a problem with the script itself.
Errors were encountered while processing:
apache2
E: Sub-process /usr/bin/dpkg returned an error code (1)
martin@discord-bots:/tmp$ whereis apache2
apache2: /usr/sbin/apache2 /usr/lib/apache2 /etc/apache2 /usr/share/apache2
/usr
/share/man/man8/apache2.8.gz
martin@discord-bots:/tmp$ sudo rm -rf /usr/sbin/apache2
martin@discord-bots:/tmp$ sudo rm -rf /usr/lib/apache2
martin@discord-bots:/tmp$ sudo rm -rf /etc/apache2
martin@discord-bots:/tmp$ sudo rm -rf /usr/share/apache2
martin@discord-bots:/tmp$ whereis apache2
apache2: /usr/share/man/man8/apache2.8.gz
martin@discord-bots:/tmp$ sudo rm -rf /usr/share/man/man8/apache2.8.gz
martin@discord-bots:/tmp$ whereis apache2
apache2:
martin@discord-bots:/tmp$ sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up apache2 (2.4.29-1ubuntu4.5) ...
ERROR: Module mpm_event does not exist!
dpkg: error processing package apache2 (--configure):
installed apache2 package post-installation script subprocess returned error
ex
it status 1
Errors were encountered while processing:
apache2
E: Sub-process /usr/bin/dpkg returned an error code (1)
martin@discord-bots:/tmp$ Sub-process /usr/bin/dpkg returned an error code (1)
any help would be greatly appreciated
apache2 dpkg uninstall lamp purge
add a comment |
I've been trying hours to sort out this issue, it all started yesterday during a failed install of phpmyadmin when i lost server connection after a lamp stack install that inturn played havoc with mysql,Long story short i had to start the lamp stack install from afresh, cleaned everything up apart from this Apache2 error, it is absolutely persistant and results in fail after fail of re-installing Apache2. I have tried what i believe to be just about every possible solution on Digital Oceans docs as well as similar suggestions found on the internet. Non of them seem to work.
ERROR: Module mpm_event does not exist!
dpkg: error processing package apache2 (--configure): installed apache2
package post-installation script subprocess returned error
exit status 1.
I'm thinking its this in the above block that is causing the problem but I can't figure out from what it says if the subprocess is terminating the install right after the post install script is initiated or whether its a problem with the script itself.
Errors were encountered while processing:
apache2
E: Sub-process /usr/bin/dpkg returned an error code (1)
martin@discord-bots:/tmp$ whereis apache2
apache2: /usr/sbin/apache2 /usr/lib/apache2 /etc/apache2 /usr/share/apache2
/usr
/share/man/man8/apache2.8.gz
martin@discord-bots:/tmp$ sudo rm -rf /usr/sbin/apache2
martin@discord-bots:/tmp$ sudo rm -rf /usr/lib/apache2
martin@discord-bots:/tmp$ sudo rm -rf /etc/apache2
martin@discord-bots:/tmp$ sudo rm -rf /usr/share/apache2
martin@discord-bots:/tmp$ whereis apache2
apache2: /usr/share/man/man8/apache2.8.gz
martin@discord-bots:/tmp$ sudo rm -rf /usr/share/man/man8/apache2.8.gz
martin@discord-bots:/tmp$ whereis apache2
apache2:
martin@discord-bots:/tmp$ sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up apache2 (2.4.29-1ubuntu4.5) ...
ERROR: Module mpm_event does not exist!
dpkg: error processing package apache2 (--configure):
installed apache2 package post-installation script subprocess returned error
ex
it status 1
Errors were encountered while processing:
apache2
E: Sub-process /usr/bin/dpkg returned an error code (1)
martin@discord-bots:/tmp$ Sub-process /usr/bin/dpkg returned an error code (1)
any help would be greatly appreciated
apache2 dpkg uninstall lamp purge
I've been trying hours to sort out this issue, it all started yesterday during a failed install of phpmyadmin when i lost server connection after a lamp stack install that inturn played havoc with mysql,Long story short i had to start the lamp stack install from afresh, cleaned everything up apart from this Apache2 error, it is absolutely persistant and results in fail after fail of re-installing Apache2. I have tried what i believe to be just about every possible solution on Digital Oceans docs as well as similar suggestions found on the internet. Non of them seem to work.
ERROR: Module mpm_event does not exist!
dpkg: error processing package apache2 (--configure): installed apache2
package post-installation script subprocess returned error
exit status 1.
I'm thinking its this in the above block that is causing the problem but I can't figure out from what it says if the subprocess is terminating the install right after the post install script is initiated or whether its a problem with the script itself.
Errors were encountered while processing:
apache2
E: Sub-process /usr/bin/dpkg returned an error code (1)
martin@discord-bots:/tmp$ whereis apache2
apache2: /usr/sbin/apache2 /usr/lib/apache2 /etc/apache2 /usr/share/apache2
/usr
/share/man/man8/apache2.8.gz
martin@discord-bots:/tmp$ sudo rm -rf /usr/sbin/apache2
martin@discord-bots:/tmp$ sudo rm -rf /usr/lib/apache2
martin@discord-bots:/tmp$ sudo rm -rf /etc/apache2
martin@discord-bots:/tmp$ sudo rm -rf /usr/share/apache2
martin@discord-bots:/tmp$ whereis apache2
apache2: /usr/share/man/man8/apache2.8.gz
martin@discord-bots:/tmp$ sudo rm -rf /usr/share/man/man8/apache2.8.gz
martin@discord-bots:/tmp$ whereis apache2
apache2:
martin@discord-bots:/tmp$ sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up apache2 (2.4.29-1ubuntu4.5) ...
ERROR: Module mpm_event does not exist!
dpkg: error processing package apache2 (--configure):
installed apache2 package post-installation script subprocess returned error
ex
it status 1
Errors were encountered while processing:
apache2
E: Sub-process /usr/bin/dpkg returned an error code (1)
martin@discord-bots:/tmp$ Sub-process /usr/bin/dpkg returned an error code (1)
any help would be greatly appreciated
apache2 dpkg uninstall lamp purge
apache2 dpkg uninstall lamp purge
edited Feb 14 at 15:32
MartinJJ
asked Feb 14 at 11:17
MartinJJMartinJJ
1012
1012
add a comment |
add a comment |
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%2f1118183%2fubuntu-18-04-1-sub-process-dpkg-and-apache2%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%2f1118183%2fubuntu-18-04-1-sub-process-dpkg-and-apache2%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