fititnt / ap-application-load-balancer

AP Application Load Balancer (AP-ALB). Sophisticated monolithic Ansible role to manage standalone and clusters of cross-platform and multicloud load balancers. Abstract HAProxy + OpenResty + On-the-fly auto HTTPS. Dedicated to Public Domain.
https://ap-application-load-balancer.etica.ai/
The Unlicense
1 stars 0 forks source link

ALB on Debian distribution #41

Open fititnt opened 4 years ago

fititnt commented 4 years ago

Issue related to AP-ALB v0.8.x adaptations to support RHEL/CentOS 8 family and design changes to allow flexibility even for non-tested OSs #34

This is also a topic similar to ALB on BSD Systems #37. So is likely to stay open forever.


This issue contain quick references about ALB on very specific Debian distribution. This does not include operational systems based on the Debian OS Family (like Ubuntu).

DontBreakDebian

About APT and repositories


Edit: added references about apt configuration

fititnt commented 4 years ago

AP-ALB v0.8.5-alpha Compatibility issue with external Ansible Role githubixx/ansible-role-wireguard v4.1.1

As commented here https://github.com/fititnt/ap-application-load-balancer/issues/29#issuecomment-565811116 after a re-run of AP-ALB on a host that had ben configured with githubixx/ansible-role-wireguard, at this moment the AP-ALB may fail.

## host: root@ap-foxtrot-debian10:~#

# This works, even with githubixx/ansible-role-wireguard
apt install haproxy

# This also still works
apt install haproxy -t buster-backports-2.0

# This does not works (but without githubixx/ansible-role-wireguard was working)
apt install haproxy=2.0.\*
apt install haproxy=2.0.\* -t buster-backports-2.0

## root@ap-foxtrot-debian10:~# apt install haproxy=2.0.\* -t buster-backports-2.0
## Reading package lists... Done
## Building dependency tree       
## Reading state information... Done
## Selected version '2.0.11-1' (Debian:unstable [amd64]) for 'haproxy'
## 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:
##  haproxy : Depends: libcrypt1 (>= 1:4.1.0) but it is not going to be installed
## E: Unable to correct problems, you have held broken packages.

Edit 1

Using the more specific 2.0.*~bpo10+1 seems for enforce our version, even if a user uses debian testing mixed with debian stable.

apt install haproxy=2.0.*~bpo10+1 -t buster-backports-2.0
## root@ap-foxtrot-debian10:~# apt install haproxy=2.0.*~bpo10+1 -t buster-backports-2.0
## Reading package lists... Done
## Building dependency tree       
## Reading state information... Done
## haproxy is already the newest version (2.0.11-1~bpo10+1).
## Selected version '2.0.11-1~bpo10+1' (HAProxy 2.0:buster-backports-2.0 [amd64]) ## for 'haproxy'
## 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.