A
A
Anatoly2020-02-16 07:54:18
Debian
Anatoly, 2020-02-16 07:54:18

How to set up a repository?

Debian 10
Connected the nginx repository, installed the stable version: nginx/1.16.1
Now I want to connect the libnginx-mod-http-geoip module, but there was a problem that

apt install libnginx-mod-http-geoip
Чтение списков пакетов… Готово
Построение дерева зависимостей
Чтение информации о состоянии… Готово
Некоторые пакеты не могут быть установлены. Возможно, то, что вы просите,
неосуществимо, или же вы используете нестабильную версию дистрибутива, где
запрошенные вами пакеты ещё не созданы или были удалены из Incoming.
Следующая информация, возможно, вам поможет:

Следующие пакеты имеют неудовлетворённые зависимости:
libnginx-mod-http-geoip : Зависит: nginx-common (= 1.14.2-2+deb10u1) но он не будет установлен
E: Невозможно исправить ошибки: у вас зафиксированы сломанные пакеты.

The libnginx-mod-http-geoip version depends on the nginx-common version package of another version (1.14), i.e. i can't install it.
When I add the testing repository to /etc/apt/sources.list, the version 1.16 package appears, but when I install it, nginx does not work for me

Question, what should I do?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
vreitech, 2020-02-16
@fzfx

if the nginx repository does not contain the module you need - contact the author of the repository to solve this problem; find the repository that contains the module you need; build nginx from source.

C
CityCat4, 2020-02-16
@CityCat4

In stable 1.14.2, in tester 17.x, in the end everything broke down...

And what's so amazing about that? Are you trying a module that relies on a certain api to pair with a server that doesn't provide or doesn't provide the api - and expect it to work?
If you need a module from a test turnip, you also need to install nginx from a test turnip. If you want nginx from stable, then shave with the module...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question