Проблема с установкой nginx на узел Ubuntu 20.04 AWS EC2

Я пытаюсь установить nginx на сервер Ubuntu 20.04 AWS EC2, выполнив следующие действия:

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.

Любые идеи о том, как решить эту проблему? заранее спасибо


person timboektoe    schedule 31.12.2020    source источник
comment
Можете ли вы указать идентификатор AMI, имя AMI и регион? Я устанавливаю nginx без ошибок.   -  person Franxi Hidro    schedule 31.12.2020
comment
ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20201026, eu-west (Ирландия)   -  person timboektoe    schedule 01.01.2021


Ответы (1)


Попробуйте следующее:

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
person Asri Badlah    schedule 31.12.2020
comment
Да! Супер! Задача решена. Большое спасибо! - person timboektoe; 31.12.2020