This is an automated email from the ASF dual-hosted git repository. lfrolov pushed a commit to branch DLAB-1996 in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit 4b8443e32acf36f2e6fff5186ab265222aad8b5b Author: leonidfrolov <frolovl...@gmail.com> AuthorDate: Thu Aug 13 10:38:57 2020 +0300 [DLAB-1996]: fixed usage of pkg version during installation --- infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py | 2 +- 1 file changed, 1 insertion(+), 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 a9a2fa9..835656e 100644 --- a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py +++ b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py @@ -410,7 +410,7 @@ def install_os_pkg(requisites): version = 'N/A' os_pkg = os_pkg[0] sudo('DEBIAN_FRONTEND=noninteractive apt-get -y install --allow-downgrades {0} 2>&1 | tee /tmp/tee.tmp; if ! grep -w -E "({1})" /tmp/tee.tmp > ' - '/tmp/os_install_{2}.log; then echo "" > /tmp/os_install_{2}.log;fi'.format(os_pkg.split("=")[0], error_parser, name)) + '/tmp/os_install_{2}.log; then echo "" > /tmp/os_install_{2}.log;fi'.format(os_pkg, error_parser, name)) err = sudo('cat /tmp/os_install_{}.log'.format(name)).replace('"', "'") sudo('cat /tmp/tee.tmp | if ! grep -w -E -A 30 "({1})" /tmp/tee.tmp > ' '/tmp/os_install_{0}.log; then echo "" > /tmp/os_install_{0}.log;fi'.format(name, new_pkgs_parser)) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org For additional commands, e-mail: commits-h...@dlab.apache.org