由于以下问题,无法安装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 $发布于 2020-03-10 01:21:03
Sukanta,您尝试安装的包是基于AMD64的体系结构,而Raspbian是基于ARM64的。您需要在amd64计算机上安装该程序包。
发布于 2020-03-10 05:48:38
您还可以按照以下步骤获取树莓派节点的边缘访问令牌。
1)在Windows/Ubuntu/MacOS ( PC平台)中安装edgeSDK和oauthtool 2)从PC平台转到开发者门户并运行oauthttool 3)在"Get OAuth 2.0“部分中,输入树莓pi单元的IP地址,然后点击获取边缘访问令牌4)oauthtool将显示树莓pi的边缘访问令牌
https://stackoverflow.com/questions/60603458
复制相似问题