From b53758f8631d839f8a77e3c42d198f1443352214 Mon Sep 17 00:00:00 2001 From: to-bar <46519524+to-bar@users.noreply.github.com> Date: Wed, 6 Jul 2022 16:09:45 +0000 Subject: [PATCH] Workaround for esl-erlang package issue --- .../download-requirements/src/command/debian/apt_cache.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ansible/playbooks/roles/repository/files/download-requirements/src/command/debian/apt_cache.py b/ansible/playbooks/roles/repository/files/download-requirements/src/command/debian/apt_cache.py index 02146000bf..672dd8c4ea 100644 --- a/ansible/playbooks/roles/repository/files/download-requirements/src/command/debian/apt_cache.py +++ b/ansible/playbooks/roles/repository/files/download-requirements/src/command/debian/apt_cache.py @@ -112,6 +112,9 @@ def get_package_dependencies(self, package: str) -> List[str]: dep = dep.split('Depends:')[-1] # remove "Depends: if not virt_pkg and dep != package: # avoid adding package itself + # workaround for https://elixirforum.com/t/installing-erlang-elixir-on-ubuntu-20-04-is-failing-esl-erlang-25-0-2-1-ubuntu-focal-amd64-deb-file-has-unexpected-size/48754 + # TODO: verify after issues 3210 and 3209 are fixed # pylint: disable=fixme + if dep != 'esl-erlang': # for rabbitmq-server deps.append(dep) return list(set(deps))