package libapache2-mod-php8.1 8.1.2-1ubuntu2 failed to install/upgrade: el subproceso instalado paquete libapache2-mod-php8.1 script post-installation devolvió el código de salida de error 1

Bug #1975739 reported by Erickson Espejo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
php8.1 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

re install apache and php8

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: libapache2-mod-php8.1 8.1.2-1ubuntu2
ProcVersionSignature: Ubuntu 5.15.0-33.34-generic 5.15.30
Uname: Linux 5.15.0-33-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: pass
Date: Wed May 25 13:41:56 2022
ErrorMessage: el subproceso instalado paquete libapache2-mod-php8.1 script post-installation devolvió el código de salida de error 1
InstallationDate: Installed on 2021-05-01 (389 days ago)
InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
Python3Details: /usr/bin/python3.10, Python 3.10.4, python3-minimal, 3.10.4-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2
 apt 2.4.5
SourcePackage: php8.1
Title: package libapache2-mod-php8.1 8.1.2-1ubuntu2 failed to install/upgrade: el subproceso instalado paquete libapache2-mod-php8.1 script post-installation devolvió el código de salida de error 1
UpgradeStatus: Upgraded to jammy on 2022-04-29 (26 days ago)
modified.conffile..etc.apache2.mods-available.php8.1.conf: [deleted]
modified.conffile..etc.apache2.mods-available.php8.1.load: [deleted]

Revision history for this message
Erickson Espejo (ericksonespejo) wrote :
Revision history for this message
Steve Beattie (sbeattie) wrote : Bug is not a security issue

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
Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :

Hello Erickson,

It seems that you manually modified the following files

/etc/apache2/mods-available/php8.1.conf
/etc/apache2/mods-available/php8.1.load

then removed php*, and purged apache2.

However, purging apache2 would not remove /etc/apache2, since /etc/apache2/mods-available belongs to several packages, including libapache2-mod-php8.1, which owns
/etc/apache2/mods-available/php8.1.{conf,load}.

Is there any chance you did intentionally remove /etc/apache2 after purging the package (e.g., by running `rm -rf /etc/apache2`? This would break the (re)installation patch for libapache2-mod-php8.1. In this case, you can fix the issue by purging libapache2-mod-php8.1 and re-installing it.

I am setting this bug as incomplete until we hear back from you, since at this point, I am not able to assess if this is a bug, or a configuration issue. Once you provide more information, if you still believe this is a bug, please, move the status of the issue back to new. In this case, please, also provide a reproducer for your issue.

Thanks!

Changed in php8.1 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in php8.1 (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.