【问题标题】:susdo apt-get install ./edgesdk-oauth-tool-setup-linux-1.0.0.deb does not work on raspbiansusdo apt-get install ./edgesdk-oauth-tool-setup-linux-1.0.0.deb 在 raspbian 上不起作用
【发布时间】:2020-03-09 15:13:13
【问题描述】:

由于以下问题,无法安装 oauth-tool。

pi@raspberrypi:~/Downloads $ sudo apt-get install ./edgesdk-oauth-tool-setup-linux-1.0.0.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
**Note, selecting 'edgesdk-oauth-tool:amd64' instead of './edgesdk-oauth-tool-setup-linux-1.0.0.deb'**
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 edgesdk-oauth-tool:amd64 : Depends: libgtk-3-0:amd64 but it is not installable
                            Depends: libnotify4:amd64 but it is not installable
                            Depends: libnss3:amd64 but it is not installable
                            Depends: libxss1:amd64 but it is not installable
                            Depends: libxtst6:amd64 but it is not installable
                            Depends: libatspi2.0-0:amd64 but it is not installable
                            Depends: libuuid1:amd64 but it is not installable
                            Depends: libappindicator3-1:amd64 but it is not installable
                            Depends: libsecret-1-0:amd64 but it is not installable
E: Unable to correct problems, you have held broken packages.
pi@raspberrypi:~/Downloads $

【问题讨论】:

    标签: edgesdk edgeengine


    【解决方案1】:

    Sukanta,您尝试安装的软件包是基于 amd64 的架构,而 Raspbian 是基于 ARM64 的。您需要在 amd64 机器上安装该软件包。

    【讨论】:

      【解决方案2】:

      您也可以按照以下步骤获取树莓派节点的边缘访问令牌。

      1) 在您的 Windows/Ubuntu/MacOS(PC 平台)中安装 edgeSDK 和 oauthtool 2) 从您的 PC 平台转到开发人员门户并运行 oauthttool 3)在“获取OAuth 2.0”部分,输入树莓派单元的IP地址,点击获取边缘访问令牌Token 4)oauthtool 将显示树莓派的边缘访问令牌

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2019-07-30
        • 2015-08-31
        • 1970-01-01
        • 2016-12-02
        相关资源
        最近更新 更多