Skip to content

Commit

Permalink
fix: Update apt before installing apt-transport-https (#882)
Browse files Browse the repository at this point in the history
Fixes #881 (somewhat hopefully)
  • Loading branch information
jskeet authored Dec 16, 2020
1 parent d73e8de commit 41e998d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .kokoro-autosynth/dotnet-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ curl -s https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > micr
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial main" > /etc/apt/sources.list.d/dotnetdev.list'

sudo apt-get -qq install -y apt-transport-https
sudo apt-get -qq update
sudo apt-get -qq install -y apt-transport-https
sudo apt-get -qq install -y dotnet-sdk-2.2=2.2.105-1
sudo apt-get -qq install -y dotnet-sdk-3.1=3.1.102-1

Expand Down

0 comments on commit 41e998d

Please sign in to comment.