package libapache2-mod-php7.2 7.2.5-0ubuntu0.18.04.1 failed to install/upgrade: installed libapache2-mod-php7.2 package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php7.2 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
unable to install the package
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: libapache2-
ProcVersionSign
Uname: Linux 4.15.0-20-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
Date: Fri May 18 10:25:43 2018
DistributionCha
# This is a distribution channel descriptor
# For more information see http://
canonical-
ErrorMessage: installed libapache2-
InstallationDate: Installed on 2017-08-08 (282 days ago)
InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 20160624-10:47
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageV
dpkg 1.19.0.5ubuntu2
apt 1.6.1
SourcePackage: php7.2
Title: package libapache2-
UpgradeStatus: Upgraded to bionic on 2018-05-01 (17 days ago)
modified.
modified.
tags: | removed: need-duplicate-check |
Thanks for filing this bug in Ubuntu.
I'm seeing a bunch of errors like these, for several modules (zip, curl, others): 0ubuntu0. 18.04.1) ... 7.2/mods- available/ zip.ini
Setting up php7.2-zip (7.2.5-
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Not replacing deleted config file /etc/php/
And later it complains about not having the zip.ini file. Same for the other modules.
I can also see from your installation log that you tried to install, remove and purge apache, phpadmin, php7.2 and others multiple times.
What were you trying to install, just phpmyadmin? Maybe we can narrow it down to a simple test case.