From: Alexis Romero Date: Wed, 22 Feb 2023 10:48:28 +0000 (+0100) Subject: Avoid Microsoft repo for ODBC. Step 1: allow apt downgrades X-Git-Tag: rec-4.6.6~1^2~5 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=47fc5592974cfe39470f881f7247ee4d556dd518;p=thirdparty%2Fpdns.git Avoid Microsoft repo for ODBC. Step 1: allow apt downgrades --- diff --git a/build-scripts/gh-actions-setup-inv b/build-scripts/gh-actions-setup-inv index 02e5a231e2..2b1f77dc18 100755 --- a/build-scripts/gh-actions-setup-inv +++ b/build-scripts/gh-actions-setup-inv @@ -1,5 +1,5 @@ #!/bin/bash -x sudo apt-get update -sudo apt-get -qq -y dist-upgrade +sudo apt-get -qq -y --allow-downgrades dist-upgrade sudo apt-get -qq -y --no-install-recommends install python3-pip sudo pip3 install git+https://github.com/pyinvoke/invoke@faa5728a6f76199a3da1750ed952e7efee17c1da diff --git a/tasks.py b/tasks.py index 74f14b5dcb..d478c7f813 100644 --- a/tasks.py +++ b/tasks.py @@ -117,7 +117,7 @@ auth_test_deps = [ # FIXME: we should be generating some of these from shlibde @task def apt_fresh(c): c.sudo('apt-get update') - c.sudo('apt-get dist-upgrade') + c.sudo('apt-get -qq -y --allow-downgrades dist-upgrade') @task def install_clang(c):