Build 无法将Bazel更新为最新版本 我有BAZEL的旧版本,它与构建ToSoFraseC++的API不匹配。下面是$bazel版本的返回

Build 无法将Bazel更新为最新版本 我有BAZEL的旧版本,它与构建ToSoFraseC++的API不匹配。下面是$bazel版本的返回,build,tensorflow,ubuntu-14.04,bazel,Build,Tensorflow,Ubuntu 14.04,Bazel,然而,当我试图升级它时,我没有得到任何新的东西 $ sudo apt-get upgrade Bazel Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done bazel is already the newest version. The following packages were automati

然而,当我试图升级它时,我没有得到任何新的东西

$ sudo apt-get upgrade Bazel
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
bazel is already the newest version.
The following packages were automatically installed and are no longer required:
  fonts-font-awesome ipython-notebook-common libbonobo2-0 libbonobo2-common
  libgconf2-4 libgnome2-0 libgnome2-bin libgnome2-common libgnomevfs2-0
  libgnomevfs2-common libidl-common libidl0 libjs-highlight libjs-jquery-ui
  libjs-marked liborbit-2-0 liborbit2
Use 'apt-get autoremove' to remove them.
The following packages have been kept back:
  ffmpeg gir1.2-rb-3.0 gir1.2-totem-1.0 libavcodec-dev libavcodec54
  libavformat-dev libavformat54 libavutil-dev libavutil52 libcdt5 libcgraph6
  libcuda1-367 libgraphviz-dev libgvc6 libgvpr2 libpathplan4
  librhythmbox-core8 libswscale-dev libswscale2 libtotem-plparser18 libva1
  libxdot4 nvidia-367 nvidia-367-dev nvidia-opencl-icd-367 rhythmbox
  rhythmbox-data rhythmbox-mozilla rhythmbox-plugin-cdrecorder
  rhythmbox-plugin-magnatune rhythmbox-plugins totem totem-common
  totem-mozilla totem-plugins
0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.
/etc/apt/sources.list的内容如下

deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse

我想将安装升级到0.4.5或更高版本。有人能帮忙吗?

源代码列表不包括Bazel存储库,请参见如何添加它


一旦您这样做了,您应该能够使用apt-get-update&&apt-get-upgrade-bazel

Hi,您以前尝试过apt-get-update吗?如果它不起作用,你能发布你的/etc/apt/sources.list的内容吗?@DamienMartin guillerez是的,它没有帮助。内容已更新。
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse