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: dnsdist-1.8.0-rc1^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F12573%2Fhead;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 b042062fed..53239df53b 100755 --- a/build-scripts/gh-actions-setup-inv +++ b/build-scripts/gh-actions-setup-inv @@ -9,6 +9,6 @@ sudo apt-get update # FIXME: Avoid GRUB related errors due to runner image configuration by removing it. sudo dpkg --purge --force-all grub-efi-amd64-signed && sudo dpkg --purge --force-all shim-signed sudo apt-get autoremove -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 fcf7039235..0e760284be 100644 --- a/tasks.py +++ b/tasks.py @@ -146,7 +146,7 @@ doc_deps_pdf = [ def apt_fresh(c): c.sudo('sed -i \'s/azure\.//\' /etc/apt/sources.list') 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):