Gitlab的安装立即开始工作,但是“他们”希望这个服务器也能提供其他的网页(wiki和其他东西),所以我不得不从Gitlab中解压nginx并完成完整的安装。
根据我在这里看到的(https://www.linode.com/docs/development/version-control/how-to-unbundle-nginx-from-omnibus-gitlab-for-serving-multiple-websites),我需要安装乘客,但是,哦,惊讶,看看如果您试图:
apt-get install nginx-common
{..}
The following packages have unmet dependencies:
libnginx-mod-http-passenger : Depends: nginx-common (= 1.10.3-1ubuntu3.1) but 1.12.1-0ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.所以基本上它没有完成乘客的安装,我不能继续:S
有什么好主意吗?
发布于 2017-11-17 11:40:37
所以,如果有人到了那里:
sudo apt-get install nginx-extras
sudo apt-get install nginx-common
sudo apt-get install passenger然后就到了。希望能帮上忙。
https://askubuntu.com/questions/977352
复制相似问题