![php 7 mcrypt 的依赖性未得到满足](https://linux22.com/image/1002644/php%207%20mcrypt%20%E7%9A%84%E4%BE%9D%E8%B5%96%E6%80%A7%E6%9C%AA%E5%BE%97%E5%88%B0%E6%BB%A1%E8%B6%B3.png)
安装 php7.0-mcrypt 包时出现此错误。
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-image-extra-4.4.0-92-generic : Depends: linux-image-4.4.0-92-generic
but it is not going to be installed
linux-image-extra-4.4.0-93-generic : Depends: linux-image-4.4.0-93-generic
but it is not going to be installed
linux-image-generic : Depends: linux-image-4.4.0-93-generic but it is not
going to be installed
Recommends: thermald but it is not going to be installed
php7.0-mcrypt : Depends: php7.0-common (= 7.0.23-1+ubuntu16.04.1+deb.sury.org+1) but 7.0.22-0ubuntu0.16.04.1 is to be installed
Depends: libmcrypt4 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
已经尝试过 -f install 但出现 dpkg 错误代码 (1)