This is an automated email from the ASF dual-hosted git repository.

opolishchuk pushed a commit to branch DATALAB-2849
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to refs/heads/DATALAB-2849 by this push:
     new c98f8e2e3 [DATALAB-2849]: changed downloading key command
c98f8e2e3 is described below

commit c98f8e2e32160fa74605f7a01ef99686320b2686
Author: Oleksandr Polishchuk <[email protected]>
AuthorDate: Wed Aug 31 13:18:43 2022 +0300

    [DATALAB-2849]: changed downloading key command
---
 infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py 
b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
index 4ad7a51bd..0f1143b7d 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
@@ -89,8 +89,7 @@ def ensure_r(os_user, r_libs):
                                                 'libfontconfig1-dev 
libharfbuzz-dev libfribidi-dev libssl-dev '
                                                 'libcurl4-gnutls-dev 
libgit2-dev libxml2-dev libreadline-dev')
             manage_pkg('-y install', 'remote', 'cmake')
-            datalab.fab.conn.sudo("curl -sSL 
'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xE298A3A825C0D65DFD57CBB651716619E084DAB9'
 | apt-key add -")
-           #datalab.fab.conn.sudo('''bash -c -l 'apt-key adv 
--keyserver-options http-proxy="$http_proxy" --keyserver keyserver.ubuntu.com 
--recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9' ''')
+            datalab.fab.conn.sudo('''bash -c -l 'apt-key adv 
--keyserver-options http-proxy="$http_proxy" --keyserver 
hkp://keyserver.ubuntu.com:80 --recv-keys 
E298A3A825C0D65DFD57CBB651716619E084DAB9' ''')
             datalab.fab.conn.sudo("add-apt-repository 'deb 
https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/'")
             manage_pkg('update', 'remote', '')
             manage_pkg('-y install', 'remote', 'r-base r-base-dev')


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to