【发布时间】:2015-07-28 21:50:18
【问题描述】:
就在今天,我注册了 Google Cloud Compute Engine。我做了所有事情,但在安装 php5-mcrypt 扩展时遇到了错误。
错误:
root@instance-2:~# sudo apt-get install php5-mcrypt
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:
php5-mcrypt : Depends: phpapi-20121212
Depends: php5-common (= 5.5.24+dfsg-1+deb.sury.org~vivid+1) but 5.6.4+dfsg-4ubuntu6 is to be installed
E: Unable to correct problems, you have held broken packages.
我到处寻找,然后来到这里。请帮忙。
【问题讨论】:
-
你运行的是哪个版本的 Ubuntu?
标签: php ubuntu server google-compute-engine mcrypt