问题描述
我正在Ubuntu 18.04上运行apt autoremove和/或apt-get升级,并得到以下信息:
Reading package lists... Done
Building dependency tree
Reading state @R_345_4045@ion... Done
0 upgraded,0 newly installed,0 to remove and 2 not upgraded.
1 not fully installed or removed.
After this operation,0 B of additional disk space will be used.
Setting up PHP7.2-fpm (7.2.33-1+ubuntu18.04.1+deb.sury.org+1) ...
NOTICE: Not enabling PHP 7.2 FPM by default.
NOTICE: To enable PHP 7.2 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf PHP7.2-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Job for PHP7.2-fpm.service Failed because the control process exited with error code.
See "systemctl status PHP7.2-fpm.service" and "journalctl -xe" for details.
invoke-rc.d: initscript PHP7.2-fpm,action "restart" Failed.
● PHP7.2-fpm.service - The PHP 7.2 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/PHP7.2-fpm.service; enabled; vendor preset: enabled)
Active: Failed (Result: exit-code) since Wed 2020-09-02 20:41:35 -03; 10ms ago
Docs: man:PHP-fpm7.2(8)
Process: 31816 ExecStopPost=/usr/lib/PHP/PHP-fpm-socket-helper remove /run/PHP/PHP-fpm.sock /etc/PHP/7.2/fpm/pool.d/www.conf 72 (code=exited,status=0/SUCCESS)
Process: 31799 ExecStart=/usr/sbin/PHP-fpm7.2 --nodaemonize --fpm-config /etc/PHP/7.2/fpm/PHP-fpm.conf (code=exited,status=78)
Main PID: 31799 (code=exited,status=78)
我已经安装了多个版本的PHP(7.1、7.2、7.3和7.4),并且没有网站使用7.2,所以我认为可能是因为这个原因。
我曾尝试清除PHP7.2,但它破坏了我的网站,因此肯定在此错误周围有一些事情。
你知道为什么会这样吗?
当我尝试apt-get remove PHP7.2
或apt purge PHP7.2
时,我得到了:
The following packages were automatically installed and are no longer required:
awstats bind9 bind9utils clamav-daemon clamav-testfiles clamdscan firewalld gcc gcc-7 ipset jailkit libaio1 libasan4 libatomic1
libberkeleydb-perl libc-dev-bin libc6-dev libcc1-0 libcgi-fast-perl libcgi-pm-perl libcilkrts5 libconfig-inifiles-perl
libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl libdbd-mysql-perl libdbi-perl libevent-core-2.1-6 libfcgi-bin libfcgi-dev
libfcgi-perl libfcgi0ldbl libgcc-7-dev libhtml-template-perl libio-multiplex-perl libipset3 libitm1 liblsan0 libmail-dkim-perl
libmail-spf-perl libmemcached11 libmemcachedutil2 libmilter1.0.1 libmpx2 libMysqLclient20 libnet-cidr-perl libnet-dns-perl
libnet-ip-perl libnet-rblclient-perl libnet-server-perl libnet-xwhois-perl libnetaddr-ip-perl libopendkim11 libparse-syslog-perl
libquadmath0 libspf2-2 libtsan0 libubsan0 linux-libc-dev manpages-dev milter-greylist MysqL-client MysqL-client-5.7
MysqL-client-core-5.7 MysqL-common MysqL-server MysqL-server-5.7 MysqL-server-core-5.7 ntpdate p7zip PHP7.2 PHP7.2-mbstring
PHP7.2-MysqL PHP7.3 PHP7.3-mbstring postgrey procmail-wrapper proftpd-basic proftpd-doc python3-decorator python3-ply python3-selinux
python3-slip python3-slip-dbus re2c sa-compile spamassassin spamc unrar webalizer
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
PHP7.2-fpm virtualmin-lamp-stack
哪个会卸载virtualmin-lamp-stack(我想上面还有很多其他的),我不想要那个...
谢谢
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)