package libapache2-mod-php7.0 7.0.15-0ubuntu0.16.04.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php7.0 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
h
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: libapache2-
ProcVersionSign
Uname: Linux 4.4.0-64-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
AptOrdering:
libapache2-
php7.0: Install
libapache2-
php7.0: Configure
NULL: ConfigurePending
Architecture: amd64
Date: Mon Feb 27 13:01:20 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-12-05 (83 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.19
SourcePackage: php7.0
Title: package libapache2-
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
modified.
tags: | removed: need-duplicate-check |
Hello and thank you for filing this bug report.
It would appear from the logs that you have deleted (locally) the following files:
modified. conffile. .etc.apache2. mods-available. php7.0. conf: [deleted] conffile. .etc.apache2. mods-available. php7.0. load: [deleted]
modified.
Is that correct?
Deleting key configuration files of installed packages will often lead to issues on updates (it makes more sense to just purge the package). As I understand it, if you did delete those files, then you cannot be using libapache2-mod-php.
If this is incorrect and something else is going on, please move the bug to New and try to explain how to reproduce the issue.