Close

Unable to install Bazel dependency

A project log for 32-TFLOP Deep Learning GPU Box

A super-fast linux-based machine with multiple GPUs for training deep neural nets

robotbugsrobotbugs 06/27/2016 at 20:021 Comment

I am trying to install TensorFlow from source on ubuntu 14.04. Installing the dependencies is the problem. I was able to install the python related dependencies, and then moved on to Bazel. The first step was to install java8, and that went ok.

The next was to install Bazel itself. When doing the apt-get update I just get the error

"W: Failed to fetch http://storage.googleapis.com/bazel-apt/dists/stable/InRelease Unable to find expected entry 'jdk1.8/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file) / E: Some index files failed to download. They have been ignored, or old ones used instead."

and then I am lost. I can't find anything useful about this error on the web. I might try installing the binary directly.

Discussions

jsongcse wrote 07/04/2016 at 09:17 point

I suffered from the same problem. I hope this be helpful:

sudo vim /etc/apt/sources.list.d/bazel.list

change 'deb' to 'deb [arch=amd64]'

  Are you sure? yes | no