0

由于以下问题,无法安装 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 $
4

2 回答 2

0

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

于 2020-03-09T17:21:03.393 回答
0

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

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

于 2020-03-09T21:48:38.403 回答