![php7.0 安装 imap 时出现的问题](https://linux22.com/image/900713/php7.0%20%E5%AE%89%E8%A3%85%20imap%20%E6%97%B6%E5%87%BA%E7%8E%B0%E7%9A%84%E9%97%AE%E9%A2%98.png)
我正在尝试安装,imap
但它无缘无故地出现此错误。我尝试了论坛问题上的每个解决方案,但没有成功。
这是我得到的错误
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
php7.0-imap : Depends: php7.0-common (= 7.0.25-0ubuntu0.16.04.1) but 7.0.30-0ubuntu0.16.04.1 is to be installed
E: Unable to correct problems, you have held broken packages.
我曾尝试这样做,但没有成功。
这是输出apt-cache policy php7.0-imap
Installed: (none)
Candidate: 7.0.25-0ubuntu0.16.04.1
Version table:
7.0.25-0ubuntu0.16.04.1 500
500 http://repo.inara.pk/ubuntu xenial-updates/universe amd64 Packages
7.0.22-0ubuntu0.16.04.1 500
500 http://repo.inara.pk/ubuntu xenial-security/universe amd64 Packages
7.0.4-7ubuntu2 500
500 http://repo.inara.pk/ubuntu xenial/universe amd64 Packages