运行在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.
奇怪的是,完全相同的指令在桌面版本上工作得很好。
发布于 2018-08-16 15:26:57
从此处获取默认源列表
https://askubuntu.com/a/1036749
将/etc/apt/source.list
替换为上面链接中的文件。然后是sudo apt update
和sudo apt upgrade
继续前进..。
https://stackoverflow.com/questions/51778272
复制相似问题