From 3fd2f2d4dc1d46495cf02041f95450664390e09b Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Mon, 2 Jul 2018 15:50:27 +0200 Subject: [apt] Allow downgrades during APT operations Pinning certain packages (e.g. OVS) interfers with `dist-upgrade` if downgrades are not explicitly allowed. Change-Id: I0b001936e86228037c30f30812e32d6221ef458d Signed-off-by: Alexandru Avadanii --- mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/init.yml.j2 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mcp/reclass/classes/cluster/mcp-pike-common-ha') diff --git a/mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/init.yml.j2 b/mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/init.yml.j2 index 7f3839e82..a1653d51a 100644 --- a/mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/init.yml.j2 +++ b/mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/init.yml.j2 @@ -73,6 +73,8 @@ parameters: config: prefer_ipv4: Acquire::ForceIPv4: true + allow_downgrades: + APT::Get::allow-downgrades: true user: ubuntu: enabled: true -- cgit 1.2.3-korg