在本教程之后,这里将引发以下错误:
The following packages have unmet dependencies:
nginx-extras : Depends: perlapi-5.22.1 but it is not installable我理解本教程是针对16.x的。
因为我正在安装Ubuntu 17.04,所以不能在新系统上安装NGinx。
--
有人知道解决办法吗?
发布于 2017-04-24 16:00:58
https://www.phusionpassenger.com/library/install/nginx/install/oss/zesty/
sudo apt-get install -y dirmngr gnupg
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 561F9B9CAC40B2F7
sudo apt-get install -y apt-transport-https ca-certificates
# Add our APT repository
sudo sh -c 'echo deb https://oss-binaries.phusionpassenger.com/apt/passenger zesty main > /etc/apt/sources.list.d/passenger.list'
sudo apt-get update
# Install Passenger + Nginx module
sudo apt-get install -y libnginx-mod-http-passenger libnginx-mod-http-headers-more-filter nginx发布于 2017-05-22 06:52:51
不确定为什么答案被标记为正确,只要解决方案不起作用。如果你看看https://www.phusionpassenger.com/library/install/nginx/install/oss/的评论,17.04版本还没有发布。
谢谢
https://stackoverflow.com/questions/43546865
复制相似问题