Ubuntu 无法安装HHVM:“;包具有未满足的依赖关系:“quot;
我在Ubuntu 14.04,64位,我正在尝试安装HHVM。我已经安装了Nginx。当我运行以下命令时:Ubuntu 无法安装HHVM:“;包具有未满足的依赖关系:“quot;,ubuntu,nginx,apt-get,hhvm,Ubuntu,Nginx,Apt Get,Hhvm,我在Ubuntu 14.04,64位,我正在尝试安装HHVM。我已经安装了Nginx。当我运行以下命令时: sudo apt-get install software-properties-common sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0x5a16e7281be7a449 sudo add-apt-repository "deb http://dl.hhvm.com/ubuntu $(l
sudo apt-get install software-properties-common
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0x5a16e7281be7a449
sudo add-apt-repository "deb http://dl.hhvm.com/ubuntu $(lsb_release -sc) main"
sudo apt-get update
sudo apt-get install hhvm
我得到以下信息:
hhvm : Depends: libgnutls-deb0-28 but it is not installable
Depends: libmemcached11 but it is not installable
Depends: librtmp1 but it is not installable
Depends: libmagickwand-6.q16-2 but it is not installable
sudo dpkg --configure -a
sudo apt-get clean
sudo apt-get update
我已尝试运行以下程序:
hhvm : Depends: libgnutls-deb0-28 but it is not installable
Depends: libmemcached11 but it is not installable
Depends: librtmp1 but it is not installable
Depends: libmagickwand-6.q16-2 but it is not installable
sudo dpkg --configure -a
sudo apt-get clean
sudo apt-get update
我已经清除了我的来源并重新创建了它们。Synaptic软件包管理器显示没有损坏的软件包。。。我缺少什么?我通过安装Aptitude来解决这个问题,安装build essential:
sudo apt-get install aptitude
sudo aptitude install build-essentials
然后安装我在博客文章中找到的一些“必需品”:
sudo apt-get install -y unzip vim git-core curl wget python-software-properties
然后重新安装nginx:
sudo add-apt-repository -y ppa:nginx/stable
sudo apt-get update
sudo apt-get install -y nginx
最后安装HHVM:
wget -0 - http://dl.hhvm.com/conf/hhvm.gpg.key | sudo apt-get add -
echo deb http://dl.hhvm.com/ubuntu trusty main | sudo tee /etc/apt/sources.list.d/hhvm.list
sudo apt-get update
sudo apt-get install -y hhvm
这听起来很像添加了错误的apt存储库。特别是,
Depends: librtmp1 but it is not installable
HHVM的trusty版本(确实存在trusty)
您是否实际运行了上述命令,包括$(lsb_release-sc)
调用?您是否意外地先为vivid
注入了一个,而apt
可能仍在拾取该值
您是否可以检查apt配置,以确保您有deb
行用于trusty
而不是vivid
,并且只有一条apt
行