diff options
author | Flame Sage <chris062689@gmail.com> | 2019-09-04 03:49:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-04 03:49:55 +0000 |
commit | 573a1e766285f0d4a0797f6b239f30dc7158b918 (patch) | |
tree | 3b732e322041bcab702260696026f62f0571aa11 | |
parent | e1981b8b8d028132ca13d24782110c6715a1652f (diff) |
apt update before upgrade. Use apt-get.
Identified a bug in the script which uses the azure image when attempting to upgrade python3-pip.
Package index was out of date because apt-get update was not ran before attempting the upgrade.
-rw-r--r-- | .ci/templates/build-testing.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.ci/templates/build-testing.yml b/.ci/templates/build-testing.yml index a307addfd..9ce072b9b 100644 --- a/.ci/templates/build-testing.yml +++ b/.ci/templates/build-testing.yml @@ -10,7 +10,7 @@ jobs: BuildSuffix: 'windows-testing' ScriptFolder: 'windows' steps: - - script: sudo apt upgrade python3-pip && pip install requests urllib3 + - script: sudo apt-get update && sudo apt-get -y upgrade python3-pip && pip install requests urllib3 displayName: 'Prepare Environment' - task: PythonScript@0 condition: eq(variables['Build.Reason'], 'PullRequest') |