Skip to content

Commit 9e547a1

Browse files
committed
Force add key through port 80 to avoid firewall issues
1 parent a9b537a commit 9e547a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fabfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ def sub_add_repos():
8080
"""Adds any repositories needed to install packages"""
8181
if not exists('/etc/apt/sources.list.d/cran.list', use_sudo=True):
8282
# Add the repository for R
83-
sudo('sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys '
84-
'E084DAB9')
83+
sudo('sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 '
84+
'--recv-keys E084DAB9')
8585
run('sudo sh -c "echo \'deb http://cran.rstudio.com/bin/linux/ubuntu '
8686
'trusty/\' >> /etc/apt/sources.list.d/cran.list"')
8787

0 commit comments

Comments
 (0)