gpt4 book ai didi

ubuntu - 当我尝试安装 nginx 时未遇到的包

转载 作者:太空宇宙 更新时间:2023-11-03 16:52:24 27 4
gpt4 key购买 nike

当我尝试运行 sudo apt-get install nginx-full 时出现此错误:

The following packages have unmet dependencies:
nginx-full : Depends: nginx-extras (>= 1:1.10.1-8.5.0.30~trusty1) but it is not going to be installed
Depends: nginx-extras (< 1:1.10.1-8.5.0.30~trusty1.1~) but it is not going to be installed

所以我运行 apt-get install nginx-extras 并收到此错误:

The following packages have unmet dependencies:
nginx-extras : Depends: perlapi-5.18.2 but it is not installable
Depends: libperl5.18 (>= 5.18.2) but it is not installable
Recommends: passenger (< 5.0.31) but 1:5.0.30-1~wheezy1 is to be installed
E: Unable to correct problems, you have held broken packages.

我该如何解决?

最佳答案

可能是ubuntu版本错误,试试这个命令~

sudo sh -c 'echo deb https://oss-binaries.phusionpassenger.com/apt/passenger xenial main >/etc/apt/sources.list.d/passenger.list'

关于ubuntu - 当我尝试安装 nginx 时未遇到的包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40350698/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com