Skip to content
This repository was archived by the owner on Oct 27, 2023. It is now read-only.

Commit cef6154

Browse files
authored
Fix cert failure during apt-get update (pytorch#1700)
By installing newer version of `libgnutls30` that contains a root cert update See nodesource/distributions#1266 (comment)
1 parent b704eba commit cef6154

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.jenkins/build.sh

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ export LANG=C.UTF-8
1212

1313
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
1414

15+
# Update root certificates by installing new libgnutls30
16+
sudo apt-get update || sudo apt-get install libgnutls30
1517
sudo apt-get update
1618
sudo apt-get install -y --no-install-recommends unzip p7zip-full sox libsox-dev libsox-fmt-all rsync
1719

0 commit comments

Comments
 (0)