package php7.2-fpm 7.2.3-1ubuntu1 failed to install/upgrade: installed php7.2-fpm package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php7.2 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
sudo update & sudo upgard -y produced this error
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: php7.2-fpm 7.2.3-1ubuntu1
ProcVersionSign
Uname: Linux 4.15.0-15-generic x86_64
ApportVersion: 2.20.9-0ubuntu5
Architecture: amd64
Date: Thu Apr 19 19:19:11 2018
ErrorMessage: installed php7.2-fpm package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2018-04-10 (9 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180408)
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
PythonDetails: /root/Error: command ['which', 'python'] failed with exit code 1:, Error: [Errno 2] No such file or directory: "/root/Error: command ['which', 'python'] failed with exit code 1:": "/root/Error: command ['which', 'python'] failed with exit code 1:", unpackaged
RelatedPackageV
dpkg 1.19.0.5ubuntu2
apt 1.6
SourcePackage: php7.2
Title: package php7.2-fpm 7.2.3-1ubuntu1 failed to install/upgrade: installed php7.2-fpm package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
From your log: php7.2- fpm.sock' : No such file or directory (2)
Apr 19 19:19:11 john php-fpm7.2[2690]: [19-Apr-2018 19:19:11] ERROR: unable to bind listening socket for address '/run/php/
I retried the same and it worked fine for me.
ll /run/php/ php7.2- fpm.sock php7.2- fpm.sock=
srw-rw---- 1 www-data www-data 0 Apr 24 13:35 /run/php/
The socket was created just fine.
Most often such issues are local config issues so I have to ask if you modified the config in a way that could affect this?
ALso if you upgrade the package again does this trigger every time?