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: auth-4.7.4~8^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=85c1c08d27f2fe7f82dcb347d92d3d2f0ea60d0f;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 2a5f441351..3256b71bd0 100755 --- a/build-scripts/gh-actions-setup-inv +++ b/build-scripts/gh-actions-setup-inv @@ -6,6 +6,6 @@ EOF " sudo chmod 755 /usr/sbin/policy-rc.d 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 84480b5295..1f06930c92 100644 --- a/tasks.py +++ b/tasks.py @@ -121,7 +121,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):