]> 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>
Thu, 9 Mar 2023 14:01:47 +0000 (15:01 +0100)
build-scripts/gh-actions-setup-inv
tasks.py

index 02e5a231e237d7e888af5aca13d0dadde63d8d94..2b1f77dc186de1fefc5d62d73292665b6c5d6e87 100755 (executable)
@@ -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
index 74f14b5dcb658cf2dda4c7f28c19278448d60f90..d478c7f81356822f751e2fa731af89f73bdf96db 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):