Public bug reported:
At the end of the installation i saw warning messages about PHP-CLI and other
things.
for instal i used "sudo apt install apache2 php libapache2-mod-php mysql-server
php-mysql"
I don't really know what are the problem.
Messages in the terminal :
Failed to stop mysql.service: Unit mysql.service not loaded.
invoke-rc.d: initscript mysql, action "stop" failed.
MySQL has been frozen to prevent damage to your system. Please see /etc/mysql/FR
OZEN for help.
Paramétrage de apache2-bin (2.4.41-4ubuntu3) ...
dpkg: des problèmes de dépendances empêchent la configuration de php7.4 :
php7.4 dépend de libapache2-mod-php7.4 | php7.4-fpm | php7.4-cgi ; cependant :
Le paquet libapache2-mod-php7.4 n'est pas encore configuré.
Le paquet php7.4-fpm n'est pas installé.
Le paquet php7.4-cgi n'est pas installé.
dpkg: erreur de traitement du paquet php7.4 (--configure) :
problèmes de dépendances - laissé non configuré
dpkg: des problèmes de dépendances empêchent la configuration de libapache2-mod-
php :
libapache2-mod-php dépend de libapache2-mod-php7.4 ; cependant :
Le paquet libapache2-mod-php7.4 n'est pas encore configuré.
dpkg: erreur de traitement du paquet libapache2-mod-php (--configure) :
problèmes de dépendances - laissé non configuré
Aucun rapport « apport » n'a été créé car le message d'erreur indique une erreur
consécutive à un échec précédent.
Aucun rapport « apport » écrit car MaxReports
a déjà été atteint
Paramétrage de mysql-server (8.0.20-0ubuntu0.20.04.1) ...
dpkg: des problèmes de dépendances empêchent la configuration de php :
php dépend de php7.4 ; cependant :
Le paquet php7.4 n'est pas encore configuré.
dpkg: erreur de traitement du paquet php (--configure) :
problèmes de dépendances - laissé non configuré
Paramétrage de apache2 (2.4.41-4ubuntu3) ...
Aucun rapport « apport » écrit car MaxReports a déjà été atteint
Job for apache2.
service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
invoke-rc.d: initscript apache2, action "restart" failed.
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset
: enabled)
Active: failed (Result: exit-code) since Fri 2020-06-19 00:43:57 CEST; 6ms
ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 13588 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FA
ILURE)
juin 19 00:43:57 bernard-Lenovo-Y50-70 systemd[1]: Starting The Apache HTTP Serv
er...
juin 19 00:43:57 bernard-Lenovo-Y50-70 apachectl[13601]: apache2: Could not open
configuration file /etc/apache2/apache2.conf: No such file or directory
juin 19 00:43:57 bernard-Lenovo-Y50-70 apachectl[13588]: Action 'start' failed.
juin 19 00:43:57 bernard-Lenovo-Y50-70 apachectl[13588]: The Apache error log ma
y have more information.
juin 19 00:43:57 bernard-Lenovo-Y50-70 systemd[1]: apache2.service: Control proc
ess exited, code=exited, status=1/FAILURE
juin 19 00:43:57 bernard-Lenovo-Y50-70 systemd[1]: apache2.service: Failed with
result 'exit-code'.
juin 19 00:43:57 bernard-Lenovo-Y50-70 systemd[1]: Failed to start The Apache HT
TP Server.
Traitement des actions différées (« triggers ») pour ufw (0.36-6) ...
Traitement des actions différées (« triggers ») pour systemd (245.4-4ubuntu3.1)
...
Traitement des actions différées (« triggers ») pour man-db (2.9.1-1) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.31-0ubuntu9) ..
.
Des erreurs ont été rencontrées pendant l'exécution :
php7.4-cli
libapache2-mod-php7.4
php7.4
libapache2-mod-php
php
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: php7.4-cli 7.4.3-4ubuntu2.2
ProcVersionSignature: Ubuntu 5.4.0-37.41-generic 5.4.41
Uname: Linux 5.4.0-37-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.3
Architecture: amd64
CasperMD5CheckResult: skip
Date: Fri Jun 19 00:43:51 2020
ErrorMessage: installed php7.4-cli package post-installation script subprocess
returned error exit status 1
InstallationDate: Installed on 2020-06-06 (12 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal,
3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
dpkg 1.19.7ubuntu3
apt 2.0.2ubuntu0.1
SourcePackage: php7.4
Title: package php7.4-cli 7.4.3-4ubuntu2.2 failed to install/upgrade: installed
php7.4-cli package post-installation script subprocess returned error exit
status 1
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: php7.4 (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-package focal
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884162
Title:
Problem when installing Apache and PHP 7.4.3 - package php7.4-cli
7.4.3-4ubuntu2.2 failed to install/upgrade: installed php7.4-cli
package post-installation script subprocess returned error exit status
1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php7.4/+bug/1884162/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs