]> 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>
Wed, 8 Mar 2023 15:21:28 +0000 (16:21 +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 7666749fcea325c614f4885da3889d0b1a02031e..0d8534a1d37f89eae6b1c6a2ed7d36d6a9ee06c6 100644 (file)
--- 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):