gpt4 book ai didi

amazon-web-services - 在 ubuntu 20.04 AWS EC2 节点上安装 nginx 时出现问题

转载 作者:行者123 更新时间:2023-12-03 20:23:52 24 4
gpt4 key购买 nike

我尝试通过执行以下操作在 Ubuntu 20.04 AWS EC2 服务器上安装 nginx:

sudo apt update
sudo apt upgrade
sudo apt install nginx
但是最后一个命令失败了:
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:
nginx : Depends: libssl1.0.0 (>= 1.0.2~beta3) but it is not installable
E: Unable to correct problems, you have held broken packages.
关于如何解决这个问题的任何想法?提前致谢

最佳答案

请尝试以下操作:

echo "deb http://security.ubuntu.com/ubuntu bionic-security main" | sudo tee -a /etc/apt/sources.list.d/bionic.list
sudo apt update
apt-cache policy libssl1.0-dev
sudo apt-get install libssl1.0-dev

关于amazon-web-services - 在 ubuntu 20.04 AWS EC2 节点上安装 nginx 时出现问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65520711/

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