安装环境:
root@ubuntu :/# uname -r
3.2.0-29-generic
root@ubuntu :/# sudo lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
hhvm版本:
root@ubuntu :/# apt-cache showpkg hhvm
Package: hhvm
Versions:
3.5.0~wheezy
3.5.0~precise
安装hhvm的时候报出以下错误:
root@ubuntu :/# apt-get install hhvm
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:
hhvm : Depends: libmemcached10 but it is not installable
Depends: libcurl3 (>= 7.26.0) but 7.22.0-3ubuntu4.12 is to be installed
Depends: libmagickwand5 but it is not installable
Depends: libmemcachedutil2 but it is not installable
E: Unable to correct problems, you have held broken packages.
该怎么解决这几个依赖,有人可以帮忙指点下吗?
我在Ubuntu14.04上打包了HHVM3.5.0及其依赖库,你下载应该就能运行.
<atarget="_blank"rel="nofollow">http://my.oschina.net/eechen/blog/371643
你确定你是照着这个做的吗?https://github.com/facebook/hhvm/wiki/Prebuilt-Packages-on-Ubuntu-12.04sudoapt-getremovehhvm卸载系统已经安装的HHVM.把文件/etc/apt/sources.list里和目录/etc/apt/sources.list.d/下的HHVM项删除.
重新安装HHVM:
sudoapt-getupdate
sudoapt-cachesearchhhvm
sudoapt-getinstallhhvm
<divclass='ref'>
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。