package libapache2-mod-php7.2 7.2.7-0ubuntu0.18.04.2 failed to install/upgrade: installed libapache2-mod-php7.2 package post-installation script subprocess returned error exit status 1

Bug #1780786 reported by ravi kothari
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
php7.2 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

PHP causing problems

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: libapache2-mod-php7.2 7.2.7-0ubuntu0.18.04.2
ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
Uname: Linux 4.15.0-23-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
Date: Mon Jul 9 19:14:42 2018
ErrorMessage: installed libapache2-mod-php7.2 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2018-03-16 (115 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20180105.1)
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2
 apt 1.6.2
SourcePackage: php7.2
Title: package libapache2-mod-php7.2 7.2.7-0ubuntu0.18.04.2 failed to install/upgrade: installed libapache2-mod-php7.2 package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to bionic on 2018-07-08 (0 days ago)
modified.conffile..etc.apache2.mods-available.php7.2.conf: [deleted]
modified.conffile..etc.apache2.mods-available.php7.2.load: [deleted]

Revision history for this message
ravi kothari (rahul1925) wrote :
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Thanks for filing this bug in Ubuntu.

You seem to have attempted to install, remove, purge, and reinstall, php and apache multiple times. At some point, something broke and some files became missing.

Since I cannot reproduce this in a fresh bionic machine, I would kindly ask you to try to start fresh, and, if it happens again, show us the steps you took for the problem to appear.

In the meantime, I'd suggest you try this:

sudo apt update
sudo apt -f install

I'll mark this bug as incomplete for now until there is more information that would help us reproduce the problem. If you have such information, please add it to this bug and then change its status back to "new".

Changed in php7.2 (Ubuntu):
status: New → Incomplete
Revision history for this message
ravi kothari (rahul1925) wrote : Re: [Bug 1780786] Re: package libapache2-mod-php7.2 7.2.7-0ubuntu0.18.04.2 failed to install/upgrade: installed libapache2-mod-php7.2 package post-installation script subprocess returned error exit status 1

Hey,
the problem is solved now. I purged PHP and Apache2, reinstalled them, and
reinstalled libapache2-mod-php7.2 module, which was causing the problems.

On Wed, 11 Jul 2018, 01:50 Andreas Hasenack, <email address hidden> wrote:

> Thanks for filing this bug in Ubuntu.
>
> You seem to have attempted to install, remove, purge, and reinstall, php
> and apache multiple times. At some point, something broke and some files
> became missing.
>
> Since I cannot reproduce this in a fresh bionic machine, I would kindly
> ask you to try to start fresh, and, if it happens again, show us the
> steps you took for the problem to appear.
>
> In the meantime, I'd suggest you try this:
>
> sudo apt update
> sudo apt -f install
>
> I'll mark this bug as incomplete for now until there is more information
> that would help us reproduce the problem. If you have such information,
> please add it to this bug and then change its status back to "new".
>
> ** Changed in: php7.2 (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1780786
>
> Title:
> package libapache2-mod-php7.2 7.2.7-0ubuntu0.18.04.2 failed to
> install/upgrade: installed libapache2-mod-php7.2 package post-
> installation script subprocess returned error exit status 1
>
> Status in php7.2 package in Ubuntu:
> Incomplete
>
> Bug description:
> PHP causing problems
>
> ProblemType: Package
> DistroRelease: Ubuntu 18.04
> Package: libapache2-mod-php7.2 7.2.7-0ubuntu0.18.04.2
> ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
> Uname: Linux 4.15.0-23-generic x86_64
> ApportVersion: 2.20.9-0ubuntu7.2
> Architecture: amd64
> Date: Mon Jul 9 19:14:42 2018
> ErrorMessage: installed libapache2-mod-php7.2 package post-installation
> script subprocess returned error exit status 1
> InstallationDate: Installed on 2018-03-16 (115 days ago)
> InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64
> (20180105.1)
> Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal,
> 3.6.5-3
> PythonDetails: N/A
> RelatedPackageVersions:
> dpkg 1.19.0.5ubuntu2
> apt 1.6.2
> SourcePackage: php7.2
> Title: package libapache2-mod-php7.2 7.2.7-0ubuntu0.18.04.2 failed to
> install/upgrade: installed libapache2-mod-php7.2 package post-installation
> script subprocess returned error exit status 1
> UpgradeStatus: Upgraded to bionic on 2018-07-08 (0 days ago)
> modified.conffile..etc.apache2.mods-available.php7.2.conf: [deleted]
> modified.conffile..etc.apache2.mods-available.php7.2.load: [deleted]
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/php7.2/+bug/1780786/+subscriptions
>
--

Regards,
Ravi
M: +91 9408 133338
Alternate Email: <email address hidden>

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.