我只是对PHP7.0强迫自己感到厌倦!我已经在我的VPS上删除了所有与php7.0相关的文件,并且尝试使用不同的命令行进行卸载,但即使在删除其文件夹后,它也会显示以下错误。
我想安装主管,但由于以下错误,PHP仍在打印,所以无法安装。我不想再使用PHPMyAdmin和PHP7。
我在Ubuntu 16.04上。
我想清除什么?
Reading package lists... Done
Building dependency tree
Reading state information... Done
supervisor is already the newest version (3.2.0-2ubuntu0.1).
0 upgraded, 0 newly installed, 0 to remove and 54 not upgraded.
2 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 php7.0-fpm (7.0.18-1+deb.sury.org~xenial+1) ...
Not replacing deleted config file /etc/php/7.0/fpm/php.ini
Job for php7.0-fpm.service failed because the control process exited with error code. See "systemctl status php7.0-fpm.service" and "journalctl -xe" for details .
invoke-rc.d: initscript php7.0-fpm, action "start" failed.
dpkg: error processing package php7.0-fpm (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of phpmyadmin:
phpmyadmin depends on libapache2-mod-php | libapache2-mod-phpfilter | php-cgi | php-fpm | php; however:
Package libapache2-mod-php is not installed.
Package libapache2-mod-php7.0 which provides libapache2-mod-php is not install ed.
Package libapache2-mod-phpfilter is not installed.
Package php-cgi is not installed.
Package php-fpm is not installed.
Package php7.0-fpm which provides php-fpm is not configured yet.
Package php is not installed.
dpkg: error processing package phpmyadmin (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were enco2untered while processing:
php7.0-fpm
phpmyadmin
E: Sub-process /usr/bin/dpkg returned an error code (1)
最佳答案
我设法用此命令将其删除。
sudo apt-get remove --purge php7.0
我一个接一个地取出了包裹。
关于php - 强制删除Phpmyadmin和PHP7.0子进程错误,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/43702411/