数据科学经验,#DSX,#ibm-data-catalog,#ibm-data-refinery,#DSX-Desktop
我在 RHEL 7.4 Linux 下的 Lenovo Thinkpad T440p 上安装了 DSX-Desktop 1.2.0。主屏幕显示“更新可用”。
当我选择“Linux 更新”时,无法更新“root”所有者拥有的 /usr/bin 失败。我可以在命令行上通过 Sudo 切换到“root”,但不知道如何通过 CLI 调用更新。
这是 DSX-Desktop.log 文件:
[2018-02-26 12:07:26:0074] [debug] Initialized logger!
[2018-02-26 12:07:28:0533] [info] Version: 1.2.0
[2018-02-26 12:07:28:0533] [info] Operating System: Linux
[2018-02-26 12:07:28:0535] [info] InitialPage() container
[2018-02-26 12:07:28:0646] [info] Mounting Preferences
[2018-02-26 12:07:28:0685] [info] Render ToolsModal for
[2018-02-26 12:07:28:0686] [info] false
[2018-02-26 12:07:28:0699] [info] Mounting UpdaterContainer
[2018-02-26 12:07:28:0705] [info] checking for updates....
[2018-02-26 12:07:28:0706] [info] Calling check for updates...
[2018-02-26 12:07:28:0706] [info] Checking for app updates...
[2018-02-26 12:07:28:0727] [info] Checking for image updates...
[2018-02-26 12:07:28:0734] [info] Render UpdaterModal
[2018-02-26 12:07:28:0735] [info] false
[2018-02-26 12:07:28:0989] [info] Checking docker and images on application start up.
[2018-02-26 12:07:28:0995] [info] The Projects are dsx-samples,defaultProject
[2018-02-26 12:07:29:0138] [info] Found version 1.2.2 at https://github.com/IBMDataScience/DSx-Desktop/releases/download/1.2.2/ibm-dsx-desktop.AppImage
[2018-02-26 12:07:29:0257] [info] Getting update information from updates.json
[2018-02-26 12:07:29:0260] [info] Getting update information from updates.json
[2018-02-26 12:07:29:0261] [info] Getting update information from updates.json
[2018-02-26 12:07:29:0262] [info] Getting update information from updates.json
[2018-02-26 12:07:29:0310] [info] Getting update information from updates.json
[2018-02-26 12:07:29:0324] [info] Notebook updates not available...
[2018-02-26 12:07:29:0324] [info] dsxJSON is [object Object]
[2018-02-26 12:07:29:0325] [info] DSX updates not available...
[2018-02-26 12:07:29:0325] [info] util: emit update-not-available for image
[2018-02-26 12:07:29:0325] [info] controller: emit update-available
[2018-02-26 12:07:29:0334] [info] The updateAvailable is true
[2018-02-26 12:07:29:0336] [info] Render UpdaterModal
[2018-02-26 12:07:29:0336] [info] false
[2018-02-26 12:07:29:0346] [info] The updateAvailable is true
[2018-02-26 12:07:29:0353] [info] Render UpdaterModal
[2018-02-26 12:07:29:0353] [info] false
[2018-02-26 12:07:29:0356] [info] The updateAvailable is true
[2018-02-26 12:07:29:0356] [info] Render UpdaterModal
[2018-02-26 12:07:29:0356] [info] false
[2018-02-26 12:07:29:0357] [info] CONTAINER: Need to update app
[2018-02-26 12:07:39:0366] [info] dockerConfirm: true
[2018-02-26 12:07:39:0366] [info] Docker is up and running.
[2018-02-26 12:07:54:0501] [info] Calling download updates...
[2018-02-26 12:07:54:0501] [info] Downloading Updates...
[2018-02-26 12:07:54:0503] [info] Downloading updates from https://github.com/IBMDataScience/DSx-Desktop/releases/download/1.2.2/ibm-dsx-desktop.AppImage
[2018-02-26 12:07:54:0509] [warn] Cannot write to the directory /usr/bin
[2018-02-26 12:07:54:0512] [info] controller: emit update-downloading
[2018-02-26 12:07:54:0517] [info] Container:Update downloading
[2018-02-26 12:07:54:0521] [info] The updateAvailable is true
[2018-02-26 12:07:54:0522] [info] Render UpdaterModal
[2018-02-26 12:07:54:0522] [info] false
[2018-02-26 12:07:54:0537] [error] Cannot write to the directory /usr/bin
[2018-02-26 12:07:54:0548] [info] The updateAvailable is true
[2018-02-26 12:07:54:0549] [info] Render UpdaterModal
[2018-02-26 12:07:54:0549] [info] false
[2018-02-26 12:07:54:0551] [info] Set state visibleModal error
[2018-02-26 12:07:54:0553] [info] The updateAvailable is true
[2018-02-26 12:07:54:0554] [info] Render UpdaterModal
[2018-02-26 12:07:54:0554] [info] false
[2018-02-26 12:07:54:0621] [info] The updateAvailable is true
[2018-02-26 12:07:54:0622] [info] Render UpdaterModal
[2018-02-26 12:07:54:0622] [info] false
[2018-02-26 12:07:54:0626] [info] The updateAvailable is true
[2018-02-26 12:07:54:0630] [info] Render UpdaterModal
[2018-02-26 12:07:54:0630] [info] false