You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2021/02/18 13:12:19 UTC

[incubator-datalab] branch DATALAB-2091 updated: [DATALAB-2091]: fixed file path

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

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


The following commit(s) were added to refs/heads/DATALAB-2091 by this push:
     new dd1f891  [DATALAB-2091]: fixed file path
dd1f891 is described below

commit dd1f891bf09f8864b387d0774685a0532c42bbb7
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Thu Feb 18 15:12:08 2021 +0200

    [DATALAB-2091]: fixed file path
---
 .../src/general/lib/os/debian/common_lib.py                  | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/infrastructure-provisioning/src/general/lib/os/debian/common_lib.py b/infrastructure-provisioning/src/general/lib/os/debian/common_lib.py
index 14dca3b..afc7eec 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/common_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/common_lib.py
@@ -53,13 +53,13 @@ def manage_pkg(command, environment, requisites):
                                                   '/tmp/dpkg.log; then echo "no_error" > /tmp/dpkg.log;fi'.format(error_parser))
                             print('----------- install 1')
                             datalab.fab.conn.sudo('ls -la /tmp/')
-                            err = datalab.fab.conn.sudo('cat /tmp/apt.log')
-                            print('=========cat /tmp/apt.log')
-                            datalab.fab.conn.sudo('cat /tmp/apt.log')
-                            print('=========xxd /tmp/apt.log')
-                            datalab.fab.conn.sudo('xxd /tmp/apt.log')
+                            err = datalab.fab.conn.sudo('cat /tmp/dpkg.log')
+                            print('=========cat /tmp/dpkg.log')
+                            datalab.fab.conn.sudo('cat /tmp/dpkg.log')
+                            print('=========xxd /tmp/dpkg.log')
+                            datalab.fab.conn.sudo('xxd /tmp/dpkg.log')
                             print('=========')
-                            type(datalab.fab.conn.sudo('xxd /tmp/apt.log'))
+                            type(datalab.fab.conn.sudo('xxd /tmp/dpkg.log'))
                             count = 0
                             while err != 'no_error' and count < 10:
                                 pid = datalab.fab.conn.sudo('lsof /var/lib/dpkg/lock-frontend | grep dpkg | awk \'{print $2}\'')


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org