我正在尝试在 Nvidia Jetson TX2 中构建 TensorFlow 1.6。使用位于以下位置的脚本:https://github.com/JasonAtNvidia/JetsonTFBuild/blob/master/BuildTensorflow.sh
在这个脚本中,调用了“updatedb”(第 96 行),此时我遇到了一个问题:
BuildTensorflow.sh: line 96: /usr/bin/updatedb: cannot execute binary file: Exec format error
$ sudo updatedb /usr/bin/updatedb: 1: /usr/bin/updatedb: Syntax error: word unexpected (expecting ")")
也许这些信息可以帮助;
$ sudo apt-get install mlocate
Reading package lists... Done
Building dependency tree
Reading state information... Done
mlocate:i386 is already the newest version (0.26-1ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sudo apt-get install locate
Reading package lists... Done
Building dependency tree
Reading state information... Done
locate:i386 is already the newest version (4.6.0+git+20160126-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ dpkg -S /usr/bin/updatedb.findutils
locate:i386: /usr/bin/updatedb.findutils
$ dpkg --print-architecture
arm64
$ dpkg --print-foreign-architectures
i386
$ sudo gedit /etc/apt/sources.list
#---------------------------------------------------------------------
---------#
# OFFICIAL UBUNTU REPOS
#
#---------------------------------------------------------------------
---------#
###### Ubuntu Main Repos
deb [arch=amd64,i386] http://tw.archive.ubuntu.com/ubuntu/ xenial main
restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu/ xenial main restricted
universe multiverse
###### Ubuntu Update Repos
deb [arch=amd64,i386] http://tw.archive.ubuntu.com/ubuntu/ xenial-
security main restricted universe multiverse
deb [arch=amd64,i386] http://tw.archive.ubuntu.com/ubuntu/ xenial-
updates main restricted universe multiverse
deb [arch=amd64,i386] http://tw.archive.ubuntu.com/ubuntu/ xenial-
proposed main restricted universe multiverse
deb [arch=amd64,i386] http://tw.archive.ubuntu.com/ubuntu/ xenial-
backports main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu/ xenial-security main
restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu/ xenial-updates main
restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu/ xenial-proposed main
restricted universe multiverse
$ head -n1 /etc/nv_tegra_release
# R28 (release), REVISION: 2.0, GCID: 10567845, BOARD: t186ref, EABI:
aarch64, DATE: Fri Mar 2 04:57:01 UTC 2018
我正在使用 Ubuntu 16.04
我真的不知道如何解决这个问题,如果能得到任何帮助/指导我将不胜感激。
预先感谢您的帮助!