package apache2 (not installed) failed to install/upgrade: subprocess installed post-removal script returned error exit status 1

Bug #1764256 reported by Manoj Tulshiram Gadkar on 2018-04-16
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apache2 (Ubuntu)
Undecided
Unassigned

Bug Description

i not able to remove apche2 completly

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: apache2 (not installed)
ProcVersionSignature: Ubuntu 4.13.0-38.43~16.04.1-generic 4.13.16
Uname: Linux 4.13.0-38-generic x86_64
Apache2ConfdDirListing: False
Apache2Modules: Error: [Errno 2] No such file or directory: '/usr/sbin/apachectl'
ApportVersion: 2.20.1-0ubuntu2.16
AptOrdering:
 apache2: Purge
 NULL: ConfigurePending
Architecture: amd64
Date: Mon Apr 16 10:55:28 2018
ErrorMessage: subprocess installed post-removal script returned error exit status 1
InstallationDate: Installed on 2017-11-28 (138 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.4
 apt 1.2.26
SourcePackage: apache2
Title: package apache2 (not installed) failed to install/upgrade: subprocess installed post-removal script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
error.log: Error: [Errno 2] No such file or directory: '/var/log/apache2/error.log'

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

information type: Private Security → Public
tags: removed: need-duplicate-check

Hi,
from your log
insserv: Starting runmbbservice depends on plymouth and therefore on system facility `$all' which can not be true!

There is more like that, the root cause of these usually is a out of archive (3rd party) script that breaks dependency management.

https://launchpadlibrarian.net/365691281/DpkgTerminalLog.txt has the full list.

Of those I see plymouth and dns-clean look normal.
mountkernfs could be ok (not sure) but runmbbservice I haven't found in the archive.

Overall this is a configuration issue on your system the packaging can't fix for you.
You have to resolve that and then the update/removes/... will work again.

It is your system, so you'll know best what is installed from where.
As a start I recommend checking for the above in /etc/init...
And then check "dpkg -S <file>" which package brought them.

From there you should be able to resolve.

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Since it seems likely to me that this is a local configuration problem, rather than a bug in Ubuntu, I'm marking this bug as Incomplete.

If indeed this is a local configuration problem, you can find pointers to get help for this sort of problem here: http://www.ubuntu.com/support/community

Or if you believe that this is really a bug, then you may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to New.

Changed in apache2 (Ubuntu):
status: New → Incomplete
Launchpad Janitor (janitor) wrote :

[Expired for apache2 (Ubuntu) because there has been no activity for 60 days.]

Changed in apache2 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers