package php8.1-common 8.1.2-1ubuntu2.19 failed to install/upgrade: installed php8.1-common package post-installation script subprocess returned error exit status 10
This bug report will be marked for expiration in 56 days if no further activity occurs. (find out why)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php8.1 (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
idk i was told to install an update and this happened
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: php8.1-common 8.1.2-1ubuntu2.19
ProcVersionSign
Uname: Linux 6.8.0-40-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.6
Architecture: amd64
CasperMD5CheckR
Date: Tue Oct 1 09:47:02 2024
DuplicateSignature:
package:
Setting up php8.1-common (8.1.2-1ubuntu2.19) ...
dpkg: error processing package php8.1-common (--configure):
installed php8.1-common package post-installation script subprocess returned error exit status 10
ErrorMessage: installed php8.1-common package post-installation script subprocess returned error exit status 10
InstallationDate: Installed on 2024-01-17 (258 days ago)
InstallationMedia: Ubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64 (20230807.2)
Python3Details: /usr/bin/
PythonDetails: /usr/bin/
RelatedPackageV
dpkg 1.21.1ubuntu2.3
apt 2.4.13
SourcePackage: php8.1
Title: package php8.1-common 8.1.2-1ubuntu2.19 failed to install/upgrade: installed php8.1-common package post-installation script subprocess returned error exit status 10
UpgradeStatus: No upgrade log present (probably fresh install)
Thank you for taking the time to file a bug report.
From DpkgTerminalLog .txt, we see:
dpkg: error processing package php8.1-common (--configure):
installed php8.1-common package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of php8.1-gd:
php8.1-gd depends on php8.1-common (= 8.1.2-1ubuntu2.19); however:
Package php8.1-common is not configured yet.
dpkg: error processing package php8.1-gd (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php8.1:
php8.1 depends on php8.1-common; however:
Package php8.1-common is not configured yet.
dpkg: error processing package php8.1 (--configure):
dependency problems - leaving unconfigured
For some reason, php8.1-common's postinst script failed. But I also noticed something in your bug description:
Python3Details: /usr/bin/ python3. 10, Python 3.10.12, unpackaged
It seems like you're using Python from a third-party package (and not the one shipped officially by Ubuntu). Python is a core component of the system and using an unsupported version can impact seemingly unrelated things.
Since it seems likely to me that this is a local configuration problem,
rather than a bug in Ubuntu, I am marking this bug as 'Incomplete'.
However, if you believe that this is really a bug in Ubuntu, then we would
be grateful if you would provide a more complete description of the problem
with steps to reproduce, explain why you believe this is a bug in Ubuntu
rather than a problem specific to your system, and then change the bug
status back to "New".
For local configuration issues, you can find assistance here: www.ubuntu. com/support/ community
http://