【发布时间】:2019-01-17 13:59:55
【问题描述】:
在 Virtualbox 上全新安装的 Ubuntu Server 18.04 上运行,Windows 10 作为主机操作系统。在 Phusion 乘客网站 here 上运行说明
这是我得到的错误:
steve@heartypet-staging:~$ sudo apt-get install -y libnginx-mod-http-passenger
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:
libnginx-mod-http-passenger : Depends: passenger (= 1:5.3.4-1~bionic1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
奇怪的是,完全相同的说明在桌面版本上也能正常工作。
【问题讨论】:
-
您能否明确尝试运行
apt-get install passenger。另请查看此链接 - github.com/phusion/passenger/issues/2076 -
它说取决于 ruby-rack,然后当我尝试安装它时,它说 'ruby-rack' 没有安装候选者
-
今天我也遇到了同样的问题,如果你找到了告诉我
-
我通过在这里第一步运行命令解决了这个问题:phusionpassenger.com/library/install/nginx/install/oss/bionic/…
标签: ruby-on-rails ruby ubuntu nginx passenger