sudo apt 删除 php7.4-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libapache2-mod-php7.4 : Depends: php7.4-common (= 1:7.4.30-5+ubuntu18.04.1+deb.sury.org+1) but it is not going to be installed
Recommends: apache2 but it is not going to be installed
php7.4 : Depends: php7.4-common but it is not going to be installed
php7.4-cli : Depends: php7.4-common (= 7.4.24-1+ubuntu18.04.1+deb.sury.org+1) but it is not going to be installed
php7.4-curl : Depends: php7.4-common (= 1:7.4.30-5+ubuntu18.04.1+deb.sury.org+1) but it is not going to be installed
php7.4-dev : Depends: php7.4-common (= 7.4.24-1+ubuntu18.04.1+deb.sury.org+1) but it is not going to be installed
php7.4-gd : Depends: php7.4-common (= 1:7.4.30-5+ubuntu18.04.1+deb.sury.org+1) but it is not going to be installed
php7.4-imagick : Depends: php7.4-common but it is not going to be installed
php7.4-imap : Depends: php7.4-common (= 1:7.4.30-5+ubuntu18.04.1+deb.sury.org+1) but it is not going to be installed
php7.4-intl : Depends: php7.4-common (= 1:7.4.30-5+ubuntu18.04.1+deb.sury.org+1) but it is not going to be installed
php7.4-json : Depends: php7.4-common (= 1:7.4.30-5+ubuntu18.04.1+deb.sury.org+1) but it is not going to be installed
php7.4-mbstring : Depends: php7.4-common (= 1:7.4.30-5+ubuntu18.04.1+deb.sury.org+1) but it is not going to be installed
php7.4-mysql : Depends: php7.4-common (= 1:7.4.30-5+ubuntu18.04.1+deb.sury.org+1) but it is not going to be installed
php7.4-opcache : Depends: php7.4-common (= 1:7.4.30-5+ubuntu18.04.1+deb.sury.org+1) but it is not going to be installed
php7.4-readline : Depends: php7.4-common (= 1:7.4.30-5+ubuntu18.04.1+deb.sury.org+1) but it is not going to be installed
php7.4-soap : Depends: php7.4-common (= 1:7.4.30-5+ubuntu18.04.1+deb.sury.org+1) but it is not going to be installed
php7.4-xml : Depends: php7.4-common (= 1:7.4.30-5+ubuntu18.04.1+deb.sury.org+1) but it is not going to be installed
php7.4-xmlrpc : Depends: php7.4-common (= 1:7.4.30-5+ubuntu18.04.1+deb.sury.org+1) but it is not going to be installed
php7.4-zip : Depends: php7.4-common (= 1:7.4.30-5+ubuntu18.04.1+deb.sury.org+1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).