From fce683cda37688c2d9c78246bc309166fe25b986 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Cutzach?= Date: Wed, 5 Feb 2025 11:24:34 +0100 Subject: [PATCH] FIX CI failing on install_chrome_for_tests The CI Fails on install_chrome_for_tests.sh The error indicates that ```bash E: Packages were downgraded and -y was used without --allow-downgrades. ``` The option was added to `apt-get` The PR fixes #1421 --- buildtools/install_chrome_for_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildtools/install_chrome_for_tests.sh b/buildtools/install_chrome_for_tests.sh index 88f35cf68b..acb535837f 100755 --- a/buildtools/install_chrome_for_tests.sh +++ b/buildtools/install_chrome_for_tests.sh @@ -19,6 +19,6 @@ if [[ "$(uname -m)" != "x86_64" ]]; then fi curl -sS -o /tmp/chrome.deb https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION}_amd64.deb \ - && sudo apt-get install -y /tmp/chrome.deb \ + && sudo apt-get install --allow-downgrades -y /tmp/chrome.deb \ && rm /tmp/chrome.deb \ && node_modules/selenium-webdriver/bin/linux/selenium-manager --driver chromedriver