package php8.1-xdebug 3.1.2+2.9.8+2.8.1+2.5.5-4 failed to install/upgrade: installed php8.1-xdebug package post-installation script subprocess returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xdebug (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
xdebug still appears to work, just means everything I tried to install using apt appears to fail. In addition php 8.1 does not appear to have some standard extensions installed. so composer would not work until I added to the php.ini for example extension=pdo and the one for the tokenizer. Both these I have never had to add to the php.ini before.
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: php8.1-xdebug 3.1.2+2.
ProcVersionSign
Uname: Linux 5.15.0-30-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
AptOrdering:
thunderbird-
thunderbird:amd64: Install
thunderbird-
NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckR
Date: Sun May 22 11:14:39 2022
DuplicateSignature:
package:
Setting up php8.1-xdebug (3.1.2+
/usr/sbin/
dpkg: error processing package php8.1-xdebug (--configure):
installed php8.1-xdebug package post-installation script subprocess returned error exit status 2
ErrorMessage: installed php8.1-xdebug package post-installation script subprocess returned error exit status 2
InstallationDate: Installed on 2021-11-05 (197 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
Python3Details: /usr/bin/
PythonDetails: N/A
RelatedPackageV
dpkg 1.21.1ubuntu2
apt 2.4.5
SourcePackage: xdebug
Title: package php8.1-xdebug 3.1.2+2.
UpgradeStatus: Upgraded to jammy on 2022-05-03 (18 days ago)
tags: | removed: need-duplicate-check |
"/usr/sbin/ phpenmod: 31: .: cannot open /usr/lib/ php/php- helper: No such file"
Try
sudo apt install --reinstall php-common