强制删除Phpmyadmin和PHP7.0子进程错误

时间:2017-04-30 02:43:32

标签: php python mysql django phpmyadmin

我只是厌倦了PHP7.0强迫我自己!我已经在我的VPS上删除了与php7.0相关的所有文件,我尝试使用不同的命令行卸载它,但它会出现以下错误..即使我删除了它的文件夹。

我想安装supervisor,但由于以下错误,我仍然无法打印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)

1 个答案:

答案 0 :(得分:1)

我设法用这个命令删除它。

sudo apt-get remove --purge php7.0

我逐个删除了包裹。