Skip to content

Commit

Permalink
Add redundant R key servers. (apache#11489)
Browse files Browse the repository at this point in the history
  • Loading branch information
KellenSunderland authored and marcoabreu committed Jul 2, 2018
1 parent 84b9b41 commit cb4d310
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions ci/docker/install/ubuntu_r.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,14 @@
set -ex
# install libraries for mxnet's r package on ubuntu
echo "deb http://cran.rstudio.com/bin/linux/ubuntu trusty/" >> /etc/apt/sources.list
gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9
gpg -a --export E084DAB9 | apt-key add -

key=E084DAB9

gpg --keyserver keyserver.ubuntu.com --recv-key $key || \
gpg --keyserver keyserver.pgp.com --recv-keys $key || \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys $key ;

gpg -a --export $key | apt-key add -

apt-get update
apt-get install -y --allow-unauthenticated r-base r-base-dev libxml2-dev libssl-dev libxt-dev

0 comments on commit cb4d310

Please sign in to comment.