package libapache2-mod-php8.1 8.1.2-1ubuntu2.15 failed to install/upgrade: installed libapache2-mod-php8.1 package post-installation script subprocess returned error exit status 1
This bug report will be marked for expiration in 45 days if no further activity occurs. (find out why)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php8.1 (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Errors were encountered while processing:
mysql-server-8.0
libapache2-
mysql-server
php8.1
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: libapache2-
ProcVersionSign
Uname: Linux 6.5.0-26-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckR
Date: Sun Apr 28 12:41:00 2024
ErrorMessage: installed libapache2-
InstallationDate: Installed on 2023-10-20 (190 days ago)
InstallationMedia: Ubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64 (20230807.2)
Python3Details: /usr/bin/
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageV
dpkg 1.21.1ubuntu2.3
apt 2.4.12
SourcePackage: php8.1
Title: package libapache2-
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
modified.
affects: | ubuntu → php8.1 (Ubuntu) |
Hello, from your logs I see "Not replacing deleted config file /etc/php/ 8.1/apache2/ php.ini" . This may have been caused by manually removing the file or it's directory. Otherwise removing and reinstalling certain packages may cause it. Did you previously remove the file or any packages? That may help us solve the issue.
Thanks!