Пытаюсь установить php7

При попытке установить лампу я получаю эту ошибку:

$ sudo apt-get install libapache2-mod-php7.0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libapache2-mod-php7.0 is already the newest version (7.0.15-0ubuntu0.16.04.4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up libapache2-mod-php7.0 (7.0.15-0ubuntu0.16.04.4) ...
dpkg: error processing package libapache2-mod-php7.0 (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 libapache2-mod-php7.0
E: Sub-process /usr/bin/dpkg returned an error code (1)
1
задан 04.03.2017, 20:10

1 ответ

Как упоминалось в , этот комментарий

sudo apt purge libapache2-mod-php7.0

работал и для меня.

1
ответ дан 27.09.2019, 19:56

Теги

Похожие вопросы