首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >将DSX-Desktop 1.2.0升级到1.2.2时出错

将DSX-Desktop 1.2.0升级到1.2.2时出错
EN

Stack Overflow用户
提问于 2018-02-27 04:50:51
回答 1查看 59关注 0票数 0

datascienceexperience,#DSX,#ibm-data-Desktop,#ibm-data-refinery,#DSX-Desktop

我在我的联想Thinkpad T440p上安装了DSX-Desktop 1.2.0,操作系统是RHEL7.4Linux。主屏幕显示"Update Available“。

当我选择"Update for Linux“时,它失败了,无法更新属于"root”所有者的/usr/bin。我可以通过命令行上的Sudo切换到"root“,但不知道如何通过CLI调用更新。

以下是DSX-Desktop.log文件:

代码语言:javascript
复制
[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
EN

回答 1

Stack Overflow用户

发布于 2018-05-23 07:58:12

在幕后,应用程序更新只需下载最新的.AppImage并替换当前的。

你可以通过删除现有的.AppImage,然后从https://www.ibm.com/us-en/marketplace/data-science-experience/purchase#purchasing下载最新的来完成同样的事情。

备注:请勿通过设置页面卸载DSX Desktop,因为它会删除您安装的所有docker镜像(RStudio、Jupyter、齐柏林飞艇)。相反,只需删除.AppImage即可。

编辑:我在日志中注意到这一点:

代码语言:javascript
复制
[2018-02-26 12:07:54:0537] [error] Cannot write to the directory /usr/bin

你把DSX Desktop放在/usr/bin里面了吗?

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/48996869

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档