package libapache2-mod-php7.0 7.0.30-0ubuntu0.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php7.0 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Trying to install zoneminder which requires this package
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: libapache2-
Uname: Linux 4.17.1-
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
Date: Thu Jun 14 16:37:41 2018
DuplicateSignature:
package:
Installing new version of config file /etc/mysql/
/var/lib/
dpkg: error processing package mysql-server-5.7 (--configure):
subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2018-05-20 (25 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
RelatedPackageV
dpkg 1.18.4ubuntu1.4
apt 1.2.26
SourcePackage: php7.0
Title: package libapache2-
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
modified.
tags: | removed: need-duplicate-check |
You have two issues, one is that your config files were deleted for php7, that will sooner or later break it. If you don't want it at all, consider removing it: conffile. .etc.apache2. mods-available. php7.0. conf: [deleted] conffile. .etc.apache2. mods-available. php7.0. load: [deleted]
modified.
modified.
The other is more interesting as there seem to be an uncommon spike of this kind of bugs.
This is around mysql update missing a file.
Installing new version of config file /etc/mysql/ mysql.conf. d/mysqld. cnf ... dpkg/info/ mysql-server- 5.7.postinst: line 143: /usr/share/ mysql-common/ configure- symlinks: No such file or directory
/var/lib/
This is the actual thing that broke your update as it seems to me.
Duping this to the bug about the mysql issue.