2017-07-07 18 views
0

TensorFlow C++ APIをビルドする要件と一致しない古いバージョンのBazelがあります。以下は返品です$ bazel versionBazelを最新バージョンに更新できません

Build label: 0.3.2 
Build target: bazel-out/local-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar 
Build time: Fri Oct 7 17:25:10 2016 (1475861110) 
Build timestamp: 1475861110 
Build timestamp as int: 1475861110 

ただし、私はそれをアップグレードしようとすると何も新しいことはありません。

$ 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以上にインストールをアップグレードしたいと思います。誰かが助けることができますか?

+0

こんにちはを使用することができるはず追加する方法をご覧ください前に更新?うまくいかない場合、/etc/apt/sources.listの内容を投稿できますか? –

+0

@ DamienMartin-guillerezうん、それは助けにはならない。コンテンツが更新されます。 –

答えて

0

Bazelリポジトリが含まれていないソースリストを、あなたはapt-getを `実行しようとしました持っている、あなたはそれをやったら、on our installation instructions.

、あなたがapt-get update && apt-get upgrade bazel

関連する問題