]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Avoid Microsoft repo for ODBC. Step 1: allow apt downgrades
authorAlexis Romero <alexis.romero@open-xchange.com>
Wed, 22 Feb 2023 10:48:28 +0000 (11:48 +0100)
committerAlexis Romero <alexis.romero@open-xchange.com>
Mon, 6 Mar 2023 17:13:29 +0000 (18:13 +0100)
build-scripts/gh-actions-setup-inv
tasks.py

index 2a5f441351376ff0250859155902df2cf78af655..3256b71bd0fe4bfb871ab790b63dda402c4ac6c2 100755 (executable)
@@ -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
index 95c940616675f91321e01130946ba742b269f6b9..989ed13adc104a3fa8d726cd7fa29cdb99914f95 100644 (file)
--- a/tasks.py
+++ b/tasks.py
@@ -120,7 +120,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):