From 830d8b1a4c0c7dda25f4387966f57086a177cd64 Mon Sep 17 00:00:00 2001 From: Sean Leather Date: Thu, 30 May 2019 10:25:05 +0200 Subject: [PATCH] CI: Remove ppa:ubuntu-toolchain-r/test See https://github.com/scikit-learn/scikit-learn/issues/13928 for a similar experience. --- ci/azure-steps.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ci/azure-steps.yml b/ci/azure-steps.yml index c240ed0..9f418fb 100644 --- a/ci/azure-steps.yml +++ b/ci/azure-steps.yml @@ -3,6 +3,13 @@ steps: - bash: rustup target add $TARGET displayName: Install Rust target + # Remove the ubuntu-toolchain-r/test PPA, which is added by default. Some + # packages were removed, and this is causing the g++multilib install to fail. + # Similar issue: https://github.com/scikit-learn/scikit-learn/issues/13928 + - bash: sudo add-apt-repository --remove ppa:ubuntu-toolchain-r/test + condition: eq( variables['Agent.OS'], 'Linux' ) + displayName: Remove ppa:ubuntu-toolchain-r/test + - bash: sudo apt-get install g++-multilib condition: eq( variables['Agent.OS'], 'Linux' ) displayName: Install g++-multilib