Skip to content

Commit d552bc1

Browse files
authored
Remove cuda.list from apt sources (#9896) (#9898)
This will fix the collect_all_artifacts.sh script, which was broken recently when NVidia stopped publishing Cuda packages for Ubuntu 16.04.
1 parent 791a435 commit d552bc1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

kokoro/release/collect_all_artifacts.sh

+3
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ cp ${INPUT_ARTIFACTS_DIR}/build64/src/protoc protoc/macosx_x64/protoc
5050
# TODO(jtattermusch): use "mono:5.14" docker image instead so we don't have to apt-get install
5151
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
5252
echo "deb https://download.mono-project.com/repo/ubuntu stable-xenial main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
53+
# NVidia has stopped publishing Cuda packages for Ubuntu 16.04, so we need to
54+
# delete this file to allow the apt update to run successfully.
55+
sudo rm -f /etc/apt/sources.list.d/cuda.list
5356
sudo apt update
5457
sudo apt-get install -y nuget
5558

0 commit comments

Comments
 (0)