A
A
artem782017-09-21 22:58:50
linux
artem78, 2017-09-21 22:58:50

How to install mod-wsgi for apache 2.4 in ubuntu 12.04?

There is a small Python3 project using Flask. I want to deploy it on my VDS server. I have Ubuntu 12.04 so Apache 2.4 is installed from a third party repository. I install the libapache2-mod-wsgi-py3 package, but I get an error that it requires Apache 2.2. How to be?

[email protected] ~ $ sudo apt-get install libapache2-mod-wsgi-py3
Чтение списков пакетов… Готово
Построение дерева зависимостей       
Чтение информации о состоянии… Готово
Некоторые пакеты невозможно установить. Возможно, вы просите невозможного,
или же используете нестабильную версию дистрибутива, где запрошенные вами
пакеты ещё не созданы или были удалены из Incoming.
Следующая информация, возможно, поможет вам:

Пакеты, имеющие неудовлетворённые зависимости:
 libapache2-mod-wsgi-py3 : Зависит: apache2.2-common но он не будет установлен
E: Невозможно исправить ошибки, у вас отложены (held) битые пакеты.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Mukovoz, 2017-09-21
@castomi

If I understand correctly, this is a clean OS you now have and the old version of Ubuntu costs so much, not because the server is old, but because for some reason you chose this particular version.
If I understand everything correctly, then the advice is simple, install a fresh OS and do not use third-party repositories. For example, I can recommend installing Debian 9. And you won’t have to dance with a tambourine)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question