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
commit 1dcf93e57668bf7911caf913a0a42e7433979263 Author: Oleksandr Polishchuk <[email protected]> AuthorDate: Wed Aug 31 12:05:40 2022 +0300 [DATALAB-2849]: changed method of downloading key --- infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 14751190f..4ad7a51bd 100644 --- a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py +++ b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py @@ -89,7 +89,8 @@ 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('''bash -c -l 'apt-key adv --keyserver-options http-proxy="$http_proxy" --keyserver hkp://keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9' ''') + 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("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]
